From 042fc28b3e308e1d1159dfee61bc46c5940ed7b6 Mon Sep 17 00:00:00 2001 From: gionn Date: Tue, 28 Nov 2023 13:53:34 +0000 Subject: [PATCH] Release v5.4.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/get-build-info/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 +++++----- 19 files changed, 35 insertions(+), 35 deletions(-) diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 31ade770d..3430dcebd 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@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v5.4.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 5b0da97ba..463c49737 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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v5.4.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 deac2d0a5..16fecd50a 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@v5.3.0 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v5.4.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v5.3.0 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v5.4.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v5.3.0 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v5.4.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@v5.3.0 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v5.4.0 with: namespace: ${{ steps.k8sns.outputs.namespace }} - name: Uninstall Helm releases diff --git a/.github/actions/get-build-info/action.yml b/.github/actions/get-build-info/action.yml index c1cfaa068..e68b3cdef 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@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v5.4.0 - name: "Get build info" run: | [[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" diff --git a/.github/actions/helm-integration-tests/action.yml b/.github/actions/helm-integration-tests/action.yml index fb80cf443..23b2633b0 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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v5.4.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 69d21f7e2..60774e877 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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.4.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 0b4dd3aeb..6c52e48c7 100644 --- a/.github/actions/helm-release-and-publish/action.yml +++ b/.github/actions/helm-release-and-publish/action.yml @@ -44,7 +44,7 @@ runs: run: | echo "VERSION=$VERSION" >> $GITHUB_ENV - - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v5.4.0 id: check-tag with: tag: ${{ env.VERSION }} @@ -52,13 +52,13 @@ runs: - name: Update chart version if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v5.4.0 with: new-version: ${{ env.VERSION }} chart-repository-dir: ${{ inputs.chart-repository-dir }} chart-dir: ${{ inputs.chart-dir }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.4.0 if: steps.check-tag.outputs.exists == 'false' with: username: ${{ inputs.git-username }} @@ -75,7 +75,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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v5.4.0 with: chart-dir: ${{ inputs.chart-dir }} chart-repository-dir: ${{ inputs.chart-repository-dir }} @@ -88,7 +88,7 @@ runs: - name: Publish Helm chart if: steps.check-tag.outputs.exists == 'false' - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v5.4.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 c2c86f583..320ddea77 100644 --- a/.github/actions/helm-update-chart-version/action.yml +++ b/.github/actions/helm-update-chart-version/action.yml @@ -13,7 +13,7 @@ inputs: runs: using: composite steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v5.4.0 - name: Update version shell: bash env: diff --git a/.github/actions/maven-build-and-tag/action.yml b/.github/actions/maven-build-and-tag/action.yml index 3911ad428..48fdc47d1 100644 --- a/.github/actions/maven-build-and-tag/action.yml +++ b/.github/actions/maven-build-and-tag/action.yml @@ -121,7 +121,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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v5.4.0 with: property-to-update: ${{ inputs.property-to-update }} maven-cli-opts: ${{ steps.compute-maven-options.outputs.result }} @@ -216,7 +216,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@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.4.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 dfd356dbc..62c182e32 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@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v5.4.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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.4.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 bdef49cb3..3390b905b 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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v5.4.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 af2df6e0b..26c5b2933 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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v5.4.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 c74e341e1..486f51056 100644 --- a/.github/actions/send-slack-notification/action.yml +++ b/.github/actions/send-slack-notification/action.yml @@ -82,7 +82,7 @@ runs: echo "result=$RESULT" >> $GITHUB_OUTPUT - name: Get branch name - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v5.4.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 f77d46413..ecfee1ea7 100644 --- a/.github/actions/setup-helm-docs/action.yml +++ b/.github/actions/setup-helm-docs/action.yml @@ -8,7 +8,7 @@ inputs: runs: using: "composite" steps: - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v5.4.0 with: repo: norwoodj/helm-docs version: ${{ inputs.version }} diff --git a/.github/actions/setup-jx-release-version/action.yml b/.github/actions/setup-jx-release-version/action.yml index fb5eb895c..cc61453ec 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@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v5.4.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 2a69118cc..2ba5c3336 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@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v5.4.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 5b31dc9b4..4a4e8a80a 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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v5.4.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@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v5.4.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 8530d9b19..1e8bc324a 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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v5.4.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v5.4.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v5.4.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 330fd4adf..67d7e3e5d 100644 --- a/.github/workflows/helm-publish-new-package-version.yml +++ b/.github/workflows/helm-publish-new-package-version.yml @@ -42,7 +42,7 @@ jobs: - id: next-release name: Calculate next internal release - uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v5.4.0 with: next-version: ${{ inputs.next-version }} @@ -53,12 +53,12 @@ jobs: echo "VERSION=$VERSION" >> $GITHUB_ENV - name: Update chart version - uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v5.4.0 with: new-version: ${{env.VERSION}} chart-dir: ${{ inputs.chart-dir }} - - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.3.0 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v5.4.0 with: username: ${{ secrets.BOT_GITHUB_USERNAME }} add-options: -u @@ -69,7 +69,7 @@ jobs: - name: Package Helm Chart id: package-helm-chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v5.4.0 with: chart-dir: ${{ inputs.chart-dir }} @@ -77,7 +77,7 @@ jobs: run: git push origin $VERSION - name: Publish Helm chart - uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v5.3.0 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v5.4.0 with: helm-charts-repo: ${{ inputs.helm-charts-repo }} helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }}