diff --git a/.github/actions/calculate-next-internal-version/action.yml b/.github/actions/calculate-next-internal-version/action.yml index 57003daf4..99b45896a 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@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-pysemver@v6.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 8bda1f66d..9b6dca76f 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.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 16a05d304..290fc76d0 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@v6.0.1 + Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.1.0 - name: Get commit msg uses: >- - Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v6.0.1 + Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v6.1.0 - name: Get a namespace to deploy on id: k8sns uses: >- - Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v6.0.1 + Alfresco/alfresco-build-tools/.github/actions/dbp-charts/kubernetes-valid-ns@v6.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@v6.0.1 + Alfresco/alfresco-build-tools/.github/actions/kubectl-keep-nslogs@v6.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 9af3f235b..5f63bfb15 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.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 a706c51ee..9b1e1e139 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.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 6d11f23fc..ac8ad1337 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.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 a4e7068b2..03529a599 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/github-deployment-status-update@v6.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 345704d3a..3e0787c0f 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/setup-rancher-cli@v6.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 d32b73073..a07e81f80 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v6.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 e9b6595d2..7c3a07079 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v6.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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v6.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 a775ad396..d3be5379b 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@v6.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 4b26a5cc5..a289e419e 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/update-pom-to-next-pre-release@v6.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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v6.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 366f1a9a9..0e7066585 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-check-existing-tag@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v6.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 362b6f7d3..98ae55dfa 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.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 fc2aee692..69eb8cab6 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@v6.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 68d8e3a21..6dc057dca 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/get-branch-name@v6.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 6b42cad70..78683c411 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v6.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 c8ae8405f..c41873e05 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v6.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 dffa8ae69..b1667bc76 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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-github-release-binary@v6.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 0782ec9c6..3c04f0b84 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/maven-update-pom-version@v6.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 9261b53ac..51781f29f 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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v6.1.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} @@ -107,11 +107,11 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: persist-credentials: false - - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/setup-java-build@v6.1.0 with: java-version: ${{ inputs.java-version }} java-distribution: ${{ inputs.java-distribution }} - - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/configure-git-author@v6.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 9ad3b8cc0..ea55c80d9 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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-update-chart-version@v6.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@v6.0.1 + - uses: Alfresco/alfresco-build-tools/.github/actions/git-commit-changes@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@v6.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@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/helm-publish-chart@v6.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 3cb80b2e0..2e33991f4 100644 --- a/.github/workflows/terraform.yml +++ b/.github/workflows/terraform.yml @@ -90,7 +90,7 @@ jobs: role-session-name: TerraformWorkflow - name: Load environment variables from yml - uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v6.0.1 + uses: Alfresco/alfresco-build-tools/.github/actions/env-load-from-yaml@v6.1.0 with: yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml