-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into pr/xpert98/11375
- Loading branch information
Showing
324 changed files
with
1,505 additions
and
1,974 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
timeout-minutes: 3 | ||
steps: | ||
- uses: styfle/[email protected] | ||
- uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1 | ||
with: | ||
workflow_id: 'integration-tests.yml,k8s-testing.yml,unit-tests.yml' | ||
access_token: ${{ github.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,10 +32,10 @@ jobs: | |
os: debian | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
|
||
- name: Setup Minikube | ||
uses: manusa/[email protected] | ||
uses: manusa/actions-setup-minikube@0e8062ceff873bd77979f39cf8fd3621416afe4d # v2.13.0 | ||
with: | ||
minikube version: 'v1.33.1' | ||
kubernetes version: ${{ matrix.k8s }} | ||
|
@@ -48,7 +48,7 @@ jobs: | |
minikube status | ||
- name: Load images from artifacts | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
path: built-docker-image | ||
pattern: built-docker-image-* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
UML_FILES: ".puml" | ||
steps: | ||
- name: Checkout Source | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
persist-credentials: false | ||
|
||
|
@@ -33,7 +33,7 @@ jobs: | |
with: | ||
args: -v -tpng ${{ steps.getfile.outputs.files }} | ||
- name: Push Local Changes | ||
uses: stefanzweifel/[email protected] | ||
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | ||
with: | ||
commit_user_name: "PlantUML_bot" | ||
commit_user_email: "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
steps: | ||
|
||
- name: Checkout from_branch branch | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: ${{ github.event.inputs.from_branch }} | ||
|
||
|
@@ -45,7 +45,7 @@ jobs: | |
run: git push origin HEAD:${NEW_BRANCH} | ||
|
||
- name: Checkout release branch | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: ${{ env.NEW_BRANCH }} | ||
|
||
|
@@ -75,7 +75,7 @@ jobs: | |
grep -H version helm/defectdojo/Chart.yaml | ||
- name: Push version changes | ||
uses: stefanzweifel/[email protected] | ||
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | ||
with: | ||
commit_user_name: "${{ env.GIT_USERNAME }}" | ||
commit_user_email: "${{ env.GIT_EMAIL }}" | ||
|
@@ -88,7 +88,7 @@ jobs: | |
- name: Create Pull Request | ||
env: | ||
REPO_ORG: ${{ env.repoorg }} | ||
uses: actions/github-script@v7 | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
steps: | ||
|
||
- name: Checkout master | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: master | ||
|
||
|
@@ -38,7 +38,7 @@ jobs: | |
run: git push origin HEAD:${NEW_BRANCH} | ||
|
||
- name: Checkout new branch | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: ${{ env.NEW_BRANCH }} | ||
|
||
|
@@ -50,15 +50,11 @@ jobs: | |
CURRENT_CHART_VERSION=$(grep -oP 'version: (\K\S*)?' helm/defectdojo/Chart.yaml | head -1) | ||
sed -ri "0,/version/s/version: \S+/$(echo "version: $CURRENT_CHART_VERSION" | awk -F. -v OFS=. 'NF==1{print ++$NF}; NF>1{$NF=sprintf("%0*d", length($NF), ($NF+1)); print}')-dev/" helm/defectdojo/Chart.yaml | ||
- name: Update settings SHA | ||
run: sha256sum dojo/settings/settings.dist.py | cut -d ' ' -f1 > dojo/settings/.settings.dist.py.sha256sum | ||
|
||
- name: Check numbers | ||
run: | | ||
grep version dojo/__init__.py | ||
grep appVersion helm/defectdojo/Chart.yaml | ||
grep version components/package.json | ||
cat dojo/settings/.settings.dist.py.sha256sum | ||
- name: Create upgrade notes to documentation | ||
run: | | ||
|
@@ -77,7 +73,7 @@ jobs: | |
if: endsWith(github.event.inputs.release_number_new, '.0') && endsWith(github.event.inputs.release_number_dev, '.0-dev') | ||
|
||
- name: Push version changes | ||
uses: stefanzweifel/[email protected] | ||
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | ||
with: | ||
commit_user_name: "${{ env.GIT_USERNAME }}" | ||
commit_user_email: "${{ env.GIT_EMAIL }}" | ||
|
@@ -90,7 +86,7 @@ jobs: | |
- name: Create Pull Request | ||
env: | ||
REPO_ORG: ${{ env.repoorg }} | ||
uses: actions/github-script@v7 | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
|
@@ -107,7 +103,7 @@ jobs: | |
steps: | ||
|
||
- name: Checkout master | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: master | ||
|
||
|
@@ -124,7 +120,7 @@ jobs: | |
run: git push origin HEAD:${NEW_BRANCH} | ||
|
||
- name: Checkout new branch | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: ${{ env.NEW_BRANCH }} | ||
|
||
|
@@ -136,18 +132,14 @@ jobs: | |
CURRENT_CHART_VERSION=$(grep -oP 'version: (\K\S*)?' helm/defectdojo/Chart.yaml | head -1) | ||
sed -ri "0,/version/s/version: \S+/$(echo "version: $CURRENT_CHART_VERSION" | awk -F. -v OFS=. 'NF==1{print ++$NF}; NF>1{$NF=sprintf("%0*d", length($NF), ($NF+1)); print}')-dev/" helm/defectdojo/Chart.yaml | ||
- name: Update settings SHA | ||
run: sha256sum dojo/settings/settings.dist.py | cut -d ' ' -f1 > dojo/settings/.settings.dist.py.sha256sum | ||
|
||
- name: Check numbers | ||
run: | | ||
grep version dojo/__init__.py | ||
grep appVersion helm/defectdojo/Chart.yaml | ||
grep version components/package.json | ||
cat dojo/settings/.settings.dist.py.sha256sum | ||
- name: Push version changes | ||
uses: stefanzweifel/[email protected] | ||
uses: stefanzweifel/git-auto-commit-action@8621497c8c39c72f3e2a999a26b4ca1b5058a842 # v5.0.1 | ||
with: | ||
commit_user_name: "${{ env.GIT_USERNAME }}" | ||
commit_user_email: "${{ env.GIT_EMAIL }}" | ||
|
@@ -160,7 +152,7 @@ jobs: | |
- name: Create Pull Request | ||
env: | ||
REPO_ORG: ${{ env.repoorg }} | ||
uses: actions/github-script@v7 | ||
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
steps: | ||
- name: Create Release | ||
id: create_release | ||
uses: release-drafter/[email protected] | ||
uses: release-drafter/release-drafter@3f0f87098bd6b5c5b9a36d49c41d998ea58f9348 # v6.0.0 | ||
with: | ||
version: ${{ github.event.inputs.version }} | ||
env: | ||
|
@@ -47,13 +47,13 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Load OAS files from artifacts | ||
uses: actions/download-artifact@v4 | ||
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | ||
with: | ||
pattern: oas-* | ||
|
||
- name: Upload Release Asset - OpenAPI Specification - YAML | ||
id: upload-release-asset-yaml | ||
uses: actions/upload-release-asset@v1 | ||
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
@@ -64,7 +64,7 @@ jobs: | |
|
||
- name: Upload Release Asset - OpenAPI Specification - JSON | ||
id: upload-release-asset-json | ||
uses: actions/upload-release-asset@v1 | ||
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
|
Oops, something went wrong.