-
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
62f3765
commit 25453e2
Showing
18 changed files
with
34 additions
and
34 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@v2 | ||
- 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 |
---|---|---|
|
@@ -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 |
---|---|---|
|
@@ -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 |
---|---|---|
|
@@ -44,21 +44,21 @@ 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 }} | ||
|
||
- 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 }} | ||
|
@@ -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/[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 }} | ||
|
@@ -88,7 +88,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 |
---|---|---|
|
@@ -13,7 +13,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 | ||
- name: Update version | ||
shell: bash | ||
env: | ||
|
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 |
---|---|---|
|
@@ -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/[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 }} | ||
|
@@ -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/[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 }} | ||
|
@@ -146,7 +146,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 |
---|---|---|
|
@@ -42,7 +42,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 |
---|---|---|
|
@@ -75,7 +75,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 |
---|---|---|
|
@@ -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: norwoodj/helm-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 |
---|---|---|
|
@@ -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@v4 | ||
- 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@v4 | ||
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 |
---|---|---|
|
@@ -42,7 +42,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 }} | ||
|
||
|
@@ -53,12 +53,12 @@ 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 }} | ||
|
||
- 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 | ||
|
@@ -69,15 +69,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 }} | ||
|