From 346dd631e8cff00217a6281d788c6041dac77422 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:56:01 +0200 Subject: [PATCH 01/70] Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/actions/pre-commit in the catch-all group (#759) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/pre-commit/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pre-commit/action.yml b/.github/actions/pre-commit/action.yml index 044167377..bebcb4053 100644 --- a/.github/actions/pre-commit/action.yml +++ b/.github/actions/pre-commit/action.yml @@ -26,7 +26,7 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 if: inputs.skip_checkout == 'false' env: REF_TO_CHECKOUT: ${{ inputs.auto-commit == 'true' && github.head_ref || '' }} From a094880a2f3e5edb5131af98ed0411d8093dc8e1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:56:17 +0200 Subject: [PATCH 02/70] Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/actions/dbp-charts/publish-chart in the catch-all group (#758) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index 68d6fbfcd..e0bb2f863 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -22,7 +22,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 - name: Get branch name From 695941f409eb59a4913159f6ca58082b389342dd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:57:03 +0200 Subject: [PATCH 03/70] Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/actions/helm-publish-chart in the catch-all group (#755) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/helm-publish-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index b315d4b50..307ca1c7c 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -40,7 +40,7 @@ runs: run: echo "CHECKOUT_PATH=$(uuidgen)" >> $GITHUB_ENV - name: Checkout charts repository - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: path: ${{ env.CHECKOUT_PATH }} repository: ${{ inputs.helm-charts-repo }} From 5057fb425f6551a272a958a957cbb6617d1090cf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:57:16 +0200 Subject: [PATCH 04/70] Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/actions/send-teams-notification in the catch-all group (#753) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/send-teams-notification/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/send-teams-notification/action.yml b/.github/actions/send-teams-notification/action.yml index 69f416729..4837379e4 100644 --- a/.github/actions/send-teams-notification/action.yml +++ b/.github/actions/send-teams-notification/action.yml @@ -58,7 +58,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Check workflow status uses: martialonline/workflow-status@fe13c6a4716673e224038aa1b02387352fb35e13 # v4 id: workflow_status_check From 1dd18d4e99d733ce4de766944ffc7de146f3e439 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:57:35 +0200 Subject: [PATCH 05/70] Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/actions/dbp-charts/verify-helm in the catch-all group (#752) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/verify-helm/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index 93f9a83c0..895c84b28 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -60,7 +60,7 @@ runs: steps: - name: Checkout if: inputs.skip_checkout == 'false' - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 From be7a8753344370021648c8352993a562a2ba4052 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:57:54 +0200 Subject: [PATCH 06/70] Bump actions/checkout from 4.1.7 to 4.2.0 (#751) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build-and-release-maven.yml | 4 ++-- .github/workflows/helm-publish-new-package-version.yml | 2 +- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/terraform.yml | 2 +- .github/workflows/test-with-bats.yml | 2 +- .github/workflows/test.yml | 4 ++-- .github/workflows/updatecli.yml | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index 1a437319b..a8182b910 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -64,7 +64,7 @@ jobs: name: "Build" runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.0 with: java-version: ${{ inputs.java-version }} @@ -104,7 +104,7 @@ jobs: needs: compute_release_conditions if: needs.compute_release_conditions.outputs.should_release == 'true' steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: persist-credentials: false - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.0 diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index 3c242e8a9..478c80d98 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -42,7 +42,7 @@ jobs: outputs: version: ${{ steps.next-release.outputs.next-prerelease }} steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - id: next-release name: Calculate next internal release diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index 479d46b4a..8a7883fbe 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -9,7 +9,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/.m2/repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13cac94f2..a3ffe8fda 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.merged == true steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 ref: master diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index be097502c..a26ad910b 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -81,7 +81,7 @@ jobs: PR_CHECKOUT_REF: refs/pull/${{ github.event.issue.number }}/merge steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: ref: ${{ github.event_name == 'issue_comment' && env.PR_CHECKOUT_REF || '' }} diff --git a/.github/workflows/test-with-bats.yml b/.github/workflows/test-with-bats.yml index 7df9a9117..19eb01e5b 100644 --- a/.github/workflows/test-with-bats.yml +++ b/.github/workflows/test-with-bats.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - uses: mig4/setup-bats@af9a00deb21b5d795cabfeaa8d9060410377686d # v1.2.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7099002ec..34cae24e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions @@ -21,7 +21,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 # - name: Manual test for send slack notification # uses: ./.github/actions/send-slack-notification # with: diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 17bc2ed0f..813e37d95 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -21,7 +21,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Build Matrix id: set-matrix @@ -38,7 +38,7 @@ jobs: matrix: file: ${{fromJson(needs.build-matrix-github-releases.outputs.matrix)}} steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - uses: updatecli/updatecli-action@6b8881a17fc8038e884ec94ff72a49e8e8a4069f # v2.67.0 - name: Run Updatecli From 9277a4c952a72039082178385aae0ef728e74ab9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:58:16 +0200 Subject: [PATCH 07/70] Bump actions/setup-java from 4.3.0 to 4.4.0 (#750) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index 8a7883fbe..4ee70500f 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -18,7 +18,7 @@ jobs: ${{ runner.os }}-maven- - name: Set up JDK 21 - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: java-version: '21' distribution: 'temurin' From 7babac8874d89c872712bbb31a559c73adf5ec20 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:58:34 +0200 Subject: [PATCH 08/70] Bump actions/checkout from 4.1.7 to 4.2.0 in /.github/actions/dbp-charts/verify-compose in the catch-all group (#748) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/verify-compose/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/verify-compose/action.yml b/.github/actions/dbp-charts/verify-compose/action.yml index 2a08aff42..19980320d 100644 --- a/.github/actions/dbp-charts/verify-compose/action.yml +++ b/.github/actions/dbp-charts/verify-compose/action.yml @@ -26,7 +26,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: fetch-depth: 0 - if: ${{ inputs.quay_username != '' && inputs.quay_password != '' }} From fb3413b14f1455a853051ceacd7b5fe513689e18 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:58:47 +0200 Subject: [PATCH 09/70] Bump actions/setup-java from 4.3.0 to 4.4.0 in /.github/actions/setup-java-build in the catch-all group (#747) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/setup-java-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-java-build/action.yml b/.github/actions/setup-java-build/action.yml index 06da6b33c..d4bcd9f9c 100644 --- a/.github/actions/setup-java-build/action.yml +++ b/.github/actions/setup-java-build/action.yml @@ -35,7 +35,7 @@ runs: cp ${{ github.action_path }}/settings.xml $HOME/.m2/settings.xml fi - name: "Set up Java" - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: java-version: ${{ inputs.java-version }} distribution: ${{ inputs.java-distribution }} From d2ff0e167553742260b944efbc68a0dbce01ab1a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 10:00:57 +0200 Subject: [PATCH 10/70] Bump pipenv from 2024.0.1 to 2024.1.0 in /.github/actions/pipenv (#760) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/pipenv/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pipenv/requirements.txt b/.github/actions/pipenv/requirements.txt index 34b9e5c44..ed06e21d2 100644 --- a/.github/actions/pipenv/requirements.txt +++ b/.github/actions/pipenv/requirements.txt @@ -1 +1 @@ -pipenv==2024.0.1 +pipenv==2024.1.0 From 127527875ebe286bacf97ada9422ea675da8bbcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:56:10 +0200 Subject: [PATCH 11/70] Bump the catch-all group in /.github/actions/maven-build-and-tag with 2 updates (#757) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-build-and-tag/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index f9de2e1d2..1923c0bb4 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -91,7 +91,7 @@ outputs: runs: using: composite steps: - - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: @@ -101,7 +101,7 @@ runs: ${{ runner.os }}-maven- - name: Set up JDK - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: java-version: ${{ inputs.java-version }} distribution: ${{ inputs.java-distribution }} From 4e14bd2b6bee21cc56ed90b1ac81b23065b8fda9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:56:24 +0200 Subject: [PATCH 12/70] Bump the catch-all group in /.github/actions/maven-release with 2 updates (#756) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-release/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index 8f7056a84..1246abfb8 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -68,7 +68,7 @@ runs: echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV - name: Checkout ${{ inputs.repo }} - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: repository: '${{ inputs.repo }}' ref: ${{ inputs.base-ref }} @@ -83,7 +83,7 @@ runs: - name: Set up JDK if: steps.check-tag.outputs.exists == 'false' - uses: actions/setup-java@2dfa2011c5b2a0f1489bf9e433881c92c1631f88 # v4.3.0 + uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 with: java-version: ${{ inputs.java-version }} distribution: ${{ inputs.java-distribution }} From b156c8c48f8f19a34607bbe93da16254d958982b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:56:44 +0200 Subject: [PATCH 13/70] Bump the catch-all group in /.github/actions/docker-build-image with 2 updates (#754) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index 98a967b14..3f1484f91 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -117,7 +117,7 @@ runs: - name: Build image ${{ env.IMAGE_NAME }} and export to docker if: inputs.grype-scan-enabled == 'true' - uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0 + uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960 # v6.8.0 with: context: ${{ inputs.base-directory }}/${{ inputs.image-dir }} tags: test-${{ env.IMAGE_NAME }} @@ -141,7 +141,7 @@ runs: - name: Upload SARIF Files if: always() && inputs.grype-scan-enabled == 'true' && github.event_name == 'push' - uses: github/codeql-action/upload-sarif@294a9d92911152fe08befb9ec03e240add280cb3 # v3.26.8 + uses: github/codeql-action/upload-sarif@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9 continue-on-error: true # do not fail if GHAS is not enabled with: sarif_file: ${{ steps.scan.outputs.sarif }} @@ -199,7 +199,7 @@ runs: - name: Build and Push image ${{ env.IMAGE_NAME }} id: build-and-push if: env.PUSH_IMAGE == 'true' - uses: docker/build-push-action@5cd11c3a4ced054e52742c5fd54dca954e0edd85 # v6.7.0 + uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960 # v6.8.0 with: context: ${{ inputs.base-directory }}/${{ inputs.image-dir }} platforms: linux/amd64,linux/arm64/v8 From b8366077997b2e11c020451745a4bbcef5b0248e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 15:57:28 +0200 Subject: [PATCH 14/70] Bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.12 to 3.0.13 (#749) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34cae24e3..38c2b3e13 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@0901cf7b71c7ea6261ec69a3dc2bd3f9264f893e # v3.0.12 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b8f9a25a51fe633d9215ac7734854dc11cd299cb # v3.0.13 with: allowlist: | Alfresco/alfresco-build-tools/ From 30177f826ee710913d9bda0b4302b5cad4e6fd69 Mon Sep 17 00:00:00 2001 From: Alex Chapellon Date: Thu, 3 Oct 2024 17:13:55 +0200 Subject: [PATCH 15/70] OPSEXP-2801: refactor and bugfix of dbp-charts/verify-compose action (#761) --- .../verify-compose/docker_compose.sh | 73 ++++++++++--------- version.txt | 2 +- 2 files changed, 39 insertions(+), 36 deletions(-) diff --git a/.github/actions/dbp-charts/verify-compose/docker_compose.sh b/.github/actions/dbp-charts/verify-compose/docker_compose.sh index 898c85d13..493c3a991 100755 --- a/.github/actions/dbp-charts/verify-compose/docker_compose.sh +++ b/.github/actions/dbp-charts/verify-compose/docker_compose.sh @@ -5,6 +5,26 @@ COMPOSE_PATH=$(dirname $COMPOSE_FILE_PATH) COMPOSE_BIN="docker compose" alf_port=8080 +dump_all_compose_logs() { + echo "Dumping logs for all containers" + $COMPOSE_BIN -f "${COMPOSE_FILE}" logs --no-color + exit 1 +} + +wait_result() { + COMPONENT=$1 + if (("${COUNTER}" < "${TIMEOUT}")); then + t1=$(date +%s) + delta=$(((t1 - t0) / 60)) + echo "$COMPONENT Started in ${delta} minutes" + else + echo "Waited ${COUNTER} seconds" + echo "$COMPONENT could not start in time." + echo "The last response code was ${response}" + dump_all_compose_logs + fi +} + cd "$COMPOSE_PATH" || { echo "Error: docker compose dir not found" exit 1 @@ -13,7 +33,7 @@ docker info $COMPOSE_BIN version $COMPOSE_BIN -f "${COMPOSE_FILE}" config echo "Starting Alfresco in docker compose" -$COMPOSE_BIN ps +$COMPOSE_BIN -f "${COMPOSE_FILE}" ps if [ "$COMPOSE_PULL" = "true" ]; then $COMPOSE_BIN -f "${COMPOSE_FILE}" pull --quiet fi @@ -32,16 +52,7 @@ until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do COUNTER=$((COUNTER + WAIT_INTERVAL)) response=$(curl --write-out '%{http_code}' --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/ || true) done -if (("${COUNTER}" < "${TIMEOUT}")); then - t1=$(date +%s) - delta=$(((t1 - t0) / 60)) - echo "Alfresco Started in ${delta} minutes" -else - echo "Waited ${COUNTER} seconds" - echo "Alfresco could not start in time." - echo "The last response code from /alfresco/ was ${response}" - exit 1 -fi +wait_result Alfresco COUNTER=0 echo "Waiting for share to start" @@ -52,33 +63,25 @@ until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do COUNTER=$((COUNTER + WAIT_INTERVAL)) response=$(curl --write-out '%{http_code}' --output /dev/null --silent http://localhost:8080/share/page || true) done -if (("${COUNTER}" < "${TIMEOUT}")); then - t1=$(date +%s) - delta=$(((t1 - t0) / 60)) - echo "Share Started in ${delta} minutes" -else - echo "Waited ${COUNTER} seconds" - echo "Share could not start in time." - echo "The last response code from /share/ was ${response}" - exit 1 -fi +wait_result Share + +if [ $($COMPOSE_BIN -f "${COMPOSE_FILE}" config | yq '.services.alfresco.environment.JAVA_OPTS | contains(" -Dindex.subsystem.name=solr6")') == "true" ]; then echo "Waiting more time for SOLR" + COUNTER=0 + TIMEOUT=20 -COUNTER=0 -TIMEOUT=20 -echo "Waiting more time for SOLR" -response=$(curl --write-out '%{http_code}' --user admin:admin --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/s/api/solrstats || true) -until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do - printf '.' - sleep "${WAIT_INTERVAL}" - COUNTER=$((COUNTER + WAIT_INTERVAL)) response=$(curl --write-out '%{http_code}' --user admin:admin --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/s/api/solrstats || true) -done + until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do + printf '.' + sleep "${WAIT_INTERVAL}" + COUNTER=$((COUNTER + WAIT_INTERVAL)) + response=$(curl --write-out '%{http_code}' --user admin:admin --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/s/api/solrstats || true) + done + wait_result Solr +fi cd .. docker run -a STDOUT --volume "${PWD}"/test/postman/docker-compose:/etc/newman --network host postman/newman:5.3 run "acs-test-docker-compose-collection.json" --global-var "protocol=http" --global-var "url=localhost:8080" + retVal=$? -if [ "${retVal}" -ne 0 ]; then - # show logs - $COMPOSE_BIN logs --no-color - exit 1 -fi + +[ "${retVal}" -eq 0 ] && echo "Postman tests were successful" || dump_all_compose_logs diff --git a/version.txt b/version.txt index 2d88a61ba..4b85a6c11 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v7.1.0 +v7.1.1 From 21fb2cdff9e78dae9d11604252d778c2f1af8a43 Mon Sep 17 00:00:00 2001 From: alxgomz Date: Thu, 3 Oct 2024 15:14:10 +0000 Subject: [PATCH 16/70] Release v7.1.1 --- .../actions/calculate-next-internal-version/action.yml | 2 +- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- .github/actions/dbp-charts/verify-helm/action.yml | 8 ++++---- .github/actions/enforce-pr-conventions/action.yml | 2 +- .github/actions/get-build-info/action.yml | 2 +- .github/actions/github-check-upcoming-runs/action.yml | 2 +- .github/actions/github-deployment-create/action.yml | 2 +- .github/actions/helm-integration-tests/action.yml | 2 +- .github/actions/helm-publish-chart/action.yml | 2 +- .github/actions/helm-release-and-publish/action.yml | 10 +++++----- .github/actions/helm-update-chart-version/action.yml | 2 +- .github/actions/maven-build-and-tag/action.yml | 4 ++-- .github/actions/maven-release/action.yml | 4 ++-- .github/actions/reportportal-prepare/action.yml | 2 +- .../send-slack-notification-slow-job/action.yml | 2 +- .github/actions/send-slack-notification/action.yml | 2 +- .github/actions/setup-helm-docs/action.yml | 2 +- .github/actions/setup-jx-release-version/action.yml | 2 +- .github/actions/setup-terraform-docs/action.yml | 2 +- .../actions/update-pom-to-next-pre-release/action.yml | 4 ++-- .github/workflows/build-and-release-maven.yml | 6 +++--- .github/workflows/helm-publish-new-package-version.yml | 10 +++++----- .github/workflows/terraform.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 6fcd9f032..b5f5e7429 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v7.1.1 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh shell: bash diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index e0bb2f863..cd341ef68 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -26,7 +26,7 @@ runs: with: fetch-depth: 0 - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: Publish run: ${{ github.action_path }}/publish_chart.sh shell: bash diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index 895c84b28..f2052c17d 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -85,14 +85,14 @@ runs: password: ${{ inputs.docker_password }} - name: Get branch name uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v7.1.0 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v7.1.1 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v7.1.0 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v7.1.1 with: branch_name: ${{ env.BRANCH_NAME }} release_prefix: ${{ inputs.release_prefix }} @@ -111,7 +111,7 @@ runs: - name: Upload helm deployments logs as artifacts if: always() uses: >- - Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v7.1.0 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v7.1.1 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/enforce-pr-conventions/action.yml b/.github/actions/enforce-pr-conventions/action.yml index 5e161b776..813b41065 100644 --- a/.github/actions/enforce-pr-conventions/action.yml +++ b/.github/actions/enforce-pr-conventions/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: Check is Dependabot PR or Propagation PR id: check diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index 7cd83c621..3364d02f0 100644 --- a/.github/actions/get-build-info/action.yml +++ b/.github/actions/get-build-info/action.yml @@ -3,7 +3,7 @@ description: "Get build-related info from GitHub and load it as generically name runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/github-check-upcoming-runs/action.yml b/.github/actions/github-check-upcoming-runs/action.yml index 99fa9934c..78ab68295 100644 --- a/.github/actions/github-check-upcoming-runs/action.yml +++ b/.github/actions/github-check-upcoming-runs/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: Check upcoming runs id: check diff --git a/.github/actions/github-deployment-create/action.yml b/.github/actions/github-deployment-create/action.yml index 3c5d84138..0e58c5f42 100644 --- a/.github/actions/github-deployment-create/action.yml +++ b/.github/actions/github-deployment-create/action.yml @@ -40,7 +40,7 @@ runs: - name: Update Deployment State if: ${{ inputs.state != '' }} - uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v7.1.1 with: github-token: ${{ inputs.github-token }} deployment-id: ${{ steps.create.outputs.id }} diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index 20d453899..f1ebc1d06 100644 --- a/.github/actions/helm-integration-tests/action.yml +++ b/.github/actions/helm-integration-tests/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: Setup rancher - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v7.1.1 with: url: ${{ inputs.test-rancher-url }} access-key: ${{ inputs.test-rancher-access-key }} diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index 307ca1c7c..85b16bde2 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -110,7 +110,7 @@ runs: fi - name: Commit changes - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 with: username: ${{ inputs.git-username }} add-options: . diff --git a/.github/actions/helm-release-and-publish/action.yml b/.github/actions/helm-release-and-publish/action.yml index 2646452e7..4ee9a1ef8 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -47,7 +47,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.1.1 id: check-tag with: tag: ${{ env.VERSION }} @@ -55,14 +55,14 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.1.1 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -79,7 +79,7 @@ runs: - name: Package Helm Chart if: steps.check-tag.outputs.exists == 'false' id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.1.1 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -92,7 +92,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.1.1 with: helm-charts-repo: ${{inputs.helm-repository}} helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} diff --git a/.github/actions/helm-update-chart-version/action.yml b/.github/actions/helm-update-chart-version/action.yml index f5cc9e24b..76a637a1a 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -16,7 +16,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v7.1.1 with: version: ${{ inputs.helm-docs-version }} - name: Update version diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 1923c0bb4..383ceb33e 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -160,7 +160,7 @@ runs: - name: Update pom files to the new version id: update-pom-to-next-version if: github.event_name == 'push' || env.IS_PREVIEW == 'true' - uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v7.1.1 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -256,7 +256,7 @@ runs: shell: bash run: find . -name TEST-*.xml -exec grep -h testcase {} \; | awk -F '"' '{printf("%s#%s() - %.3fms\n", $4, $2, $6); }' | sort -n -k 3 | tail -20 - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 if: github.event_name == 'push' with: username: ${{ inputs.git-username }} diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index 1246abfb8..46989d4e1 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -75,7 +75,7 @@ runs: path: '${{ env.REPO_DIR }}' token: ${{ inputs.github-token }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.1.1 id: check-tag with: tag: ${{ env.RELEASE_VERSION }} @@ -147,7 +147,7 @@ runs: - name: Commit changes if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 with: username: ${{ inputs.git-username }} add-options: -u diff --git a/.github/actions/reportportal-prepare/action.yml b/.github/actions/reportportal-prepare/action.yml index 58727b072..d1d2d7e59 100644 --- a/.github/actions/reportportal-prepare/action.yml +++ b/.github/actions/reportportal-prepare/action.yml @@ -46,7 +46,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: Compute Report Portal input info id: info diff --git a/.github/actions/send-slack-notification-slow-job/action.yml b/.github/actions/send-slack-notification-slow-job/action.yml index 0b3a82e4c..1b7898021 100644 --- a/.github/actions/send-slack-notification-slow-job/action.yml +++ b/.github/actions/send-slack-notification-slow-job/action.yml @@ -25,7 +25,7 @@ runs: - name: Slack Notification if: fromJSON(steps.fetch_time.outputs.total_time) > fromJSON(inputs.max-build-time-seconds) - uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v7.1.1 with: channel-id: ${{ inputs.slack-channel }} message: 'Max build time exceeded: took ${{ steps.fetch_time.outputs.total_time }} seconds (expected max: ${{ inputs.max-build-time-seconds }} seconds)' diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index 81da2c5c5..35d2a69d6 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -109,7 +109,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 - name: Send slack notification id: slack diff --git a/.github/actions/setup-helm-docs/action.yml b/.github/actions/setup-helm-docs/action.yml index 9264f1c53..f42f340a4 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -11,7 +11,7 @@ outputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.1 with: repo: norwoodj/helm-docs version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index f89bf61a7..19036338e 100644 --- a/.github/actions/setup-jx-release-version/action.yml +++ b/.github/actions/setup-jx-release-version/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.1 with: repo: jenkins-x-plugins/jx-release-version version: ${{ inputs.version }} diff --git a/.github/actions/setup-terraform-docs/action.yml b/.github/actions/setup-terraform-docs/action.yml index 0cc7e7f3a..58983641e 100644 --- a/.github/actions/setup-terraform-docs/action.yml +++ b/.github/actions/setup-terraform-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.1 with: repo: terraform-docs/terraform-docs version: ${{ inputs.version }} diff --git a/.github/actions/update-pom-to-next-pre-release/action.yml b/.github/actions/update-pom-to-next-pre-release/action.yml index 0394eebf8..f25e7fad9 100644 --- a/.github/actions/update-pom-to-next-pre-release/action.yml +++ b/.github/actions/update-pom-to-next-pre-release/action.yml @@ -33,7 +33,7 @@ runs: - id: next-prerelease-resolver name: Calculate next internal release if: inputs.version == '' - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.1.1 with: next-version: ${{ steps.parse-next-final-version.outputs.result }} prerelease-type: ${{ inputs.prerelease-type }} @@ -50,7 +50,7 @@ runs: fi - name: Update pom files to the new version - uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v7.1.1 with: version: ${{ steps.resolve-version.outputs.version }} maven-cli-opts: ${{ inputs.maven-cli-opts }} diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index a8182b910..ec727677b 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.1 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.1 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.1.1 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} email: ${{ secrets.BOT_GITHUB_EMAIL }} diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index 478c80d98..f243d22bb 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -46,7 +46,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.1.1 with: next-version: ${{ inputs.next-version }} @@ -57,13 +57,13 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.1.1 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -74,7 +74,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.1.1 with: chart-dir: ${{ inputs.chart-dir }} @@ -82,7 +82,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.1.1 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index a26ad910b..f31e93be4 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -94,7 +94,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v7.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v7.1.1 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml From a44d8acefe29c11064ddf2289bf6147cf3777175 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:16:21 +0200 Subject: [PATCH 17/70] Bump the catch-all group in /.github/actions/docker-build-image with 3 updates (#767) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index 3f1484f91..c6a302796 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -101,7 +101,7 @@ runs: uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@988b5a0280414f521da01fcc63a27aeeb4b104db # v3.6.1 + uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 with: version: v0.11.0 # apply fix from https://github.com/moby/buildkit/issues/3969 @@ -117,7 +117,7 @@ runs: - name: Build image ${{ env.IMAGE_NAME }} and export to docker if: inputs.grype-scan-enabled == 'true' - uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960 # v6.8.0 + uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0 with: context: ${{ inputs.base-directory }}/${{ inputs.image-dir }} tags: test-${{ env.IMAGE_NAME }} @@ -141,7 +141,7 @@ runs: - name: Upload SARIF Files if: always() && inputs.grype-scan-enabled == 'true' && github.event_name == 'push' - uses: github/codeql-action/upload-sarif@461ef6c76dfe95d5c364de2f431ddbd31a417628 # v3.26.9 + uses: github/codeql-action/upload-sarif@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11 continue-on-error: true # do not fail if GHAS is not enabled with: sarif_file: ${{ steps.scan.outputs.sarif }} @@ -199,7 +199,7 @@ runs: - name: Build and Push image ${{ env.IMAGE_NAME }} id: build-and-push if: env.PUSH_IMAGE == 'true' - uses: docker/build-push-action@32945a339266b759abcbdc89316275140b0fc960 # v6.8.0 + uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0 with: context: ${{ inputs.base-directory }}/${{ inputs.image-dir }} platforms: linux/amd64,linux/arm64/v8 From 2bf0bbc84a1ba71e78996caaf00a4e85d6c31fda Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:16:49 +0200 Subject: [PATCH 18/70] Bump actions/cache from 4.0.2 to 4.1.0 in /.github/actions/setup-java-build in the catch-all group (#766) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/setup-java-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-java-build/action.yml b/.github/actions/setup-java-build/action.yml index d4bcd9f9c..c9bf48460 100644 --- a/.github/actions/setup-java-build/action.yml +++ b/.github/actions/setup-java-build/action.yml @@ -17,7 +17,7 @@ runs: using: composite steps: - name: "Cache local Maven repository" - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 4085903d993337f9478d0745382b24f75cb9cc03 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:17:02 +0200 Subject: [PATCH 19/70] Bump actions/cache from 4.0.2 to 4.1.0 in /.github/actions/maven-build-and-tag in the catch-all group (#765) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-build-and-tag/action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 383ceb33e..380e9308a 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -93,7 +93,7 @@ runs: steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + - uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -147,7 +147,7 @@ runs: echo "MAVEN_BUILD_CACHE_ENABLED=$MAVEN_BUILD_CACHE_ENABLED" >> $GITHUB_ENV echo "MAVEN_BUILD_CACHE_KEY=$MAVEN_BUILD_CACHE_KEY" >> $GITHUB_ENV - - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + - uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 name: Restore Maven Build Cache before build if: env.MAVEN_BUILD_CACHE_ENABLED == 'true' with: @@ -286,14 +286,14 @@ runs: rm -fr ~/.m2/repository/com/alfresco - name: Save maven cache - uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 if: github.event_name == 'push' || env.IS_PREVIEW == 'true' with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - name: Save maven build cache on push - uses: actions/cache/save@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 if: env.MAVEN_BUILD_CACHE_ENABLED == 'true' with: path: ~/.m2/build-cache From 39b1c9eb88c04e16fb3d0abcf902bdc4b54d72a9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:17:28 +0200 Subject: [PATCH 20/70] Bump updatecli/updatecli-action from 2.67.0 to 2.68.0 (#763) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/updatecli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 813e37d95..3817b4d65 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -39,7 +39,7 @@ jobs: file: ${{fromJson(needs.build-matrix-github-releases.outputs.matrix)}} steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: updatecli/updatecli-action@6b8881a17fc8038e884ec94ff72a49e8e8a4069f # v2.67.0 + - uses: updatecli/updatecli-action@92a13b95c2cd9f1c6742c965509203c6a5635ed7 # v2.68.0 - name: Run Updatecli run: updatecli apply -c .updatecli/templates/github_releases.yaml -v .updatecli/values/github_releases/${{ matrix.file }} From 5646611744eed24839e71cad4594ca623e9e9c37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:17:40 +0200 Subject: [PATCH 21/70] Bump actions/cache from 4.0.2 to 4.1.0 (#762) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index 4ee70500f..bbc6558dc 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/cache/restore@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 + - uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From b578752e970506f25011fe9a37ec3698eefa8271 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 10:18:37 +0200 Subject: [PATCH 22/70] Bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.13 to 3.0.14 (#764) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 38c2b3e13..567657b79 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b8f9a25a51fe633d9215ac7734854dc11cd299cb # v3.0.13 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40ba2d51b6b6d8695f2b6bd74e785172d4f8d00f # v3.0.14 with: allowlist: | Alfresco/alfresco-build-tools/ From 184097eac2a690752d894409d83ee084c7c45106 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:13 +0200 Subject: [PATCH 23/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/dbp-charts/verify-helm in the catch-all group (#782) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/verify-helm/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index f2052c17d..04b3a3fac 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -60,7 +60,7 @@ runs: steps: - name: Checkout if: inputs.skip_checkout == 'false' - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 From fd305ff7d8331ed92474dbaad22e09fa21834688 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:16 +0200 Subject: [PATCH 24/70] Bump the catch-all group in /.github/actions/docker-build-image with 2 updates (#781) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index c6a302796..da04d1ae0 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -126,7 +126,7 @@ runs: - name: Anchore Scan API Image if: inputs.grype-scan-enabled == 'true' - uses: anchore/scan-action@64a33b277ea7a1215a3c142735a1091341939ff5 # v4.1.2 + uses: anchore/scan-action@4e08a16a68fb1b35d2fca00f0607db0b5b5120a7 # v5.0.0 id: scan with: fail-build: ${{ inputs.grype-fail-build }} @@ -141,7 +141,7 @@ runs: - name: Upload SARIF Files if: always() && inputs.grype-scan-enabled == 'true' && github.event_name == 'push' - uses: github/codeql-action/upload-sarif@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11 + uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 continue-on-error: true # do not fail if GHAS is not enabled with: sarif_file: ${{ steps.scan.outputs.sarif }} From 99a52f5b6f7518060fa971e50e1c150cd1a88169 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:19 +0200 Subject: [PATCH 25/70] Bump actions/upload-artifact from 4.4.0 to 4.4.3 in /.github/actions/helm-package-chart in the catch-all group (#780) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/helm-package-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/helm-package-chart/action.yml b/.github/actions/helm-package-chart/action.yml index a2420b696..d0730be0a 100644 --- a/.github/actions/helm-package-chart/action.yml +++ b/.github/actions/helm-package-chart/action.yml @@ -42,7 +42,7 @@ runs: echo "package-file-path=$PACKAGE_FILE_PATH" >> $GITHUB_OUTPUT - name: Upload Artifact - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: name: ${{steps.package.outputs.package-file}} path: ${{steps.package.outputs.package-file-path}} From b9cfa29eb3d299e3e3ac0b5dbcffc509cbf5951c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:22 +0200 Subject: [PATCH 26/70] Bump the catch-all group in /.github/actions/maven-build-and-tag with 3 updates (#779) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-build-and-tag/action.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 380e9308a..167377c87 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -91,9 +91,9 @@ outputs: runs: using: composite steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - - uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -147,7 +147,7 @@ runs: echo "MAVEN_BUILD_CACHE_ENABLED=$MAVEN_BUILD_CACHE_ENABLED" >> $GITHUB_ENV echo "MAVEN_BUILD_CACHE_KEY=$MAVEN_BUILD_CACHE_KEY" >> $GITHUB_ENV - - uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 name: Restore Maven Build Cache before build if: env.MAVEN_BUILD_CACHE_ENABLED == 'true' with: @@ -236,7 +236,7 @@ runs: run: docker rm -f $(docker ps -a -q) continue-on-error: true - - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 if: inputs.upload-jars == 'true' with: name: ${{ inputs.upload-jars-name }} @@ -244,7 +244,7 @@ runs: path: | ${{ inputs.upload-jars-path }} - - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + - uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 if: inputs.upload-coverage == 'true' with: name: coverage @@ -286,14 +286,14 @@ runs: rm -fr ~/.m2/repository/com/alfresco - name: Save maven cache - uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + uses: actions/cache/save@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 if: github.event_name == 'push' || env.IS_PREVIEW == 'true' with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - name: Save maven build cache on push - uses: actions/cache/save@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + uses: actions/cache/save@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 if: env.MAVEN_BUILD_CACHE_ENABLED == 'true' with: path: ~/.m2/build-cache From 5eab34c328b7634aff1dd5c8a9e646d559aff149 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:24 +0200 Subject: [PATCH 27/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/send-teams-notification in the catch-all group (#778) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/send-teams-notification/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/send-teams-notification/action.yml b/.github/actions/send-teams-notification/action.yml index 4837379e4..14642f711 100644 --- a/.github/actions/send-teams-notification/action.yml +++ b/.github/actions/send-teams-notification/action.yml @@ -58,7 +58,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Check workflow status uses: martialonline/workflow-status@fe13c6a4716673e224038aa1b02387352fb35e13 # v4 id: workflow_status_check From dadd5cea8782ab3bace4b2703467b3367c5a6329 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:27 +0200 Subject: [PATCH 28/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/dbp-charts/verify-compose in the catch-all group (#777) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/verify-compose/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/verify-compose/action.yml b/.github/actions/dbp-charts/verify-compose/action.yml index 19980320d..b0355cfb1 100644 --- a/.github/actions/dbp-charts/verify-compose/action.yml +++ b/.github/actions/dbp-charts/verify-compose/action.yml @@ -26,7 +26,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - if: ${{ inputs.quay_username != '' && inputs.quay_password != '' }} From f9c5df5767561835625752079116e3389836eb74 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:29 +0200 Subject: [PATCH 29/70] Bump actions/cache from 4.1.0 to 4.1.1 (#776) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index bbc6558dc..b3eeadb2c 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - uses: actions/cache/restore@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From c01449e2c61eca1917ca6009b063d89f76b8a719 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:33 +0200 Subject: [PATCH 30/70] Bump actions/upload-artifact from 4.4.0 to 4.4.3 in /.github/actions/kubectl-keep-nslogs in the catch-all group (#774) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/kubectl-keep-nslogs/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/kubectl-keep-nslogs/action.yml b/.github/actions/kubectl-keep-nslogs/action.yml index 28df8cb46..06a1fbf9d 100644 --- a/.github/actions/kubectl-keep-nslogs/action.yml +++ b/.github/actions/kubectl-keep-nslogs/action.yml @@ -34,7 +34,7 @@ runs: done done - name: upload kubernetes logs as artifact - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: name: >- ${{ inputs.namespace }}_logs.${{ github.run_number }}.${{ github.run_attempt }} From 924f5671aeb94ef2ce8e5608755f4e3755409625 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:36 +0200 Subject: [PATCH 31/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/helm-publish-chart in the catch-all group (#773) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/helm-publish-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index 85b16bde2..6ca86407e 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -40,7 +40,7 @@ runs: run: echo "CHECKOUT_PATH=$(uuidgen)" >> $GITHUB_ENV - name: Checkout charts repository - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: path: ${{ env.CHECKOUT_PATH }} repository: ${{ inputs.helm-charts-repo }} From 33808a0eebae937368d401b8e6f9750121aacd7b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:38 +0200 Subject: [PATCH 32/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/pre-commit in the catch-all group (#772) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/pre-commit/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pre-commit/action.yml b/.github/actions/pre-commit/action.yml index bebcb4053..fa4032995 100644 --- a/.github/actions/pre-commit/action.yml +++ b/.github/actions/pre-commit/action.yml @@ -26,7 +26,7 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 if: inputs.skip_checkout == 'false' env: REF_TO_CHECKOUT: ${{ inputs.auto-commit == 'true' && github.head_ref || '' }} From 734623564517d635e4317d9ad91fd84b7966b6c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:41 +0200 Subject: [PATCH 33/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/dbp-charts/publish-chart in the catch-all group (#771) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index cd341ef68..96c0b2538 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -22,7 +22,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 - name: Get branch name From 9dcf757cafa46ba2f0189d1b6d070ca7cc4505d9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:43 +0200 Subject: [PATCH 34/70] Bump actions/cache from 4.1.0 to 4.1.1 in /.github/actions/setup-java-build in the catch-all group (#770) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/setup-java-build/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/setup-java-build/action.yml b/.github/actions/setup-java-build/action.yml index c9bf48460..abae003e4 100644 --- a/.github/actions/setup-java-build/action.yml +++ b/.github/actions/setup-java-build/action.yml @@ -17,7 +17,7 @@ runs: using: composite steps: - name: "Cache local Maven repository" - uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0 + uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 207ff812f4380de1de2009ae193dbc52324368c0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:46 +0200 Subject: [PATCH 35/70] Bump actions/upload-artifact from 4.4.0 to 4.4.3 in /.github/actions/docker-dump-containers-logs in the catch-all group (#769) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-dump-containers-logs/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/docker-dump-containers-logs/action.yml b/.github/actions/docker-dump-containers-logs/action.yml index 11455fba7..7269056ad 100644 --- a/.github/actions/docker-dump-containers-logs/action.yml +++ b/.github/actions/docker-dump-containers-logs/action.yml @@ -26,7 +26,7 @@ runs: echo "artefactName=${{ inputs.output-archive-name }}" >> $GITHUB_ENV fi - name: "Upload archive containing all *.log files" - uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0 + uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 with: path: logs.tar.gz name: ${{ env.artefactName }} From 98fa1711d888e2f4c211e572fa31be581c6d4bdd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:11:48 +0200 Subject: [PATCH 36/70] Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/actions/maven-release in the catch-all group (#768) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-release/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index 46989d4e1..2414175a9 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -68,7 +68,7 @@ runs: echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV - name: Checkout ${{ inputs.repo }} - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: repository: '${{ inputs.repo }}' ref: ${{ inputs.base-ref }} From 34415457137e98f73f6759533122ca3f2042894c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:16:37 +0200 Subject: [PATCH 37/70] Bump actions/checkout from 4.2.0 to 4.2.1 (#775) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Giovanni Toraldo <71768+gionn@users.noreply.github.com> --- .github/workflows/build-and-release-maven.yml | 4 ++-- .github/workflows/helm-publish-new-package-version.yml | 2 +- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/terraform.yml | 2 +- .github/workflows/test-with-bats.yml | 2 +- .github/workflows/test.yml | 4 ++-- .github/workflows/updatecli.yml | 5 +++-- 8 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index ec727677b..7a0a435f8 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -64,7 +64,7 @@ jobs: name: "Build" runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.1 with: java-version: ${{ inputs.java-version }} @@ -104,7 +104,7 @@ jobs: needs: compute_release_conditions if: needs.compute_release_conditions.outputs.should_release == 'true' steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.1 diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index f243d22bb..094c8a717 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -42,7 +42,7 @@ jobs: outputs: version: ${{ steps.next-release.outputs.next-prerelease }} steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - id: next-release name: Calculate next internal release diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index b3eeadb2c..a8ee25f94 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -9,7 +9,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 with: path: ~/.m2/repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a3ffe8fda..6290ede98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.merged == true steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 ref: master diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index f31e93be4..faa42cc76 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -81,7 +81,7 @@ jobs: PR_CHECKOUT_REF: refs/pull/${{ github.event.issue.number }}/merge steps: - name: Checkout - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: ref: ${{ github.event_name == 'issue_comment' && env.PR_CHECKOUT_REF || '' }} diff --git a/.github/workflows/test-with-bats.yml b/.github/workflows/test-with-bats.yml index 19eb01e5b..14baf0256 100644 --- a/.github/workflows/test-with-bats.yml +++ b/.github/workflows/test-with-bats.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: mig4/setup-bats@af9a00deb21b5d795cabfeaa8d9060410377686d # v1.2.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 567657b79..3329a0093 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions @@ -21,7 +21,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 # - name: Manual test for send slack notification # uses: ./.github/actions/send-slack-notification # with: diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 3817b4d65..e62d11e68 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -18,10 +18,11 @@ permissions: jobs: build-matrix-github-releases: runs-on: ubuntu-latest + if: github.actor != 'dependabot[bot]' outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - name: Build Matrix id: set-matrix @@ -38,7 +39,7 @@ jobs: matrix: file: ${{fromJson(needs.build-matrix-github-releases.outputs.matrix)}} steps: - - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 + - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - uses: updatecli/updatecli-action@92a13b95c2cd9f1c6742c965509203c6a5635ed7 # v2.68.0 - name: Run Updatecli From 54c31daa5fbb149328b896133fa6d354f74bf369 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo <71768+gionn@users.noreply.github.com> Date: Mon, 14 Oct 2024 15:57:52 +0200 Subject: [PATCH 38/70] Release v7.2.0 (#783) --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 4b85a6c11..b11c5ff12 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v7.1.1 +v7.2.0 From c0fa39de055c31c2b9abb96fd1030260c6ed34ea Mon Sep 17 00:00:00 2001 From: gionn Date: Mon, 14 Oct 2024 13:58:07 +0000 Subject: [PATCH 39/70] Release v7.2.0 --- .../actions/calculate-next-internal-version/action.yml | 2 +- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- .github/actions/dbp-charts/verify-helm/action.yml | 8 ++++---- .github/actions/enforce-pr-conventions/action.yml | 2 +- .github/actions/get-build-info/action.yml | 2 +- .github/actions/github-check-upcoming-runs/action.yml | 2 +- .github/actions/github-deployment-create/action.yml | 2 +- .github/actions/helm-integration-tests/action.yml | 2 +- .github/actions/helm-publish-chart/action.yml | 2 +- .github/actions/helm-release-and-publish/action.yml | 10 +++++----- .github/actions/helm-update-chart-version/action.yml | 2 +- .github/actions/maven-build-and-tag/action.yml | 4 ++-- .github/actions/maven-release/action.yml | 4 ++-- .github/actions/reportportal-prepare/action.yml | 2 +- .../send-slack-notification-slow-job/action.yml | 2 +- .github/actions/send-slack-notification/action.yml | 2 +- .github/actions/setup-helm-docs/action.yml | 2 +- .github/actions/setup-jx-release-version/action.yml | 2 +- .github/actions/setup-terraform-docs/action.yml | 2 +- .../actions/update-pom-to-next-pre-release/action.yml | 4 ++-- .github/workflows/build-and-release-maven.yml | 6 +++--- .github/workflows/helm-publish-new-package-version.yml | 10 +++++----- .github/workflows/terraform.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index b5f5e7429..8790c4af9 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v7.2.0 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh shell: bash diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index 96c0b2538..1010ffadf 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -26,7 +26,7 @@ runs: with: fetch-depth: 0 - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: Publish run: ${{ github.action_path }}/publish_chart.sh shell: bash diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index 04b3a3fac..e4dc8760a 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -85,14 +85,14 @@ runs: password: ${{ inputs.docker_password }} - name: Get branch name uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v7.1.1 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v7.2.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v7.1.1 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v7.2.0 with: branch_name: ${{ env.BRANCH_NAME }} release_prefix: ${{ inputs.release_prefix }} @@ -111,7 +111,7 @@ runs: - name: Upload helm deployments logs as artifacts if: always() uses: >- - Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v7.1.1 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v7.2.0 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/enforce-pr-conventions/action.yml b/.github/actions/enforce-pr-conventions/action.yml index 813b41065..482f45863 100644 --- a/.github/actions/enforce-pr-conventions/action.yml +++ b/.github/actions/enforce-pr-conventions/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: Check is Dependabot PR or Propagation PR id: check diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index 3364d02f0..afafd1577 100644 --- a/.github/actions/get-build-info/action.yml +++ b/.github/actions/get-build-info/action.yml @@ -3,7 +3,7 @@ description: "Get build-related info from GitHub and load it as generically name runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/github-check-upcoming-runs/action.yml b/.github/actions/github-check-upcoming-runs/action.yml index 78ab68295..5006f55c5 100644 --- a/.github/actions/github-check-upcoming-runs/action.yml +++ b/.github/actions/github-check-upcoming-runs/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: Check upcoming runs id: check diff --git a/.github/actions/github-deployment-create/action.yml b/.github/actions/github-deployment-create/action.yml index 0e58c5f42..7737bd93d 100644 --- a/.github/actions/github-deployment-create/action.yml +++ b/.github/actions/github-deployment-create/action.yml @@ -40,7 +40,7 @@ runs: - name: Update Deployment State if: ${{ inputs.state != '' }} - uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v7.2.0 with: github-token: ${{ inputs.github-token }} deployment-id: ${{ steps.create.outputs.id }} diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index f1ebc1d06..a5c95b524 100644 --- a/.github/actions/helm-integration-tests/action.yml +++ b/.github/actions/helm-integration-tests/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: Setup rancher - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v7.2.0 with: url: ${{ inputs.test-rancher-url }} access-key: ${{ inputs.test-rancher-access-key }} diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index 6ca86407e..420285fff 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -110,7 +110,7 @@ runs: fi - name: Commit changes - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 with: username: ${{ inputs.git-username }} add-options: . diff --git a/.github/actions/helm-release-and-publish/action.yml b/.github/actions/helm-release-and-publish/action.yml index 4ee9a1ef8..e3559b02b 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -47,7 +47,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.2.0 id: check-tag with: tag: ${{ env.VERSION }} @@ -55,14 +55,14 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.2.0 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -79,7 +79,7 @@ runs: - name: Package Helm Chart if: steps.check-tag.outputs.exists == 'false' id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.2.0 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -92,7 +92,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.2.0 with: helm-charts-repo: ${{inputs.helm-repository}} helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} diff --git a/.github/actions/helm-update-chart-version/action.yml b/.github/actions/helm-update-chart-version/action.yml index 76a637a1a..ca0a6b7bb 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -16,7 +16,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v7.2.0 with: version: ${{ inputs.helm-docs-version }} - name: Update version diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 167377c87..3362a58f8 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -160,7 +160,7 @@ runs: - name: Update pom files to the new version id: update-pom-to-next-version if: github.event_name == 'push' || env.IS_PREVIEW == 'true' - uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v7.2.0 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -256,7 +256,7 @@ runs: shell: bash run: find . -name TEST-*.xml -exec grep -h testcase {} \; | awk -F '"' '{printf("%s#%s() - %.3fms\n", $4, $2, $6); }' | sort -n -k 3 | tail -20 - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 if: github.event_name == 'push' with: username: ${{ inputs.git-username }} diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index 2414175a9..d899082b1 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -75,7 +75,7 @@ runs: path: '${{ env.REPO_DIR }}' token: ${{ inputs.github-token }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.2.0 id: check-tag with: tag: ${{ env.RELEASE_VERSION }} @@ -147,7 +147,7 @@ runs: - name: Commit changes if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 with: username: ${{ inputs.git-username }} add-options: -u diff --git a/.github/actions/reportportal-prepare/action.yml b/.github/actions/reportportal-prepare/action.yml index d1d2d7e59..1282847b7 100644 --- a/.github/actions/reportportal-prepare/action.yml +++ b/.github/actions/reportportal-prepare/action.yml @@ -46,7 +46,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: Compute Report Portal input info id: info diff --git a/.github/actions/send-slack-notification-slow-job/action.yml b/.github/actions/send-slack-notification-slow-job/action.yml index 1b7898021..9aece64b3 100644 --- a/.github/actions/send-slack-notification-slow-job/action.yml +++ b/.github/actions/send-slack-notification-slow-job/action.yml @@ -25,7 +25,7 @@ runs: - name: Slack Notification if: fromJSON(steps.fetch_time.outputs.total_time) > fromJSON(inputs.max-build-time-seconds) - uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v7.2.0 with: channel-id: ${{ inputs.slack-channel }} message: 'Max build time exceeded: took ${{ steps.fetch_time.outputs.total_time }} seconds (expected max: ${{ inputs.max-build-time-seconds }} seconds)' diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index 35d2a69d6..da24c8ac6 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -109,7 +109,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 - name: Send slack notification id: slack diff --git a/.github/actions/setup-helm-docs/action.yml b/.github/actions/setup-helm-docs/action.yml index f42f340a4..32a036c34 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -11,7 +11,7 @@ outputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.2.0 with: repo: norwoodj/helm-docs version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index 19036338e..867710a10 100644 --- a/.github/actions/setup-jx-release-version/action.yml +++ b/.github/actions/setup-jx-release-version/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.2.0 with: repo: jenkins-x-plugins/jx-release-version version: ${{ inputs.version }} diff --git a/.github/actions/setup-terraform-docs/action.yml b/.github/actions/setup-terraform-docs/action.yml index 58983641e..92e7e3cb4 100644 --- a/.github/actions/setup-terraform-docs/action.yml +++ b/.github/actions/setup-terraform-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.2.0 with: repo: terraform-docs/terraform-docs version: ${{ inputs.version }} diff --git a/.github/actions/update-pom-to-next-pre-release/action.yml b/.github/actions/update-pom-to-next-pre-release/action.yml index f25e7fad9..587e839bf 100644 --- a/.github/actions/update-pom-to-next-pre-release/action.yml +++ b/.github/actions/update-pom-to-next-pre-release/action.yml @@ -33,7 +33,7 @@ runs: - id: next-prerelease-resolver name: Calculate next internal release if: inputs.version == '' - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.2.0 with: next-version: ${{ steps.parse-next-final-version.outputs.result }} prerelease-type: ${{ inputs.prerelease-type }} @@ -50,7 +50,7 @@ runs: fi - name: Update pom files to the new version - uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v7.2.0 with: version: ${{ steps.resolve-version.outputs.version }} maven-cli-opts: ${{ inputs.maven-cli-opts }} diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index 7a0a435f8..77ddc98be 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.2.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.2.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.2.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} email: ${{ secrets.BOT_GITHUB_EMAIL }} diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index 094c8a717..7ed5692de 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -46,7 +46,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.2.0 with: next-version: ${{ inputs.next-version }} @@ -57,13 +57,13 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.2.0 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.1.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -74,7 +74,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.2.0 with: chart-dir: ${{ inputs.chart-dir }} @@ -82,7 +82,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.2.0 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index faa42cc76..4f2b6d96d 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -94,7 +94,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v7.1.1 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v7.2.0 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml From c7a2fcf99ee2fa5dc3413d97c1484895ee19a81e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:39:07 +0200 Subject: [PATCH 40/70] Bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.14 to 3.0.15 (#785) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3329a0093..54f0e9fde 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@40ba2d51b6b6d8695f2b6bd74e785172d4f8d00f # v3.0.14 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ed00f72a3ca5b6eff8ad4d3ffdcacedb67a21db1 # v3.0.15 with: allowlist: | Alfresco/alfresco-build-tools/ From dcbc22f832ed160f509b31e8a2e388941a337fd2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:39:34 +0200 Subject: [PATCH 41/70] Bump the catch-all group in /.github/actions/docker-build-image with 2 updates (#784) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index da04d1ae0..461e5ec37 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -126,7 +126,7 @@ runs: - name: Anchore Scan API Image if: inputs.grype-scan-enabled == 'true' - uses: anchore/scan-action@4e08a16a68fb1b35d2fca00f0607db0b5b5120a7 # v5.0.0 + uses: anchore/scan-action@49e50b215b647c5ec97abb66f69af73c46a4ca08 # v5.0.1 id: scan with: fail-build: ${{ inputs.grype-fail-build }} @@ -141,7 +141,7 @@ runs: - name: Upload SARIF Files if: always() && inputs.grype-scan-enabled == 'true' && github.event_name == 'push' - uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12 + uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13 continue-on-error: true # do not fail if GHAS is not enabled with: sarif_file: ${{ steps.scan.outputs.sarif }} From 277f9cebe71540e120471fc86ed2052b6a34459a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Maciusiak?= <158472457+pmacius@users.noreply.github.com> Date: Tue, 22 Oct 2024 16:46:24 +0200 Subject: [PATCH 42/70] OPSEXP-2255 Refactor verify-compose action to wait for running|healthy state of containers (#786) --- .../verify-compose/docker_compose.sh | 55 +------------------ version.txt | 2 +- 2 files changed, 3 insertions(+), 54 deletions(-) diff --git a/.github/actions/dbp-charts/verify-compose/docker_compose.sh b/.github/actions/dbp-charts/verify-compose/docker_compose.sh index 493c3a991..a709eb37d 100755 --- a/.github/actions/dbp-charts/verify-compose/docker_compose.sh +++ b/.github/actions/dbp-charts/verify-compose/docker_compose.sh @@ -11,20 +11,6 @@ dump_all_compose_logs() { exit 1 } -wait_result() { - COMPONENT=$1 - if (("${COUNTER}" < "${TIMEOUT}")); then - t1=$(date +%s) - delta=$(((t1 - t0) / 60)) - echo "$COMPONENT Started in ${delta} minutes" - else - echo "Waited ${COUNTER} seconds" - echo "$COMPONENT could not start in time." - echo "The last response code was ${response}" - dump_all_compose_logs - fi -} - cd "$COMPOSE_PATH" || { echo "Error: docker compose dir not found" exit 1 @@ -38,46 +24,9 @@ if [ "$COMPOSE_PULL" = "true" ]; then $COMPOSE_BIN -f "${COMPOSE_FILE}" pull --quiet fi export COMPOSE_HTTP_TIMEOUT=120 -$COMPOSE_BIN -f "${COMPOSE_FILE}" up -d --quiet-pull - -WAIT_INTERVAL=1 -COUNTER=0 -TIMEOUT=300 -t0=$(date +%s) -echo "Waiting for alfresco to start" -response=$(curl --write-out '%{http_code}' --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/ || true) -until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do - printf '.' - sleep "${WAIT_INTERVAL}" - COUNTER=$((COUNTER + WAIT_INTERVAL)) - response=$(curl --write-out '%{http_code}' --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/ || true) -done -wait_result Alfresco +$COMPOSE_BIN -f "${COMPOSE_FILE}" up -d --quiet-pull --wait -COUNTER=0 -echo "Waiting for share to start" -response=$(curl --write-out '%{http_code}' --output /dev/null --silent http://localhost:8080/share/page || true) -until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do - printf '.' - sleep "${WAIT_INTERVAL}" - COUNTER=$((COUNTER + WAIT_INTERVAL)) - response=$(curl --write-out '%{http_code}' --output /dev/null --silent http://localhost:8080/share/page || true) -done -wait_result Share - -if [ $($COMPOSE_BIN -f "${COMPOSE_FILE}" config | yq '.services.alfresco.environment.JAVA_OPTS | contains(" -Dindex.subsystem.name=solr6")') == "true" ]; then echo "Waiting more time for SOLR" - COUNTER=0 - TIMEOUT=20 - - response=$(curl --write-out '%{http_code}' --user admin:admin --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/s/api/solrstats || true) - until [[ "200" -eq "${response}" ]] || [[ "${COUNTER}" -eq "${TIMEOUT}" ]]; do - printf '.' - sleep "${WAIT_INTERVAL}" - COUNTER=$((COUNTER + WAIT_INTERVAL)) - response=$(curl --write-out '%{http_code}' --user admin:admin --output /dev/null --silent http://localhost:"${alf_port}"/alfresco/s/api/solrstats || true) - done - wait_result Solr -fi +echo "All services are up and running... starting postman tests" cd .. docker run -a STDOUT --volume "${PWD}"/test/postman/docker-compose:/etc/newman --network host postman/newman:5.3 run "acs-test-docker-compose-collection.json" --global-var "protocol=http" --global-var "url=localhost:8080" diff --git a/version.txt b/version.txt index b11c5ff12..5f4f91fb4 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v7.2.0 +v8.0.0 From 019e8de660feacce28a4aa960833fd9cc9060255 Mon Sep 17 00:00:00 2001 From: pmacius Date: Tue, 22 Oct 2024 14:46:38 +0000 Subject: [PATCH 43/70] Release v8.0.0 --- .../actions/calculate-next-internal-version/action.yml | 2 +- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- .github/actions/dbp-charts/verify-helm/action.yml | 8 ++++---- .github/actions/enforce-pr-conventions/action.yml | 2 +- .github/actions/get-build-info/action.yml | 2 +- .github/actions/github-check-upcoming-runs/action.yml | 2 +- .github/actions/github-deployment-create/action.yml | 2 +- .github/actions/helm-integration-tests/action.yml | 2 +- .github/actions/helm-publish-chart/action.yml | 2 +- .github/actions/helm-release-and-publish/action.yml | 10 +++++----- .github/actions/helm-update-chart-version/action.yml | 2 +- .github/actions/maven-build-and-tag/action.yml | 4 ++-- .github/actions/maven-release/action.yml | 4 ++-- .github/actions/reportportal-prepare/action.yml | 2 +- .../send-slack-notification-slow-job/action.yml | 2 +- .github/actions/send-slack-notification/action.yml | 2 +- .github/actions/setup-helm-docs/action.yml | 2 +- .github/actions/setup-jx-release-version/action.yml | 2 +- .github/actions/setup-terraform-docs/action.yml | 2 +- .../actions/update-pom-to-next-pre-release/action.yml | 4 ++-- .github/workflows/build-and-release-maven.yml | 6 +++--- .github/workflows/helm-publish-new-package-version.yml | 10 +++++----- .github/workflows/terraform.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 8790c4af9..015326621 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.0.0 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh shell: bash diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index 1010ffadf..7106e9e04 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -26,7 +26,7 @@ runs: with: fetch-depth: 0 - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: Publish run: ${{ github.action_path }}/publish_chart.sh shell: bash diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index e4dc8760a..035ebd127 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -85,14 +85,14 @@ runs: password: ${{ inputs.docker_password }} - name: Get branch name uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v7.2.0 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.0.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v7.2.0 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.0.0 with: branch_name: ${{ env.BRANCH_NAME }} release_prefix: ${{ inputs.release_prefix }} @@ -111,7 +111,7 @@ runs: - name: Upload helm deployments logs as artifacts if: always() uses: >- - Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v7.2.0 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.0.0 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/enforce-pr-conventions/action.yml b/.github/actions/enforce-pr-conventions/action.yml index 482f45863..7dc386b68 100644 --- a/.github/actions/enforce-pr-conventions/action.yml +++ b/.github/actions/enforce-pr-conventions/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: Check is Dependabot PR or Propagation PR id: check diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index afafd1577..28ead730e 100644 --- a/.github/actions/get-build-info/action.yml +++ b/.github/actions/get-build-info/action.yml @@ -3,7 +3,7 @@ description: "Get build-related info from GitHub and load it as generically name runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/github-check-upcoming-runs/action.yml b/.github/actions/github-check-upcoming-runs/action.yml index 5006f55c5..ea72d47f9 100644 --- a/.github/actions/github-check-upcoming-runs/action.yml +++ b/.github/actions/github-check-upcoming-runs/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: Check upcoming runs id: check diff --git a/.github/actions/github-deployment-create/action.yml b/.github/actions/github-deployment-create/action.yml index 7737bd93d..6d1b18192 100644 --- a/.github/actions/github-deployment-create/action.yml +++ b/.github/actions/github-deployment-create/action.yml @@ -40,7 +40,7 @@ runs: - name: Update Deployment State if: ${{ inputs.state != '' }} - uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.0.0 with: github-token: ${{ inputs.github-token }} deployment-id: ${{ steps.create.outputs.id }} diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index a5c95b524..21741050d 100644 --- a/.github/actions/helm-integration-tests/action.yml +++ b/.github/actions/helm-integration-tests/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: Setup rancher - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.0.0 with: url: ${{ inputs.test-rancher-url }} access-key: ${{ inputs.test-rancher-access-key }} diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index 420285fff..b94b87fa4 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -110,7 +110,7 @@ runs: fi - name: Commit changes - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 with: username: ${{ inputs.git-username }} add-options: . diff --git a/.github/actions/helm-release-and-publish/action.yml b/.github/actions/helm-release-and-publish/action.yml index e3559b02b..be82157bc 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -47,7 +47,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.0.0 id: check-tag with: tag: ${{ env.VERSION }} @@ -55,14 +55,14 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.0.0 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -79,7 +79,7 @@ runs: - name: Package Helm Chart if: steps.check-tag.outputs.exists == 'false' id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.0.0 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -92,7 +92,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.0.0 with: helm-charts-repo: ${{inputs.helm-repository}} helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} diff --git a/.github/actions/helm-update-chart-version/action.yml b/.github/actions/helm-update-chart-version/action.yml index ca0a6b7bb..2a6e0874d 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -16,7 +16,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.0.0 with: version: ${{ inputs.helm-docs-version }} - name: Update version diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 3362a58f8..25b963cc8 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -160,7 +160,7 @@ runs: - name: Update pom files to the new version id: update-pom-to-next-version if: github.event_name == 'push' || env.IS_PREVIEW == 'true' - uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.0.0 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -256,7 +256,7 @@ runs: shell: bash run: find . -name TEST-*.xml -exec grep -h testcase {} \; | awk -F '"' '{printf("%s#%s() - %.3fms\n", $4, $2, $6); }' | sort -n -k 3 | tail -20 - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 if: github.event_name == 'push' with: username: ${{ inputs.git-username }} diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index d899082b1..0d8cf5c04 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -75,7 +75,7 @@ runs: path: '${{ env.REPO_DIR }}' token: ${{ inputs.github-token }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.0.0 id: check-tag with: tag: ${{ env.RELEASE_VERSION }} @@ -147,7 +147,7 @@ runs: - name: Commit changes if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 with: username: ${{ inputs.git-username }} add-options: -u diff --git a/.github/actions/reportportal-prepare/action.yml b/.github/actions/reportportal-prepare/action.yml index 1282847b7..e5992ef78 100644 --- a/.github/actions/reportportal-prepare/action.yml +++ b/.github/actions/reportportal-prepare/action.yml @@ -46,7 +46,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: Compute Report Portal input info id: info diff --git a/.github/actions/send-slack-notification-slow-job/action.yml b/.github/actions/send-slack-notification-slow-job/action.yml index 9aece64b3..9b6616414 100644 --- a/.github/actions/send-slack-notification-slow-job/action.yml +++ b/.github/actions/send-slack-notification-slow-job/action.yml @@ -25,7 +25,7 @@ runs: - name: Slack Notification if: fromJSON(steps.fetch_time.outputs.total_time) > fromJSON(inputs.max-build-time-seconds) - uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.0.0 with: channel-id: ${{ inputs.slack-channel }} message: 'Max build time exceeded: took ${{ steps.fetch_time.outputs.total_time }} seconds (expected max: ${{ inputs.max-build-time-seconds }} seconds)' diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index da24c8ac6..41268446d 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -109,7 +109,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 - name: Send slack notification id: slack diff --git a/.github/actions/setup-helm-docs/action.yml b/.github/actions/setup-helm-docs/action.yml index 32a036c34..14dabec6f 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -11,7 +11,7 @@ outputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.0.0 with: repo: norwoodj/helm-docs version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index 867710a10..9dbdc0faa 100644 --- a/.github/actions/setup-jx-release-version/action.yml +++ b/.github/actions/setup-jx-release-version/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.0.0 with: repo: jenkins-x-plugins/jx-release-version version: ${{ inputs.version }} diff --git a/.github/actions/setup-terraform-docs/action.yml b/.github/actions/setup-terraform-docs/action.yml index 92e7e3cb4..54efdaec2 100644 --- a/.github/actions/setup-terraform-docs/action.yml +++ b/.github/actions/setup-terraform-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.0.0 with: repo: terraform-docs/terraform-docs version: ${{ inputs.version }} diff --git a/.github/actions/update-pom-to-next-pre-release/action.yml b/.github/actions/update-pom-to-next-pre-release/action.yml index 587e839bf..8848867d4 100644 --- a/.github/actions/update-pom-to-next-pre-release/action.yml +++ b/.github/actions/update-pom-to-next-pre-release/action.yml @@ -33,7 +33,7 @@ runs: - id: next-prerelease-resolver name: Calculate next internal release if: inputs.version == '' - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.0.0 with: next-version: ${{ steps.parse-next-final-version.outputs.result }} prerelease-type: ${{ inputs.prerelease-type }} @@ -50,7 +50,7 @@ runs: fi - name: Update pom files to the new version - uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.0.0 with: version: ${{ steps.resolve-version.outputs.version }} maven-cli-opts: ${{ inputs.maven-cli-opts }} diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index 77ddc98be..88e89705d 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.0.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.0.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.0.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} email: ${{ secrets.BOT_GITHUB_EMAIL }} diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index 7ed5692de..de7153919 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -46,7 +46,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.0.0 with: next-version: ${{ inputs.next-version }} @@ -57,13 +57,13 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.0.0 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v7.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -74,7 +74,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.0.0 with: chart-dir: ${{ inputs.chart-dir }} @@ -82,7 +82,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.0.0 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 4f2b6d96d..6368857af 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -94,7 +94,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v7.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.0.0 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml From 61a79a1295617ede797ef1924c41a965bba0618e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Maciusiak?= <158472457+pmacius@users.noreply.github.com> Date: Thu, 24 Oct 2024 16:31:40 +0200 Subject: [PATCH 44/70] OPSEXP-2909 Remove checkout step from verify-compose and enable specifying path to postman tests (#787) Co-authored-by: Giovanni Toraldo <71768+gionn@users.noreply.github.com> --- .../dbp-charts/verify-compose/action.yml | 14 ++++++--- .../verify-compose/docker_compose.sh | 29 +++---------------- version.txt | 2 +- 3 files changed, 15 insertions(+), 30 deletions(-) diff --git a/.github/actions/dbp-charts/verify-compose/action.yml b/.github/actions/dbp-charts/verify-compose/action.yml index b0355cfb1..6e567d9e2 100644 --- a/.github/actions/dbp-charts/verify-compose/action.yml +++ b/.github/actions/dbp-charts/verify-compose/action.yml @@ -9,6 +9,14 @@ inputs: description: "run docker-compose pull before tests" required: false default: "true" + postman_path: + description: "path to postman collection" + required: false + default: "test/postman/docker-compose" + postman_json: + description: "postman collection json file" + required: false + default: "acs-test-docker-compose-collection.json" docker_username: description: "username for Docker Hub" required: false @@ -25,10 +33,6 @@ inputs: runs: using: composite steps: - - name: Checkout - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - with: - fetch-depth: 0 - if: ${{ inputs.quay_username != '' && inputs.quay_password != '' }} name: Login to Quay.io uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 @@ -48,3 +52,5 @@ runs: env: COMPOSE_FILE_PATH: ${{ inputs.compose_file_path }} COMPOSE_PULL: ${{ inputs.compose_pull }} + POSTMAN_PATH: ${{ inputs.postman_path }} + POSTMAN_JSON: ${{ inputs.postman_json }} diff --git a/.github/actions/dbp-charts/verify-compose/docker_compose.sh b/.github/actions/dbp-charts/verify-compose/docker_compose.sh index a709eb37d..e012a759e 100755 --- a/.github/actions/dbp-charts/verify-compose/docker_compose.sh +++ b/.github/actions/dbp-charts/verify-compose/docker_compose.sh @@ -1,36 +1,15 @@ #!/bin/bash -e -COMPOSE_FILE=$(basename $COMPOSE_FILE_PATH) -COMPOSE_PATH=$(dirname $COMPOSE_FILE_PATH) COMPOSE_BIN="docker compose" -alf_port=8080 -dump_all_compose_logs() { - echo "Dumping logs for all containers" - $COMPOSE_BIN -f "${COMPOSE_FILE}" logs --no-color - exit 1 -} - -cd "$COMPOSE_PATH" || { - echo "Error: docker compose dir not found" - exit 1 -} -docker info -$COMPOSE_BIN version -$COMPOSE_BIN -f "${COMPOSE_FILE}" config echo "Starting Alfresco in docker compose" -$COMPOSE_BIN -f "${COMPOSE_FILE}" ps +$COMPOSE_BIN -f "${COMPOSE_FILE_PATH}" ps if [ "$COMPOSE_PULL" = "true" ]; then - $COMPOSE_BIN -f "${COMPOSE_FILE}" pull --quiet + $COMPOSE_BIN -f "${COMPOSE_FILE_PATH}" pull --quiet fi export COMPOSE_HTTP_TIMEOUT=120 -$COMPOSE_BIN -f "${COMPOSE_FILE}" up -d --quiet-pull --wait +$COMPOSE_BIN -f "${COMPOSE_FILE_PATH}" up -d --quiet-pull --wait echo "All services are up and running... starting postman tests" -cd .. -docker run -a STDOUT --volume "${PWD}"/test/postman/docker-compose:/etc/newman --network host postman/newman:5.3 run "acs-test-docker-compose-collection.json" --global-var "protocol=http" --global-var "url=localhost:8080" - -retVal=$? - -[ "${retVal}" -eq 0 ] && echo "Postman tests were successful" || dump_all_compose_logs +docker run -a STDOUT --volume "$(realpath "${POSTMAN_PATH}"):/etc/newman" --network host postman/newman:5.3 run "${POSTMAN_JSON}" --global-var "protocol=http" --global-var "url=localhost:8080" diff --git a/version.txt b/version.txt index 5f4f91fb4..74cccb327 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v8.0.0 +v8.1.0 From 5cab7bac9b94deb11087c3c39c8e412f6ecf1e00 Mon Sep 17 00:00:00 2001 From: pmacius Date: Thu, 24 Oct 2024 14:31:52 +0000 Subject: [PATCH 45/70] Release v8.1.0 --- .../actions/calculate-next-internal-version/action.yml | 2 +- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- .github/actions/dbp-charts/verify-helm/action.yml | 8 ++++---- .github/actions/enforce-pr-conventions/action.yml | 2 +- .github/actions/get-build-info/action.yml | 2 +- .github/actions/github-check-upcoming-runs/action.yml | 2 +- .github/actions/github-deployment-create/action.yml | 2 +- .github/actions/helm-integration-tests/action.yml | 2 +- .github/actions/helm-publish-chart/action.yml | 2 +- .github/actions/helm-release-and-publish/action.yml | 10 +++++----- .github/actions/helm-update-chart-version/action.yml | 2 +- .github/actions/maven-build-and-tag/action.yml | 4 ++-- .github/actions/maven-release/action.yml | 4 ++-- .github/actions/reportportal-prepare/action.yml | 2 +- .../send-slack-notification-slow-job/action.yml | 2 +- .github/actions/send-slack-notification/action.yml | 2 +- .github/actions/setup-helm-docs/action.yml | 2 +- .github/actions/setup-jx-release-version/action.yml | 2 +- .github/actions/setup-terraform-docs/action.yml | 2 +- .../actions/update-pom-to-next-pre-release/action.yml | 4 ++-- .github/workflows/build-and-release-maven.yml | 6 +++--- .github/workflows/helm-publish-new-package-version.yml | 10 +++++----- .github/workflows/terraform.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 015326621..7a76059d4 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.1.0 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh shell: bash diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index 7106e9e04..845484d4d 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -26,7 +26,7 @@ runs: with: fetch-depth: 0 - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: Publish run: ${{ github.action_path }}/publish_chart.sh shell: bash diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index 035ebd127..6ec0209b6 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -85,14 +85,14 @@ runs: password: ${{ inputs.docker_password }} - name: Get branch name uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.0.0 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.1.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.0.0 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.1.0 with: branch_name: ${{ env.BRANCH_NAME }} release_prefix: ${{ inputs.release_prefix }} @@ -111,7 +111,7 @@ runs: - name: Upload helm deployments logs as artifacts if: always() uses: >- - Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.0.0 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.1.0 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/enforce-pr-conventions/action.yml b/.github/actions/enforce-pr-conventions/action.yml index 7dc386b68..0d5a8311f 100644 --- a/.github/actions/enforce-pr-conventions/action.yml +++ b/.github/actions/enforce-pr-conventions/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: Check is Dependabot PR or Propagation PR id: check diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index 28ead730e..4748f5e93 100644 --- a/.github/actions/get-build-info/action.yml +++ b/.github/actions/get-build-info/action.yml @@ -3,7 +3,7 @@ description: "Get build-related info from GitHub and load it as generically name runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/github-check-upcoming-runs/action.yml b/.github/actions/github-check-upcoming-runs/action.yml index ea72d47f9..66d776c33 100644 --- a/.github/actions/github-check-upcoming-runs/action.yml +++ b/.github/actions/github-check-upcoming-runs/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: Check upcoming runs id: check diff --git a/.github/actions/github-deployment-create/action.yml b/.github/actions/github-deployment-create/action.yml index 6d1b18192..0172e9ea3 100644 --- a/.github/actions/github-deployment-create/action.yml +++ b/.github/actions/github-deployment-create/action.yml @@ -40,7 +40,7 @@ runs: - name: Update Deployment State if: ${{ inputs.state != '' }} - uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.1.0 with: github-token: ${{ inputs.github-token }} deployment-id: ${{ steps.create.outputs.id }} diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index 21741050d..7a7f8b126 100644 --- a/.github/actions/helm-integration-tests/action.yml +++ b/.github/actions/helm-integration-tests/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: Setup rancher - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.1.0 with: url: ${{ inputs.test-rancher-url }} access-key: ${{ inputs.test-rancher-access-key }} diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index b94b87fa4..f130bc7f6 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -110,7 +110,7 @@ runs: fi - name: Commit changes - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 with: username: ${{ inputs.git-username }} add-options: . diff --git a/.github/actions/helm-release-and-publish/action.yml b/.github/actions/helm-release-and-publish/action.yml index be82157bc..2fcdbbaff 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -47,7 +47,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.1.0 id: check-tag with: tag: ${{ env.VERSION }} @@ -55,14 +55,14 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.1.0 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -79,7 +79,7 @@ runs: - name: Package Helm Chart if: steps.check-tag.outputs.exists == 'false' id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.1.0 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -92,7 +92,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.1.0 with: helm-charts-repo: ${{inputs.helm-repository}} helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} diff --git a/.github/actions/helm-update-chart-version/action.yml b/.github/actions/helm-update-chart-version/action.yml index 2a6e0874d..5a2bfde29 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -16,7 +16,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.1.0 with: version: ${{ inputs.helm-docs-version }} - name: Update version diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 25b963cc8..8a0a17b37 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -160,7 +160,7 @@ runs: - name: Update pom files to the new version id: update-pom-to-next-version if: github.event_name == 'push' || env.IS_PREVIEW == 'true' - uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.1.0 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -256,7 +256,7 @@ runs: shell: bash run: find . -name TEST-*.xml -exec grep -h testcase {} \; | awk -F '"' '{printf("%s#%s() - %.3fms\n", $4, $2, $6); }' | sort -n -k 3 | tail -20 - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 if: github.event_name == 'push' with: username: ${{ inputs.git-username }} diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index 0d8cf5c04..f3ee8c3ba 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -75,7 +75,7 @@ runs: path: '${{ env.REPO_DIR }}' token: ${{ inputs.github-token }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.1.0 id: check-tag with: tag: ${{ env.RELEASE_VERSION }} @@ -147,7 +147,7 @@ runs: - name: Commit changes if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 with: username: ${{ inputs.git-username }} add-options: -u diff --git a/.github/actions/reportportal-prepare/action.yml b/.github/actions/reportportal-prepare/action.yml index e5992ef78..48cd37e27 100644 --- a/.github/actions/reportportal-prepare/action.yml +++ b/.github/actions/reportportal-prepare/action.yml @@ -46,7 +46,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: Compute Report Portal input info id: info diff --git a/.github/actions/send-slack-notification-slow-job/action.yml b/.github/actions/send-slack-notification-slow-job/action.yml index 9b6616414..fa34cbe7d 100644 --- a/.github/actions/send-slack-notification-slow-job/action.yml +++ b/.github/actions/send-slack-notification-slow-job/action.yml @@ -25,7 +25,7 @@ runs: - name: Slack Notification if: fromJSON(steps.fetch_time.outputs.total_time) > fromJSON(inputs.max-build-time-seconds) - uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.1.0 with: channel-id: ${{ inputs.slack-channel }} message: 'Max build time exceeded: took ${{ steps.fetch_time.outputs.total_time }} seconds (expected max: ${{ inputs.max-build-time-seconds }} seconds)' diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index 41268446d..acabec270 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -109,7 +109,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 - name: Send slack notification id: slack diff --git a/.github/actions/setup-helm-docs/action.yml b/.github/actions/setup-helm-docs/action.yml index 14dabec6f..c137369db 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -11,7 +11,7 @@ outputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.1.0 with: repo: norwoodj/helm-docs version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index 9dbdc0faa..8160700e7 100644 --- a/.github/actions/setup-jx-release-version/action.yml +++ b/.github/actions/setup-jx-release-version/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.1.0 with: repo: jenkins-x-plugins/jx-release-version version: ${{ inputs.version }} diff --git a/.github/actions/setup-terraform-docs/action.yml b/.github/actions/setup-terraform-docs/action.yml index 54efdaec2..6cf0143cb 100644 --- a/.github/actions/setup-terraform-docs/action.yml +++ b/.github/actions/setup-terraform-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.1.0 with: repo: terraform-docs/terraform-docs version: ${{ inputs.version }} diff --git a/.github/actions/update-pom-to-next-pre-release/action.yml b/.github/actions/update-pom-to-next-pre-release/action.yml index 8848867d4..ed55d223b 100644 --- a/.github/actions/update-pom-to-next-pre-release/action.yml +++ b/.github/actions/update-pom-to-next-pre-release/action.yml @@ -33,7 +33,7 @@ runs: - id: next-prerelease-resolver name: Calculate next internal release if: inputs.version == '' - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.1.0 with: next-version: ${{ steps.parse-next-final-version.outputs.result }} prerelease-type: ${{ inputs.prerelease-type }} @@ -50,7 +50,7 @@ runs: fi - name: Update pom files to the new version - uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.1.0 with: version: ${{ steps.resolve-version.outputs.version }} maven-cli-opts: ${{ inputs.maven-cli-opts }} diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index 88e89705d..d25842481 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.1.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.1.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.1.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} email: ${{ secrets.BOT_GITHUB_EMAIL }} diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index de7153919..6f4b5f040 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -46,7 +46,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.1.0 with: next-version: ${{ inputs.next-version }} @@ -57,13 +57,13 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.1.0 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.0.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -74,7 +74,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.1.0 with: chart-dir: ${{ inputs.chart-dir }} @@ -82,7 +82,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.1.0 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 6368857af..66f41f7a4 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -94,7 +94,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.0.0 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.1.0 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml From 265e746225dca6b5c3be78315f13d4bba5b1d8e2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:38:16 +0100 Subject: [PATCH 46/70] Bump actions/checkout from 4.2.1 to 4.2.2 in /.github/actions/helm-publish-chart in the catch-all group (#788) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/helm-publish-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index f130bc7f6..ef95688ae 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -40,7 +40,7 @@ runs: run: echo "CHECKOUT_PATH=$(uuidgen)" >> $GITHUB_ENV - name: Checkout charts repository - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: path: ${{ env.CHECKOUT_PATH }} repository: ${{ inputs.helm-charts-repo }} From 5886c65dae349f0ef6e43c1a03463bbf28da97dc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:38:38 +0100 Subject: [PATCH 47/70] Bump the catch-all group in /.github/actions/setup-java-build with 2 updates (#789) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/setup-java-build/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/setup-java-build/action.yml b/.github/actions/setup-java-build/action.yml index abae003e4..6cbef181e 100644 --- a/.github/actions/setup-java-build/action.yml +++ b/.github/actions/setup-java-build/action.yml @@ -17,7 +17,7 @@ runs: using: composite steps: - name: "Cache local Maven repository" - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -35,7 +35,7 @@ runs: cp ${{ github.action_path }}/settings.xml $HOME/.m2/settings.xml fi - name: "Set up Java" - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 + uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: java-version: ${{ inputs.java-version }} distribution: ${{ inputs.java-distribution }} From a97740064ccd1f77aa1e797ae67a8adc387c21bb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:38:57 +0100 Subject: [PATCH 48/70] Bump actions/checkout from 4.2.1 to 4.2.2 in /.github/actions/send-teams-notification in the catch-all group (#790) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/send-teams-notification/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/send-teams-notification/action.yml b/.github/actions/send-teams-notification/action.yml index 14642f711..f83cda119 100644 --- a/.github/actions/send-teams-notification/action.yml +++ b/.github/actions/send-teams-notification/action.yml @@ -58,7 +58,7 @@ inputs: runs: using: composite steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Check workflow status uses: martialonline/workflow-status@fe13c6a4716673e224038aa1b02387352fb35e13 # v4 id: workflow_status_check From 3442a73e3ab81d38ec122071b57b6cce28df770f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:40:14 +0100 Subject: [PATCH 49/70] Bump the catch-all group in /.github/actions/docker-build-image with 2 updates (#791) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index 461e5ec37..ee1e42aee 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -126,7 +126,7 @@ runs: - name: Anchore Scan API Image if: inputs.grype-scan-enabled == 'true' - uses: anchore/scan-action@49e50b215b647c5ec97abb66f69af73c46a4ca08 # v5.0.1 + uses: anchore/scan-action@ef0b0b023552a0c077534074723a9915280284bb # v5.1.0 id: scan with: fail-build: ${{ inputs.grype-fail-build }} @@ -141,7 +141,7 @@ runs: - name: Upload SARIF Files if: always() && inputs.grype-scan-enabled == 'true' && github.event_name == 'push' - uses: github/codeql-action/upload-sarif@f779452ac5af1c261dce0346a8f964149f49322b # v3.26.13 + uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # v3.27.0 continue-on-error: true # do not fail if GHAS is not enabled with: sarif_file: ${{ steps.scan.outputs.sarif }} From b5f5abef2a3123656f70161386a9316e322d161e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:40:37 +0100 Subject: [PATCH 50/70] Bump the catch-all group in /.github/actions/pre-commit with 2 updates (#792) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/pre-commit/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/pre-commit/action.yml b/.github/actions/pre-commit/action.yml index fa4032995..e74d24581 100644 --- a/.github/actions/pre-commit/action.yml +++ b/.github/actions/pre-commit/action.yml @@ -26,7 +26,7 @@ inputs: runs: using: "composite" steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 if: inputs.skip_checkout == 'false' env: REF_TO_CHECKOUT: ${{ inputs.auto-commit == 'true' && github.head_ref || '' }} @@ -34,7 +34,7 @@ runs: ref: ${{ env.REF_TO_CHECKOUT }} - name: Set up Python ${{ inputs.python-version }} - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: ${{ inputs.python-version }} From 9aece0b4293edb88bfb0f6fd9b9e936044e9909d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:40:56 +0100 Subject: [PATCH 51/70] Bump actions/checkout from 4.2.1 to 4.2.2 in /.github/actions/dbp-charts/publish-chart in the catch-all group (#793) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index 845484d4d..af34a56ce 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -22,7 +22,7 @@ runs: using: composite steps: - name: Checkout - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - name: Get branch name From 50b6811abf682c33545cebdb3310541523fdd33e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:41:19 +0100 Subject: [PATCH 52/70] Bump the catch-all group in /.github/actions/maven-build-and-tag with 3 updates (#794) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-build-and-tag/action.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 8a0a17b37..e6e2c0643 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -91,9 +91,9 @@ outputs: runs: using: composite steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} @@ -101,7 +101,7 @@ runs: ${{ runner.os }}-maven- - name: Set up JDK - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 + uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: java-version: ${{ inputs.java-version }} distribution: ${{ inputs.java-distribution }} @@ -147,7 +147,7 @@ runs: echo "MAVEN_BUILD_CACHE_ENABLED=$MAVEN_BUILD_CACHE_ENABLED" >> $GITHUB_ENV echo "MAVEN_BUILD_CACHE_KEY=$MAVEN_BUILD_CACHE_KEY" >> $GITHUB_ENV - - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 name: Restore Maven Build Cache before build if: env.MAVEN_BUILD_CACHE_ENABLED == 'true' with: @@ -286,14 +286,14 @@ runs: rm -fr ~/.m2/repository/com/alfresco - name: Save maven cache - uses: actions/cache/save@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 if: github.event_name == 'push' || env.IS_PREVIEW == 'true' with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} - name: Save maven build cache on push - uses: actions/cache/save@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + uses: actions/cache/save@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 if: env.MAVEN_BUILD_CACHE_ENABLED == 'true' with: path: ~/.m2/build-cache From 71a5fb25855ab795386f3445bab51cc91c83f4e4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:53:47 +0100 Subject: [PATCH 53/70] Bump actions/checkout from 4.2.1 to 4.2.2 (#796) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build-and-release-maven.yml | 4 ++-- .github/workflows/helm-publish-new-package-version.yml | 2 +- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/terraform.yml | 2 +- .github/workflows/test-with-bats.yml | 2 +- .github/workflows/test.yml | 4 ++-- .github/workflows/updatecli.yml | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index d25842481..a172a032e 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -64,7 +64,7 @@ jobs: name: "Build" runs-on: ubuntu-latest steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.1.0 with: java-version: ${{ inputs.java-version }} @@ -104,7 +104,7 @@ jobs: needs: compute_release_conditions if: needs.compute_release_conditions.outputs.should_release == 'true' steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.1.0 diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index 6f4b5f040..b8eba51ff 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -42,7 +42,7 @@ jobs: outputs: version: ${{ steps.next-release.outputs.next-prerelease }} steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - id: next-release name: Calculate next internal release diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index a8ee25f94..706f33890 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -9,7 +9,7 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 with: path: ~/.m2/repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6290ede98..503da49e8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: github.event.pull_request.merged == true steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 ref: master diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 66f41f7a4..86955a7cc 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -81,7 +81,7 @@ jobs: PR_CHECKOUT_REF: refs/pull/${{ github.event.issue.number }}/merge steps: - name: Checkout - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: ref: ${{ github.event_name == 'issue_comment' && env.PR_CHECKOUT_REF || '' }} diff --git a/.github/workflows/test-with-bats.yml b/.github/workflows/test-with-bats.yml index 14baf0256..7cbbadf31 100644 --- a/.github/workflows/test-with-bats.yml +++ b/.github/workflows/test-with-bats.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: mig4/setup-bats@af9a00deb21b5d795cabfeaa8d9060410377686d # v1.2.0 with: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 54f0e9fde..88251b00a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions @@ -21,7 +21,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 # - name: Manual test for send slack notification # uses: ./.github/actions/send-slack-notification # with: diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index e62d11e68..8e0d6c522 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -22,7 +22,7 @@ jobs: outputs: matrix: ${{ steps.set-matrix.outputs.matrix }} steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Build Matrix id: set-matrix @@ -39,7 +39,7 @@ jobs: matrix: file: ${{fromJson(needs.build-matrix-github-releases.outputs.matrix)}} steps: - - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: updatecli/updatecli-action@92a13b95c2cd9f1c6742c965509203c6a5635ed7 # v2.68.0 - name: Run Updatecli From 8da2b2276a58c7032504236df5ea4e4502c18f88 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:55:26 +0100 Subject: [PATCH 54/70] Bump the catch-all group in /.github/actions/maven-release with 2 updates (#795) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/maven-release/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index f3ee8c3ba..137afcd63 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -68,7 +68,7 @@ runs: echo "RELEASE_VERSION=$RELEASE_VERSION" >> $GITHUB_ENV - name: Checkout ${{ inputs.repo }} - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: repository: '${{ inputs.repo }}' ref: ${{ inputs.base-ref }} @@ -83,7 +83,7 @@ runs: - name: Set up JDK if: steps.check-tag.outputs.exists == 'false' - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 + uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: java-version: ${{ inputs.java-version }} distribution: ${{ inputs.java-distribution }} From a43ec9c05a2d3ea39d8c50a38de74659d0f79bfd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:56:25 +0100 Subject: [PATCH 55/70] Bump actions/setup-java from 4.4.0 to 4.5.0 (#798) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index 706f33890..311e9518e 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -18,7 +18,7 @@ jobs: ${{ runner.os }}-maven- - name: Set up JDK 21 - uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0 + uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 with: java-version: '21' distribution: 'temurin' From 12feaa4a1417f35db9348a8675ad572e3d09b9e8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 08:56:43 +0100 Subject: [PATCH 56/70] Bump actions/cache from 4.1.1 to 4.1.2 (#797) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/publish-artifacts-for-veracode.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-artifacts-for-veracode.yml b/.github/workflows/publish-artifacts-for-veracode.yml index 311e9518e..21f07f7c9 100644 --- a/.github/workflows/publish-artifacts-for-veracode.yml +++ b/.github/workflows/publish-artifacts-for-veracode.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: actions/cache/restore@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1 + - uses: actions/cache/restore@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} From 6b62716d938f982de7ecfd74911d9dfd2c72853e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:54:16 +0100 Subject: [PATCH 57/70] Bump actions/setup-python from 5.2.0 to 5.3.0 in /.github/actions/calculate-next-internal-version in the catch-all group (#801) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/calculate-next-internal-version/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 7a76059d4..2b2f6722e 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -19,7 +19,7 @@ outputs: runs: using: "composite" steps: - - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.1.0 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh From 11bbdb2d8ca73143615ec4fd081ef8a757ccc697 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:55:15 +0100 Subject: [PATCH 58/70] Bump actions/checkout from 4.2.1 to 4.2.2 in /.github/actions/dbp-charts/verify-helm in the catch-all group (#800) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/dbp-charts/verify-helm/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index 6ec0209b6..aea81a010 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -60,7 +60,7 @@ runs: steps: - name: Checkout if: inputs.skip_checkout == 'false' - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: fetch-depth: 0 - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 From fa7885fa79e05d9e1ff2af85452aff000cd92d37 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:58:32 +0100 Subject: [PATCH 59/70] Bump actions/setup-python from 5.2.0 to 5.3.0 in /.github/actions/rancher in the catch-all group (#799) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/rancher/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/rancher/action.yml b/.github/actions/rancher/action.yml index fd42b4288..fb2f9b476 100644 --- a/.github/actions/rancher/action.yml +++ b/.github/actions/rancher/action.yml @@ -30,7 +30,7 @@ runs: steps: - uses: azure/setup-kubectl@3e0aec4d80787158d308d7b364cb1b702e7feb7f # v4.0.0 - name: setup-python - uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0 + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: python-version: "3.9" cache: pip From 67efc28c0e446a06b309575e6349e2a672e4881b Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo <71768+gionn@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:44:19 +0100 Subject: [PATCH 60/70] Release v8.2.0 (#802) --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 74cccb327..7c330f2dc 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v8.1.0 +v8.2.0 From 231ca442a35bf41dbda3c9960d74e8d703c208f4 Mon Sep 17 00:00:00 2001 From: gionn Date: Wed, 30 Oct 2024 15:44:35 +0000 Subject: [PATCH 61/70] Release v8.2.0 --- .../actions/calculate-next-internal-version/action.yml | 2 +- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- .github/actions/dbp-charts/verify-helm/action.yml | 8 ++++---- .github/actions/enforce-pr-conventions/action.yml | 2 +- .github/actions/get-build-info/action.yml | 2 +- .github/actions/github-check-upcoming-runs/action.yml | 2 +- .github/actions/github-deployment-create/action.yml | 2 +- .github/actions/helm-integration-tests/action.yml | 2 +- .github/actions/helm-publish-chart/action.yml | 2 +- .github/actions/helm-release-and-publish/action.yml | 10 +++++----- .github/actions/helm-update-chart-version/action.yml | 2 +- .github/actions/maven-build-and-tag/action.yml | 4 ++-- .github/actions/maven-release/action.yml | 4 ++-- .github/actions/reportportal-prepare/action.yml | 2 +- .../send-slack-notification-slow-job/action.yml | 2 +- .github/actions/send-slack-notification/action.yml | 2 +- .github/actions/setup-helm-docs/action.yml | 2 +- .github/actions/setup-jx-release-version/action.yml | 2 +- .github/actions/setup-terraform-docs/action.yml | 2 +- .../actions/update-pom-to-next-pre-release/action.yml | 4 ++-- .github/workflows/build-and-release-maven.yml | 6 +++--- .github/workflows/helm-publish-new-package-version.yml | 10 +++++----- .github/workflows/terraform.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 2b2f6722e..fc5dfccb8 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.2.0 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh shell: bash diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index af34a56ce..73e556a09 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -26,7 +26,7 @@ runs: with: fetch-depth: 0 - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: Publish run: ${{ github.action_path }}/publish_chart.sh shell: bash diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index aea81a010..ed7476b60 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -85,14 +85,14 @@ runs: password: ${{ inputs.docker_password }} - name: Get branch name uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.1.0 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.2.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.1.0 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.2.0 with: branch_name: ${{ env.BRANCH_NAME }} release_prefix: ${{ inputs.release_prefix }} @@ -111,7 +111,7 @@ runs: - name: Upload helm deployments logs as artifacts if: always() uses: >- - Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.1.0 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.2.0 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/enforce-pr-conventions/action.yml b/.github/actions/enforce-pr-conventions/action.yml index 0d5a8311f..0e00782a9 100644 --- a/.github/actions/enforce-pr-conventions/action.yml +++ b/.github/actions/enforce-pr-conventions/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: Check is Dependabot PR or Propagation PR id: check diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index 4748f5e93..327fc146a 100644 --- a/.github/actions/get-build-info/action.yml +++ b/.github/actions/get-build-info/action.yml @@ -3,7 +3,7 @@ description: "Get build-related info from GitHub and load it as generically name runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/github-check-upcoming-runs/action.yml b/.github/actions/github-check-upcoming-runs/action.yml index 66d776c33..b9c05fe98 100644 --- a/.github/actions/github-check-upcoming-runs/action.yml +++ b/.github/actions/github-check-upcoming-runs/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: Check upcoming runs id: check diff --git a/.github/actions/github-deployment-create/action.yml b/.github/actions/github-deployment-create/action.yml index 0172e9ea3..1d9bd2045 100644 --- a/.github/actions/github-deployment-create/action.yml +++ b/.github/actions/github-deployment-create/action.yml @@ -40,7 +40,7 @@ runs: - name: Update Deployment State if: ${{ inputs.state != '' }} - uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.2.0 with: github-token: ${{ inputs.github-token }} deployment-id: ${{ steps.create.outputs.id }} diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index 7a7f8b126..e296e1d8b 100644 --- a/.github/actions/helm-integration-tests/action.yml +++ b/.github/actions/helm-integration-tests/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: Setup rancher - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.2.0 with: url: ${{ inputs.test-rancher-url }} access-key: ${{ inputs.test-rancher-access-key }} diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index ef95688ae..98d22ef07 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -110,7 +110,7 @@ runs: fi - name: Commit changes - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 with: username: ${{ inputs.git-username }} add-options: . diff --git a/.github/actions/helm-release-and-publish/action.yml b/.github/actions/helm-release-and-publish/action.yml index 2fcdbbaff..40b1ab182 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -47,7 +47,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.2.0 id: check-tag with: tag: ${{ env.VERSION }} @@ -55,14 +55,14 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.2.0 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -79,7 +79,7 @@ runs: - name: Package Helm Chart if: steps.check-tag.outputs.exists == 'false' id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.2.0 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -92,7 +92,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.2.0 with: helm-charts-repo: ${{inputs.helm-repository}} helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} diff --git a/.github/actions/helm-update-chart-version/action.yml b/.github/actions/helm-update-chart-version/action.yml index 5a2bfde29..c3e791cdf 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -16,7 +16,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.2.0 with: version: ${{ inputs.helm-docs-version }} - name: Update version diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index e6e2c0643..b9e7ddfe2 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -160,7 +160,7 @@ runs: - name: Update pom files to the new version id: update-pom-to-next-version if: github.event_name == 'push' || env.IS_PREVIEW == 'true' - uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.2.0 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -256,7 +256,7 @@ runs: shell: bash run: find . -name TEST-*.xml -exec grep -h testcase {} \; | awk -F '"' '{printf("%s#%s() - %.3fms\n", $4, $2, $6); }' | sort -n -k 3 | tail -20 - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 if: github.event_name == 'push' with: username: ${{ inputs.git-username }} diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index 137afcd63..d2fd312c8 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -75,7 +75,7 @@ runs: path: '${{ env.REPO_DIR }}' token: ${{ inputs.github-token }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.2.0 id: check-tag with: tag: ${{ env.RELEASE_VERSION }} @@ -147,7 +147,7 @@ runs: - name: Commit changes if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 with: username: ${{ inputs.git-username }} add-options: -u diff --git a/.github/actions/reportportal-prepare/action.yml b/.github/actions/reportportal-prepare/action.yml index 48cd37e27..4c27d5689 100644 --- a/.github/actions/reportportal-prepare/action.yml +++ b/.github/actions/reportportal-prepare/action.yml @@ -46,7 +46,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: Compute Report Portal input info id: info diff --git a/.github/actions/send-slack-notification-slow-job/action.yml b/.github/actions/send-slack-notification-slow-job/action.yml index fa34cbe7d..e2769ca9e 100644 --- a/.github/actions/send-slack-notification-slow-job/action.yml +++ b/.github/actions/send-slack-notification-slow-job/action.yml @@ -25,7 +25,7 @@ runs: - name: Slack Notification if: fromJSON(steps.fetch_time.outputs.total_time) > fromJSON(inputs.max-build-time-seconds) - uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.2.0 with: channel-id: ${{ inputs.slack-channel }} message: 'Max build time exceeded: took ${{ steps.fetch_time.outputs.total_time }} seconds (expected max: ${{ inputs.max-build-time-seconds }} seconds)' diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index acabec270..cb706b56c 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -109,7 +109,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 - name: Send slack notification id: slack diff --git a/.github/actions/setup-helm-docs/action.yml b/.github/actions/setup-helm-docs/action.yml index c137369db..f3accd2f2 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -11,7 +11,7 @@ outputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.2.0 with: repo: norwoodj/helm-docs version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index 8160700e7..2b31fa1ef 100644 --- a/.github/actions/setup-jx-release-version/action.yml +++ b/.github/actions/setup-jx-release-version/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.2.0 with: repo: jenkins-x-plugins/jx-release-version version: ${{ inputs.version }} diff --git a/.github/actions/setup-terraform-docs/action.yml b/.github/actions/setup-terraform-docs/action.yml index 6cf0143cb..57f9313bb 100644 --- a/.github/actions/setup-terraform-docs/action.yml +++ b/.github/actions/setup-terraform-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.2.0 with: repo: terraform-docs/terraform-docs version: ${{ inputs.version }} diff --git a/.github/actions/update-pom-to-next-pre-release/action.yml b/.github/actions/update-pom-to-next-pre-release/action.yml index ed55d223b..6ffa1d287 100644 --- a/.github/actions/update-pom-to-next-pre-release/action.yml +++ b/.github/actions/update-pom-to-next-pre-release/action.yml @@ -33,7 +33,7 @@ runs: - id: next-prerelease-resolver name: Calculate next internal release if: inputs.version == '' - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.2.0 with: next-version: ${{ steps.parse-next-final-version.outputs.result }} prerelease-type: ${{ inputs.prerelease-type }} @@ -50,7 +50,7 @@ runs: fi - name: Update pom files to the new version - uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.2.0 with: version: ${{ steps.resolve-version.outputs.version }} maven-cli-opts: ${{ inputs.maven-cli-opts }} diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index a172a032e..d68763d21 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.2.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} email: ${{ secrets.BOT_GITHUB_EMAIL }} diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index b8eba51ff..93748ec9f 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -46,7 +46,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.2.0 with: next-version: ${{ inputs.next-version }} @@ -57,13 +57,13 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.2.0 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.1.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -74,7 +74,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.2.0 with: chart-dir: ${{ inputs.chart-dir }} @@ -82,7 +82,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.2.0 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 86955a7cc..3a41b6089 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -94,7 +94,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.1.0 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.2.0 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml From 8ca22d7c484f6ec6d2242610258aa3f43270cd4b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 08:45:44 +0100 Subject: [PATCH 62/70] Bump zgosalvez/github-actions-ensure-sha-pinned-actions from 3.0.15 to 3.0.16 (#805) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 88251b00a..c1dbe45f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: pre-commit checks uses: ./.github/actions/pre-commit - name: Ensure SHA pinned actions - uses: zgosalvez/github-actions-ensure-sha-pinned-actions@ed00f72a3ca5b6eff8ad4d3ffdcacedb67a21db1 # v3.0.15 + uses: zgosalvez/github-actions-ensure-sha-pinned-actions@38608ef4fb69adae7f1eac6eeb88e67b7d083bfd # v3.0.16 with: allowlist: | Alfresco/alfresco-build-tools/ From 860ab1c49d1f0e5ea4af13ce776071d3523582fe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:11:15 +0100 Subject: [PATCH 63/70] Bump pipenv from 2024.1.0 to 2024.3.1 in /.github/actions/pipenv (#804) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/pipenv/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pipenv/requirements.txt b/.github/actions/pipenv/requirements.txt index ed06e21d2..cbd196323 100644 --- a/.github/actions/pipenv/requirements.txt +++ b/.github/actions/pipenv/requirements.txt @@ -1 +1 @@ -pipenv==2024.1.0 +pipenv==2024.3.1 From fd7184e043db75e7a1c0625d76b2d19277a425d4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:12:40 +0100 Subject: [PATCH 64/70] Bump anchore/scan-action from 5.1.0 to 5.2.0 in /.github/actions/docker-build-image in the catch-all group (#806) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index ee1e42aee..a11f9fa4f 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -126,7 +126,7 @@ runs: - name: Anchore Scan API Image if: inputs.grype-scan-enabled == 'true' - uses: anchore/scan-action@ef0b0b023552a0c077534074723a9915280284bb # v5.1.0 + uses: anchore/scan-action@5ed195cc06065322983cae4bb31e2a751feb86fd # v5.2.0 id: scan with: fail-build: ${{ inputs.grype-fail-build }} From b5166f4492f1b4958e68250952163e73f9f27eb5 Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo <71768+gionn@users.noreply.github.com> Date: Wed, 6 Nov 2024 16:51:21 +0100 Subject: [PATCH 65/70] Add README entries check (#809) --- .pre-commit-config.yaml | 5 ++ check_readme.sh | 24 +++++++ docs/README.md | 146 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 173 insertions(+), 2 deletions(-) create mode 100755 check_readme.sh diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index df5e59652..3832d3a68 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,3 +31,8 @@ repos: language: system entry: ./update-dependabot.sh pass_filenames: false + - id: check-readme + name: Check README entries + language: system + entry: ./check_readme.sh + pass_filenames: false diff --git a/check_readme.sh b/check_readme.sh new file mode 100755 index 000000000..46890fcab --- /dev/null +++ b/check_readme.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +actions_dir=".github/actions" +readme_file="docs/README.md" +missing_entries=0 + +# List all folders under .github/actions +folders=$(ls -d $actions_dir/*/) + +# Check each folder +for folder in $folders; do + action_name=$(basename $folder) + search_string="### $action_name" + if ! grep -q "$search_string" "$readme_file"; then + echo "No entry found for $search_string in README.md" + ((missing_entries++)) + fi +done + +# Report the number of missing entries +if [ $missing_entries -gt 0 ]; then + echo "$missing_entries entries not found in README.md" + exit 1 +fi diff --git a/docs/README.md b/docs/README.md index 60fd00272..5fef002c1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -31,7 +31,9 @@ Here follows the list of GitHub Actions topics available in the current document - [GitHub Actions provided by us](#github-actions-provided-by-us) - [automate-dependabot](#automate-dependabot) - [automate-propagation](#automate-propagation) + - [calculate-next-internal-version](#calculate-next-internal-version) - [configure-git-author](#configure-git-author) + - [dbp-charts](#dbp-charts) - [docker-build-image](#docker-build-image) - [docker-dump-containers-logs](#docker-dump-containers-logs) - [docker-scan-image-dirs](#docker-scan-image-dirs) @@ -42,10 +44,12 @@ Here follows the list of GitHub Actions topics available in the current document - [get-build-info](#get-build-info) - [git-check-existing-tag](#git-check-existing-tag) - [get-commit-message](#get-commit-message) + - [gh-cache-cleanup-on-merge](#gh-cache-cleanup-on-merge) - [git-commit-changes](#git-commit-changes) - [git-latest-tag](#git-latest-tag) - [github-check-upcoming-runs](#github-check-upcoming-runs) - - [github-deployment-create and github-deployment-status-update](#github-deployment-create-and-github-deployment-status-update) + - [github-deployment-create](#github-deployment-create) + - [github-deployment-status-update](#github-deployment-status-update) - [github-deployments-delete](#github-deployments-delete) - [github-download-file](#github-download-file) - [github-https-auth](#github-https-auth) @@ -76,13 +80,24 @@ Here follows the list of GitHub Actions topics available in the current document - [rancher](#rancher) - [reportportal-prepare](#reportportal-prepare) - [reportportal-summarize](#reportportal-summarize) + - [resolve-preview-name](#resolve-preview-name) - [send-slack-notification-slow-job](#send-slack-notification-slow-job) - [send-slack-notification](#send-slack-notification) - [send-teams-notification](#send-teams-notification) - [setup-docker](#setup-docker) - [setup-github-release-binary](#setup-github-release-binary) + - [setup-helm-docs](#setup-helm-docs) - [setup-java-build](#setup-java-build) + - [setup-jx-release-version](#setup-jx-release-version) + - [setup-kcadm](#setup-kcadm) - [setup-kind](#setup-kind) + - [setup-kubepug](#setup-kubepug) + - [setup-pysemver](#setup-pysemver) + - [setup-rancher-cli](#setup-rancher-cli) + - [setup-terraform-docs](#setup-terraform-docs) + - [setup-updatebot](#setup-updatebot) + - [update-deployment-runtime-versions](#update-deployment-runtime-versions) + - [update-pom-to-next-pre-release](#update-pom-to-next-pre-release) - [update-project-base-tag](#update-project-base-tag) - [validate-maven-versions](#validate-maven-versions) - [veracode](#veracode) @@ -377,6 +392,16 @@ Another token is also needed to handled approval. It can be the default `GITHUB_ approval-token: ${{ secrets.GITHUB_TOKEN }} ``` +### calculate-next-internal-version + +Calculate next internal version based on existing tags + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@ref + with: + next-version: 1.2.3 +``` + ### configure-git-author Configures the git username and email to associate commits with the provided identity @@ -391,6 +416,12 @@ Configures the git username and email to associate commits with the provided ide The two vars in the previous snippet are [workflow configuration variables](https://github.blog/changelog/2023-01-10-github-actions-support-for-configuration-variables-in-workflows/) that can be created at organization level and shared across different repositories. +### dbp-charts + +A collection of actions used in Alfresco acs-deployment repository to manage Helm charts (mostly deprecated). + +See [dbp-charts](../.github/actions/dbp-charts/) for more details. + ### docker-build-image Build docker image based on supplied jar files. It replaces `image-dir` and `image-tag` in the @@ -590,6 +621,16 @@ This action requires a checkout with fetch-depth option as follow: - uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@ref ``` +### gh-cache-cleanup-on-merge + +Performs the cleanup of cache entries related with already closed PR: + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/gh-cache-cleanup-on-merge@ref + with: + token: ${{ secrets.BOT_GITHUB_TOKEN }} +``` + ### git-commit-changes Commits local changes after configuring git user and showing the status of what is going be committed. @@ -637,7 +678,9 @@ With proper concurrency logic in place, the latest run might have been cancelled workflow: my-workflow.yml ``` -### github-deployment-create and github-deployment-status-update +### github-deployment-create + +### github-deployment-status-update These actions create a [GitHub deployment](https://docs.github.com/en/rest/deployments/deployments) and allow updating its status. That can be useful to track progression on a workflow pipeline. @@ -1282,6 +1325,17 @@ This will give the following sample output on the GH Actions run summary (when u ![GH Actions Summary Report Portal](./images/rp-gh-summary.png) +### resolve-preview-name + +Resolve preview name based on the PR number and run number: + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/resolve-preview-name@ref + id: resolve-preview-name + - run: | + echo ${{ steps.resolve-preview-name.outputs.preview-name }} +``` + ### send-slack-notification-slow-job Sends a slack notification when current run took more time than specified via `max-build-time-seconds` input. @@ -1445,6 +1499,16 @@ Hosted runners. Allows the installation of a generic binary from GitHub Releases and add it to the PATH. See [setup-helm-docs](../.github/actions/setup-helm-docs/action.yml) for a usage example. +### setup-helm-docs + +Install the helm-docs binary from GitHub Releases and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@ref + with: + version: "1.14.2" +``` + ### setup-java-build [setup-java-build](../.github/actions/setup-java-build/action.yml) performs the setup of required build tools such as Java and Maven. @@ -1460,6 +1524,26 @@ If the Maven settings file is not provided at all, then a default settings file maven-settings: ".ci.settings.xml" # optional ``` +### setup-jx-release-version + +Set up a specific version of jx-release-version and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-jx-release-version@ref + with: + version: "2.2.3" +``` + +### setup-kcadm + +Setup the `kcadm` binary from Keycloak distribution and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-kcadm@ref + with: + version: "24.0.5" +``` + ### setup-kind Spin up a local kubernetes cluster with nginx ingress exposing http/https ports. @@ -1483,6 +1567,64 @@ Spin up a local kubernetes cluster with nginx ingress exposing http/https ports. helm install acs ./helm/chart ``` +### setup-kubepug + +Install the Kubernetes preupgrade checker and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-kubepug@ref + with: + version: "1.3.2" +``` + +### setup-pysemver + +Install the pysemver binary from GitHub Releases and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@ref + with: + version: "2.13.0" +``` + +### setup-rancher-cli + +Install the Rancher CLI binary from GitHub Releases and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@ref + with: + version: "2.9.2" +``` + +### setup-terraform-docs + +Install the terraform-docs binary from GitHub Releases and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-terraform-docs@ref + with: + version: "0.16.0" +``` + +### setup-updatebot + +Install the updatebot binary from GitHub Releases and add it to the PATH. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-updatebot@ref + with: + version: "1.1.60" +``` + +### update-deployment-runtime-versions + +For more information, see [update-deployment-runtime-versions](../.github/actions/update-deployment-runtime-versions/action.yml). + +### update-pom-to-next-pre-release + +For more information see [update-pom-to-next-pre-release](../.github/actions/update-pom-to-next-pre-release/action.yml). + ### update-project-base-tag Used to update a base tag in the release descriptor. It will add or update the From 59a39f5ca3cea345479dbccf5e1adb54a5a3a26d Mon Sep 17 00:00:00 2001 From: Giovanni Toraldo <71768+gionn@users.noreply.github.com> Date: Wed, 6 Nov 2024 17:17:20 +0100 Subject: [PATCH 66/70] OPSEXP-2656 Add slack file upload composite action (#808) --- .github/actions/slack-file-upload/action.yml | 46 +++++++++++++ .../slack-file-upload/requirements.txt | 1 + .../slack-file-upload/slack_file_upload.py | 33 +++++++++ .github/dependabot.yml | 8 +++ docs/README.md | 67 ++++++++++--------- version.txt | 2 +- 6 files changed, 124 insertions(+), 33 deletions(-) create mode 100644 .github/actions/slack-file-upload/action.yml create mode 100644 .github/actions/slack-file-upload/requirements.txt create mode 100644 .github/actions/slack-file-upload/slack_file_upload.py diff --git a/.github/actions/slack-file-upload/action.yml b/.github/actions/slack-file-upload/action.yml new file mode 100644 index 000000000..117705472 --- /dev/null +++ b/.github/actions/slack-file-upload/action.yml @@ -0,0 +1,46 @@ +name: slack-file-upload +description: Upload file to slack channel +inputs: + slack-token: + description: 'Slack API token' + required: true + slack-channel-id: + description: 'Slack channel ID' + required: true + file-path: + description: 'File to upload' + required: true + file-title: + description: 'Title of file' + python-version: + description: 'Python version' + required: false + default: '3.9' +runs: + using: composite + steps: + - name: Setup Python + uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + id: setup-python + with: + python-version: ${{ inputs.python-version }} + + - name: Workaround for hashFiles not working outside current workspace + shell: bash + run: cp ${{ github.action_path }}/requirements.txt requirements-slack.txt + + - uses: actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('requirements-slack.txt') }} + + - name: Install requirements via pip + shell: bash + run: ${{ steps.setup-python.outputs.python-path }} -m pip install -r ${{ github.action_path }}/requirements.txt + + - name: Upload ${{ inputs.file-path }} to Slack + shell: bash + env: + SLACK_BOT_TOKEN: ${{ inputs.slack-token }} + SLACK_CHANNEL_ID: ${{ inputs.slack-channel-id }} + run: ${{ steps.setup-python.outputs.python-path }} ${{ github.action_path }}/slack_file_upload.py "${{ inputs.file-path }}" "${{ inputs.file-title }}" diff --git a/.github/actions/slack-file-upload/requirements.txt b/.github/actions/slack-file-upload/requirements.txt new file mode 100644 index 000000000..4eba4d7f9 --- /dev/null +++ b/.github/actions/slack-file-upload/requirements.txt @@ -0,0 +1 @@ +slack_sdk==3.33.3 diff --git a/.github/actions/slack-file-upload/slack_file_upload.py b/.github/actions/slack-file-upload/slack_file_upload.py new file mode 100644 index 000000000..6b681d256 --- /dev/null +++ b/.github/actions/slack-file-upload/slack_file_upload.py @@ -0,0 +1,33 @@ +import os +import sys +from slack_sdk import WebClient +from slack_sdk.errors import SlackApiError + +def upload_file_to_slack(token, channel_id, file_path, title): + client = WebClient(token=token) + + try: + response = client.files_upload_v2( + channel=channel_id, + file=file_path, + title=title + ) + print(f"File uploaded successfully: {response['file']['id']}") + except SlackApiError as e: + print(f"Error uploading file: {e.response['error']}") + raise e + +if __name__ == "__main__": + if 'SLACK_BOT_TOKEN' not in os.environ: + raise ValueError('SLACK_BOT_TOKEN is not set.') + if 'SLACK_CHANNEL_ID' not in os.environ: + raise ValueError('SLACK_CHANNEL_ID is not set.') + if len(sys.argv) < 2: + raise ValueError('File path must be provided as the first argument.') + + SLACK_BOT_TOKEN = os.environ['SLACK_BOT_TOKEN'] + CHANNEL_ID = os.environ['SLACK_CHANNEL_ID'] + FILE_PATH = sys.argv[1] + TITLE = sys.argv[2] if len(sys.argv) > 2 else None + + upload_file_to_slack(SLACK_BOT_TOKEN, CHANNEL_ID, FILE_PATH, TITLE) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 0bc164c41..fbf9b433f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -569,6 +569,14 @@ updates: catch-all: patterns: - "*" + - package-ecosystem: "github-actions" + directory: "/.github/actions/slack-file-upload" + schedule: + interval: "weekly" + groups: + catch-all: + patterns: + - "*" - package-ecosystem: "github-actions" directory: "/.github/actions/update-deployment-runtime-versions" schedule: diff --git a/docs/README.md b/docs/README.md index 5fef002c1..c52ae3868 100644 --- a/docs/README.md +++ b/docs/README.md @@ -42,9 +42,9 @@ Here follows the list of GitHub Actions topics available in the current document - [free-hosted-runner-disk-space](#free-hosted-runner-disk-space) - [get-branch-name](#get-branch-name) - [get-build-info](#get-build-info) + - [gh-cache-cleanup-on-merge](#gh-cache-cleanup-on-merge) - [git-check-existing-tag](#git-check-existing-tag) - [get-commit-message](#get-commit-message) - - [gh-cache-cleanup-on-merge](#gh-cache-cleanup-on-merge) - [git-commit-changes](#git-commit-changes) - [git-latest-tag](#git-latest-tag) - [github-check-upcoming-runs](#github-check-upcoming-runs) @@ -96,12 +96,12 @@ Here follows the list of GitHub Actions topics available in the current document - [setup-rancher-cli](#setup-rancher-cli) - [setup-terraform-docs](#setup-terraform-docs) - [setup-updatebot](#setup-updatebot) + - [slack-file-upload](#slack-file-upload) - [update-deployment-runtime-versions](#update-deployment-runtime-versions) - [update-pom-to-next-pre-release](#update-pom-to-next-pre-release) - [update-project-base-tag](#update-project-base-tag) - [validate-maven-versions](#validate-maven-versions) - [veracode](#veracode) - - [github cache cleanup](#github-cache-cleanup) - [Reusable workflows provided by us](#reusable-workflows-provided-by-us) - [helm-publish-new-package-version.yml](#helm-publish-new-package-versionyml) - [terraform](#terraform) @@ -598,6 +598,26 @@ Loads the name of the branch on which the action was called into `BRANCH_NAME` e - uses: Alfresco/alfresco-build-tools/.github/actions/get-build-info@ref ``` +### gh-cache-cleanup-on-merge + +Performs the cleanup of all cache entries related with already closed PR + +```yaml +name: Cleanup caches for work branch +on: + pull_request: + types: + - closed + +jobs: + cleanup: + runs-on: ubuntu-latest + steps: + - uses: Alfresco/alfresco-build-tools/.github/actions/gh-cache-cleanup-on-merge@ref + with: + token: ${{ secrets.GH_TOKEN }} +``` + ### git-check-existing-tag Checks if a tag with the given name already exists for this remote repository. Returns the output named `exists` with value `'true'` or `'false'`. @@ -621,16 +641,6 @@ This action requires a checkout with fetch-depth option as follow: - uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@ref ``` -### gh-cache-cleanup-on-merge - -Performs the cleanup of cache entries related with already closed PR: - -```yaml - - uses: Alfresco/alfresco-build-tools/.github/actions/gh-cache-cleanup-on-merge@ref - with: - token: ${{ secrets.BOT_GITHUB_TOKEN }} -``` - ### git-commit-changes Commits local changes after configuring git user and showing the status of what is going be committed. @@ -1617,6 +1627,19 @@ Install the updatebot binary from GitHub Releases and add it to the PATH. version: "1.1.60" ``` +### slack-file-upload + +Uploads a file to a Slack channel. + +```yaml + - uses: Alfresco/alfresco-build-tools/.github/actions/slack-file-upload@ref + with: + slack-token: ${{ secrets.SLACK_BOT_TOKEN }} + slack-channel-id: 'channel-id' # not the channel name + file-path: 'path/to/file' + file-title: 'file description' # optional +``` + ### update-deployment-runtime-versions For more information, see [update-deployment-runtime-versions](../.github/actions/update-deployment-runtime-versions/action.yml). @@ -1671,26 +1694,6 @@ This way, the agent-based scan results will be added in the latest promoted scan srcclr-project-ext: '' # optional, allows for directing scan results to Veracode project named: / ``` -### github cache cleanup - -Performs the cleanup of all cache entries related with already closed PR - -```yaml -name: Cleanup caches for work branch -on: - pull_request: - types: - - closed - -jobs: - cleanup: - runs-on: ubuntu-latest - steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/gh-cache-cleanup-on-merge@ref - with: - token: ${{ secrets.GH_TOKEN }} -``` - ## Reusable workflows provided by us ### helm-publish-new-package-version.yml diff --git a/version.txt b/version.txt index 7c330f2dc..b21d96d17 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v8.2.0 +v8.3.0 From 900580fcf2b637714a0198ff42e705f37aec7f5b Mon Sep 17 00:00:00 2001 From: gionn Date: Wed, 6 Nov 2024 16:17:32 +0000 Subject: [PATCH 67/70] Release v8.3.0 --- .../actions/calculate-next-internal-version/action.yml | 2 +- .github/actions/dbp-charts/publish-chart/action.yml | 2 +- .github/actions/dbp-charts/verify-helm/action.yml | 8 ++++---- .github/actions/enforce-pr-conventions/action.yml | 2 +- .github/actions/get-build-info/action.yml | 2 +- .github/actions/github-check-upcoming-runs/action.yml | 2 +- .github/actions/github-deployment-create/action.yml | 2 +- .github/actions/helm-integration-tests/action.yml | 2 +- .github/actions/helm-publish-chart/action.yml | 2 +- .github/actions/helm-release-and-publish/action.yml | 10 +++++----- .github/actions/helm-update-chart-version/action.yml | 2 +- .github/actions/maven-build-and-tag/action.yml | 4 ++-- .github/actions/maven-release/action.yml | 4 ++-- .github/actions/reportportal-prepare/action.yml | 2 +- .../send-slack-notification-slow-job/action.yml | 2 +- .github/actions/send-slack-notification/action.yml | 2 +- .github/actions/setup-helm-docs/action.yml | 2 +- .github/actions/setup-jx-release-version/action.yml | 2 +- .github/actions/setup-terraform-docs/action.yml | 2 +- .../actions/update-pom-to-next-pre-release/action.yml | 4 ++-- .github/workflows/build-and-release-maven.yml | 6 +++--- .github/workflows/helm-publish-new-package-version.yml | 10 +++++----- .github/workflows/terraform.yml | 2 +- 23 files changed, 39 insertions(+), 39 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index fc5dfccb8..f77ce6680 100644 --- a/.github/actions/calculate-next-internal-version/action.yml +++ b/.github/actions/calculate-next-internal-version/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v8.3.0 - id: next-prerelease-resolver run: ${{ github.action_path }}/next-prerelease.sh shell: bash diff --git a/.github/actions/dbp-charts/publish-chart/action.yml b/.github/actions/dbp-charts/publish-chart/action.yml index 73e556a09..40e867e09 100644 --- a/.github/actions/dbp-charts/publish-chart/action.yml +++ b/.github/actions/dbp-charts/publish-chart/action.yml @@ -26,7 +26,7 @@ runs: with: fetch-depth: 0 - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: Publish run: ${{ github.action_path }}/publish_chart.sh shell: bash diff --git a/.github/actions/dbp-charts/verify-helm/action.yml b/.github/actions/dbp-charts/verify-helm/action.yml index ed7476b60..854d8489e 100644 --- a/.github/actions/dbp-charts/verify-helm/action.yml +++ b/.github/actions/dbp-charts/verify-helm/action.yml @@ -85,14 +85,14 @@ runs: password: ${{ inputs.docker_password }} - name: Get branch name uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.2.0 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v8.3.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.2.0 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v8.3.0 with: branch_name: ${{ env.BRANCH_NAME }} release_prefix: ${{ inputs.release_prefix }} @@ -111,7 +111,7 @@ runs: - name: Upload helm deployments logs as artifacts if: always() uses: >- - Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.2.0 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v8.3.0 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/enforce-pr-conventions/action.yml b/.github/actions/enforce-pr-conventions/action.yml index 0e00782a9..e8b7ebac0 100644 --- a/.github/actions/enforce-pr-conventions/action.yml +++ b/.github/actions/enforce-pr-conventions/action.yml @@ -20,7 +20,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: Check is Dependabot PR or Propagation PR id: check diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index 327fc146a..010cee787 100644 --- a/.github/actions/get-build-info/action.yml +++ b/.github/actions/get-build-info/action.yml @@ -3,7 +3,7 @@ description: "Get build-related info from GitHub and load it as generically name runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/github-check-upcoming-runs/action.yml b/.github/actions/github-check-upcoming-runs/action.yml index b9c05fe98..2fad77696 100644 --- a/.github/actions/github-check-upcoming-runs/action.yml +++ b/.github/actions/github-check-upcoming-runs/action.yml @@ -20,7 +20,7 @@ runs: using: "composite" steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: Check upcoming runs id: check diff --git a/.github/actions/github-deployment-create/action.yml b/.github/actions/github-deployment-create/action.yml index 1d9bd2045..e9b1a0069 100644 --- a/.github/actions/github-deployment-create/action.yml +++ b/.github/actions/github-deployment-create/action.yml @@ -40,7 +40,7 @@ runs: - name: Update Deployment State if: ${{ inputs.state != '' }} - uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v8.3.0 with: github-token: ${{ inputs.github-token }} deployment-id: ${{ steps.create.outputs.id }} diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index e296e1d8b..32131ceea 100644 --- a/.github/actions/helm-integration-tests/action.yml +++ b/.github/actions/helm-integration-tests/action.yml @@ -37,7 +37,7 @@ runs: using: composite steps: - name: Setup rancher - uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v8.3.0 with: url: ${{ inputs.test-rancher-url }} access-key: ${{ inputs.test-rancher-access-key }} diff --git a/.github/actions/helm-publish-chart/action.yml b/.github/actions/helm-publish-chart/action.yml index 98d22ef07..939db6061 100644 --- a/.github/actions/helm-publish-chart/action.yml +++ b/.github/actions/helm-publish-chart/action.yml @@ -110,7 +110,7 @@ runs: fi - name: Commit changes - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.3.0 with: username: ${{ inputs.git-username }} add-options: . diff --git a/.github/actions/helm-release-and-publish/action.yml b/.github/actions/helm-release-and-publish/action.yml index 40b1ab182..599244a45 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -47,7 +47,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.3.0 id: check-tag with: tag: ${{ env.VERSION }} @@ -55,14 +55,14 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.3.0 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.3.0 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -79,7 +79,7 @@ runs: - name: Package Helm Chart if: steps.check-tag.outputs.exists == 'false' id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.3.0 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -92,7 +92,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.3.0 with: helm-charts-repo: ${{inputs.helm-repository}} helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} diff --git a/.github/actions/helm-update-chart-version/action.yml b/.github/actions/helm-update-chart-version/action.yml index c3e791cdf..a6f4aeb35 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -16,7 +16,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v8.3.0 with: version: ${{ inputs.helm-docs-version }} - name: Update version diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index b9e7ddfe2..1feaeda11 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -160,7 +160,7 @@ runs: - name: Update pom files to the new version id: update-pom-to-next-version if: github.event_name == 'push' || env.IS_PREVIEW == 'true' - uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v8.3.0 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -256,7 +256,7 @@ runs: shell: bash run: find . -name TEST-*.xml -exec grep -h testcase {} \; | awk -F '"' '{printf("%s#%s() - %.3fms\n", $4, $2, $6); }' | sort -n -k 3 | tail -20 - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.3.0 if: github.event_name == 'push' with: username: ${{ inputs.git-username }} diff --git a/.github/actions/maven-release/action.yml b/.github/actions/maven-release/action.yml index d2fd312c8..6b65462a2 100644 --- a/.github/actions/maven-release/action.yml +++ b/.github/actions/maven-release/action.yml @@ -75,7 +75,7 @@ runs: path: '${{ env.REPO_DIR }}' token: ${{ inputs.github-token }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v8.3.0 id: check-tag with: tag: ${{ env.RELEASE_VERSION }} @@ -147,7 +147,7 @@ runs: - name: Commit changes if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.3.0 with: username: ${{ inputs.git-username }} add-options: -u diff --git a/.github/actions/reportportal-prepare/action.yml b/.github/actions/reportportal-prepare/action.yml index 4c27d5689..5ad30cbe4 100644 --- a/.github/actions/reportportal-prepare/action.yml +++ b/.github/actions/reportportal-prepare/action.yml @@ -46,7 +46,7 @@ runs: using: composite steps: - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: Compute Report Portal input info id: info diff --git a/.github/actions/send-slack-notification-slow-job/action.yml b/.github/actions/send-slack-notification-slow-job/action.yml index e2769ca9e..20c5b4e4a 100644 --- a/.github/actions/send-slack-notification-slow-job/action.yml +++ b/.github/actions/send-slack-notification-slow-job/action.yml @@ -25,7 +25,7 @@ runs: - name: Slack Notification if: fromJSON(steps.fetch_time.outputs.total_time) > fromJSON(inputs.max-build-time-seconds) - uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v8.3.0 with: channel-id: ${{ inputs.slack-channel }} message: 'Max build time exceeded: took ${{ steps.fetch_time.outputs.total_time }} seconds (expected max: ${{ inputs.max-build-time-seconds }} seconds)' diff --git a/.github/actions/send-slack-notification/action.yml b/.github/actions/send-slack-notification/action.yml index cb706b56c..5bbb0d663 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -109,7 +109,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v8.3.0 - name: Send slack notification id: slack diff --git a/.github/actions/setup-helm-docs/action.yml b/.github/actions/setup-helm-docs/action.yml index f3accd2f2..b40fe6c47 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -11,7 +11,7 @@ outputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.3.0 with: repo: norwoodj/helm-docs version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index 2b31fa1ef..6bc28d93c 100644 --- a/.github/actions/setup-jx-release-version/action.yml +++ b/.github/actions/setup-jx-release-version/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.3.0 with: repo: jenkins-x-plugins/jx-release-version version: ${{ inputs.version }} diff --git a/.github/actions/setup-terraform-docs/action.yml b/.github/actions/setup-terraform-docs/action.yml index 57f9313bb..1ff3f28a7 100644 --- a/.github/actions/setup-terraform-docs/action.yml +++ b/.github/actions/setup-terraform-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v8.3.0 with: repo: terraform-docs/terraform-docs version: ${{ inputs.version }} diff --git a/.github/actions/update-pom-to-next-pre-release/action.yml b/.github/actions/update-pom-to-next-pre-release/action.yml index 6ffa1d287..37576f865 100644 --- a/.github/actions/update-pom-to-next-pre-release/action.yml +++ b/.github/actions/update-pom-to-next-pre-release/action.yml @@ -33,7 +33,7 @@ runs: - id: next-prerelease-resolver name: Calculate next internal release if: inputs.version == '' - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.3.0 with: next-version: ${{ steps.parse-next-final-version.outputs.result }} prerelease-type: ${{ inputs.prerelease-type }} @@ -50,7 +50,7 @@ runs: fi - name: Update pom files to the new version - uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v8.3.0 with: version: ${{ steps.resolve-version.outputs.version }} maven-cli-opts: ${{ inputs.maven-cli-opts }} diff --git a/.github/workflows/build-and-release-maven.yml b/.github/workflows/build-and-release-maven.yml index d68763d21..6d4914ad9 100644 --- a/.github/workflows/build-and-release-maven.yml +++ b/.github/workflows/build-and-release-maven.yml @@ -65,7 +65,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.3.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v8.3.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v8.3.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} email: ${{ secrets.BOT_GITHUB_EMAIL }} diff --git a/.github/workflows/helm-publish-new-package-version.yml b/.github/workflows/helm-publish-new-package-version.yml index 93748ec9f..d1830ce4f 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -46,7 +46,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v8.3.0 with: next-version: ${{ inputs.next-version }} @@ -57,13 +57,13 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v8.3.0 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} helm-docs-version: ${{ inputs.helm-docs-version }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.2.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v8.3.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -74,7 +74,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v8.3.0 with: chart-dir: ${{ inputs.chart-dir }} @@ -82,7 +82,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v8.3.0 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} diff --git a/.github/workflows/terraform.yml b/.github/workflows/terraform.yml index 3a41b6089..fc80bd8b8 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -94,7 +94,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.2.0 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v8.3.0 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml From 185cdefc20a54c823d9d5ab19c41a392ceb2a1fd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:10:58 +0100 Subject: [PATCH 68/70] Bump updatecli/updatecli-action from 2.68.0 to 2.70.0 (#814) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/updatecli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/updatecli.yml b/.github/workflows/updatecli.yml index 8e0d6c522..426cc4c97 100644 --- a/.github/workflows/updatecli.yml +++ b/.github/workflows/updatecli.yml @@ -40,7 +40,7 @@ jobs: file: ${{fromJson(needs.build-matrix-github-releases.outputs.matrix)}} steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - uses: updatecli/updatecli-action@92a13b95c2cd9f1c6742c965509203c6a5635ed7 # v2.68.0 + - uses: updatecli/updatecli-action@704a64517239e0993c5e3bf6749a063b8f950d9f # v2.70.0 - name: Run Updatecli run: updatecli apply -c .updatecli/templates/github_releases.yaml -v .updatecli/values/github_releases/${{ matrix.file }} From 57af7395e7391b362d25cee71aa0f076fd0a703a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:12:43 +0100 Subject: [PATCH 69/70] Bump anchore/scan-action from 5.2.0 to 5.2.1 in /.github/actions/docker-build-image in the catch-all group (#813) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/docker-build-image/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/docker-build-image/action.yml b/.github/actions/docker-build-image/action.yml index a11f9fa4f..718769e4b 100644 --- a/.github/actions/docker-build-image/action.yml +++ b/.github/actions/docker-build-image/action.yml @@ -126,7 +126,7 @@ runs: - name: Anchore Scan API Image if: inputs.grype-scan-enabled == 'true' - uses: anchore/scan-action@5ed195cc06065322983cae4bb31e2a751feb86fd # v5.2.0 + uses: anchore/scan-action@f2ba85e044c8f5e5014c9a539328a9c78d3bfa49 # v5.2.1 id: scan with: fail-build: ${{ inputs.grype-fail-build }} From d02b5ce396eef168b6bee6c43ad724b717f6bdbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 Nov 2024 12:13:29 +0100 Subject: [PATCH 70/70] Bump pipenv from 2024.3.1 to 2024.4.0 in /.github/actions/pipenv (#812) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/actions/pipenv/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/pipenv/requirements.txt b/.github/actions/pipenv/requirements.txt index cbd196323..7ca1918f0 100644 --- a/.github/actions/pipenv/requirements.txt +++ b/.github/actions/pipenv/requirements.txt @@ -1 +1 @@ -pipenv==2024.3.1 +pipenv==2024.4.0