-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff7a2bd
commit 24d3d12
Showing
23 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ runs: | |
using: "composite" | ||
steps: | ||
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
- id: next-prerelease-resolver | ||
run: ${{ github.action_path }}/next-prerelease.sh | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,7 @@ runs: | |
with: | ||
fetch-depth: 0 | ||
- name: Get branch name | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
- name: Publish | ||
run: ${{ github.action_path }}/publish_chart.sh | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -85,14 +85,14 @@ runs: | |
password: ${{ inputs.docker_password }} | ||
- name: Get branch name | ||
uses: >- | ||
Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
- name: Get commit msg | ||
uses: >- | ||
Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
- name: Get a namespace to deploy on | ||
id: k8sns | ||
uses: >- | ||
Alfresco/alfresco-build-tools/.github/actions/dbp-charts/[email protected].0 | ||
Alfresco/alfresco-build-tools/.github/actions/dbp-charts/[email protected].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/[email protected].0 | ||
Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
namespace: ${{ steps.k8sns.outputs.namespace }} | ||
- name: Uninstall Helm releases | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ runs: | |
using: composite | ||
steps: | ||
- name: Get branch name | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
|
||
- name: Check is Dependabot PR or Propagation PR | ||
id: check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
- name: "Get build info" | ||
run: | | ||
[[ $GITHUB_EVENT_NAME == "pull_request" ]] && IS_PULL_REQUEST="true" || IS_PULL_REQUEST="false" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ runs: | |
using: "composite" | ||
steps: | ||
- name: Get branch name | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
|
||
- name: Check upcoming runs | ||
id: check | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ runs: | |
- name: Update Deployment State | ||
if: ${{ inputs.state != '' }} | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
github-token: ${{ inputs.github-token }} | ||
deployment-id: ${{ steps.create.outputs.id }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ runs: | |
using: composite | ||
steps: | ||
- name: Setup rancher | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
url: ${{ inputs.test-rancher-url }} | ||
access-key: ${{ inputs.test-rancher-access-key }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,7 +110,7 @@ runs: | |
fi | ||
- name: Commit changes | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
username: ${{ inputs.git-username }} | ||
add-options: . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,22 +47,22 @@ runs: | |
run: | | ||
echo "VERSION=$VERSION" >> $GITHUB_ENV | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
id: check-tag | ||
with: | ||
tag: ${{ env.VERSION }} | ||
repository-directory: ${{ inputs.chart-repository-dir }} | ||
|
||
- name: Update chart version | ||
if: steps.check-tag.outputs.exists == 'false' | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
helm-charts-repo: ${{inputs.helm-repository}} | ||
helm-charts-repo-branch: ${{ inputs.helm-repository-branch }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ inputs: | |
runs: | ||
using: composite | ||
steps: | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
version: ${{ inputs.helm-docs-version }} | ||
- name: Update version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
if: github.event_name == 'push' | ||
with: | ||
username: ${{ inputs.git-username }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,7 @@ runs: | |
path: '${{ env.REPO_DIR }}' | ||
token: ${{ inputs.github-token }} | ||
|
||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
username: ${{ inputs.git-username }} | ||
add-options: -u | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ runs: | |
using: composite | ||
steps: | ||
- name: Get branch name | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
|
||
- name: Compute Report Portal input info | ||
id: info | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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)' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,7 +109,7 @@ runs: | |
echo "result=$RESULT" >> $GITHUB_OUTPUT | ||
- name: Get branch name | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
|
||
- name: Send slack notification | ||
id: slack | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ outputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
repo: norwoodj/helm-docs | ||
version: ${{ inputs.version != '' && inputs.version || env.DEFAULT_HELM_DOCS_VERSION }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
repo: jenkins-x-plugins/jx-release-version | ||
version: ${{ inputs.version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ inputs: | |
runs: | ||
using: "composite" | ||
steps: | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
repo: terraform-docs/terraform-docs | ||
version: ${{ inputs.version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ runs: | |
- id: next-prerelease-resolver | ||
name: Calculate next internal release | ||
if: inputs.version == '' | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
version: ${{ steps.resolve-version.outputs.version }} | ||
maven-cli-opts: ${{ inputs.maven-cli-opts }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,7 +65,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
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/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
java-version: ${{ inputs.java-version }} | ||
java-distribution: ${{ inputs.java-distribution }} | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
username: ${{ secrets.BOT_GITHUB_USERNAME }} | ||
email: ${{ secrets.BOT_GITHUB_EMAIL }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,7 +46,7 @@ jobs: | |
|
||
- id: next-release | ||
name: Calculate next internal release | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].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/[email protected].0 | ||
- uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
username: ${{ secrets.BOT_GITHUB_USERNAME }} | ||
add-options: -u | ||
|
@@ -74,15 +74,15 @@ jobs: | |
|
||
- name: Package Helm Chart | ||
id: package-helm-chart | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
chart-dir: ${{ inputs.chart-dir }} | ||
|
||
- name: Push tag | ||
run: git push origin $VERSION | ||
|
||
- name: Publish Helm chart | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
helm-charts-repo: ${{ inputs.helm-charts-repo }} | ||
helm-charts-repo-branch: ${{ inputs.helm-charts-repo-branch }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -94,7 +94,7 @@ jobs: | |
role-session-name: TerraformWorkflow | ||
|
||
- name: Load environment variables from yml | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].0 | ||
uses: Alfresco/alfresco-build-tools/.github/actions/[email protected].1 | ||
with: | ||
yml_path: ${{ inputs.terraform_root_path }}/tfenv.yml | ||
|
||
|