Skip to content

chore(deps): upgrade Alfresco/hxp-process-services to version 7.19.0-alpha.204 #3656

chore(deps): upgrade Alfresco/hxp-process-services to version 7.19.0-alpha.204

chore(deps): upgrade Alfresco/hxp-process-services to version 7.19.0-alpha.204 #3656

Workflow file for this run

name: Build
on:
push:
branches:
- develop
pull_request:
branches:
- develop
types:
- opened
- reopened
- synchronize
- labeled
env:
CHART_DIR: "helm/alfresco-process-application"
HELM_REPO_BASE_URL: https://kubernetes-charts.alfresco.com
HELM_REPO: Alfresco/charts
HELM_REPO_BRANCH: master
HELM_REPO_SUBFOLDER: incubator
jobs:
pre-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Check dependabot build
uses: Activiti/Activiti/.github/actions/check-ext-build@7700f0283a9ff5181581a350d2520e55c61c1c60 # 8.6.0
- name: Setup Helm Docs
uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
- name: Setup Kubepug
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kubepug@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
- name: pre-commit
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
skip_checkout: true
- name: Run Checkov
uses: bridgecrewio/checkov-action@e1bb78184f5dd3690fb1089d6c4f51295f9dff48 # v12.1839.0
with:
framework: kubernetes
- name: Ensure SHA pinned actions
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@5d6ac37a4cef8b8df67f482a8e384987766f0213 # v3.0.17
build:
runs-on: ubuntu-latest
needs: pre-checks
env:
TARGET_CHARTS_PATH: charts
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Build
uses: Alfresco/alfresco-build-tools/.github/actions/helm-build-chart@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
chart-dir: ${{ env.CHART_DIR }}
- name: Setup Cluster
uses: Alfresco/alfresco-build-tools/.github/actions/setup-kind@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
- name: Compute Keycloak Client Secret
id: compute-keycloak-secret
run: echo "result=$(uuidgen)" >> $GITHUB_OUTPUT
- name: Execute helm upgrade dry-run
env:
CHART_DIR: ${{ env.CHART_DIR }}
NAMESPACE: "test"
DOMAIN: "example"
KEYCLOAK_SECRET: ${{ steps.compute-keycloak-secret.outputs.result }}
shell: bash
run: |
NAMESPACE_LOWERCASE=$(echo ${NAMESPACE} | tr "[:upper:]" "[:lower:]")
helm upgrade $NAMESPACE_LOWERCASE $CHART_DIR \
--install \
--set global.gateway.domain=$DOMAIN \
--set global.keycloak.clientSecret=$KEYCLOAK_SECRET \
--namespace $NAMESPACE_LOWERCASE \
--wait \
--dry-run
- name: Package Helm Chart
id: package-helm-chart
uses: Alfresco/alfresco-build-tools/.github/actions/helm-package-chart@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
chart-dir: ${{ env.CHART_DIR }}
release:
runs-on: ubuntu-latest
needs: build
outputs:
version: ${{ steps.calculate-next-internal-version.outputs.next-prerelease }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Parse next release
id: helm-parse-next-release
uses: Alfresco/alfresco-build-tools/.github/actions/helm-parse-next-release@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
chart-dir: ${{ env.CHART_DIR }}
- id: calculate-next-internal-version
name: Calculate next internal release
uses: Alfresco/alfresco-build-tools/.github/actions/calculate-next-internal-version@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
next-version: ${{ steps.helm-parse-next-release.outputs.next-release }}
- id: helm-release-and-publish
name: Release and publish helm chart
uses: Alfresco/alfresco-build-tools/.github/actions/helm-release-and-publish@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
version: ${{ steps.calculate-next-internal-version.outputs.next-prerelease }}
chart-dir: ${{ env.CHART_DIR }}
helm-repository: ${{ env.HELM_REPO }}
helm-repository-branch: ${{ env.HELM_REPO_BRANCH }}
helm-repository-subfolder: ${{ env.HELM_REPO_SUBFOLDER }}
helm-repository-base-url: ${{ env.HELM_REPO_BASE_URL }}
helm-repository-token: ${{ secrets.BOT_GITHUB_TOKEN }}
git-username: ${{ secrets.BOT_GITHUB_USERNAME }}
do-push: ${{ github.event_name == 'push' }}
promote:
runs-on: ubuntu-latest
needs: release
if: github.event_name == 'push'
env:
VERSION: ${{ needs.release.outputs.version }}
DEVELOPMENT_BRANCH: ${{ github.ref_name }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: Alfresco/alfresco-build-tools/.github/actions/jx-updatebot-pr@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
version: ${{ env.VERSION }}
auto-merge: 'true'
labels: 'be-propagation,${{ env.DEVELOPMENT_BRANCH }}'
base-branch-name: ${{ env.DEVELOPMENT_BRANCH }}
git-username: ${{ secrets.BOT_GITHUB_USERNAME }}
git-token: ${{ secrets.BOT_GITHUB_TOKEN }}
git-author-name: ${{ secrets.BOT_GITHUB_USERNAME }}
notify:
runs-on: ubuntu-latest
needs:
- build
- release
- promote
if: always() && failure() && github.event_name == 'push'
steps:
- name: Teams Notification
uses: Alfresco/alfresco-build-tools/.github/actions/send-teams-notification@43b8dd18f509dc920089cdf54269f13a5c02022d # v8.5.0
with:
webhook-url: ${{ secrets.TEAMS_NOTIFICATION_AUTOMATE_BACKEND_WEBHOOK }}