chore(deps): upgrade Alfresco/hxp-process-services to version 7.19.0-… #8868
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
name: Build | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
env: | |
MAVEN_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} | |
MAVEN_USERNAME: ${{ secrets.NEXUS_USERNAME }} | |
MAVEN_CLI_OPTS: >- | |
--settings settings.xml | |
-V --no-transfer-progress -Dspring.main.banner-mode=off -Ddoclint=none | |
-Denvironment.host=${{ vars.ENVIRONMENT_HOST }} | |
-Denvironment.apa.host=${{ vars.ENVIRONMENT_APA_HOST }} | |
-Denvironment.application.name=${{ vars.ENVIRONMENT_APP }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref_name || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
pre-checks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Check dependabot build | |
uses: Activiti/Activiti/.github/actions/check-ext-build@7700f0283a9ff5181581a350d2520e55c61c1c60 # 8.6.0 | |
- name: pre-commit | |
uses: Alfresco/alfresco-build-tools/.github/actions/pre-commit@9d00215f539f669b41c7fabf7b88ccc8f316926c # v6.0.1 | |
with: | |
skip_checkout: true | |
- name: Ensure SHA pinned actions | |
uses: zgosalvez/github-actions-ensure-sha-pinned-actions@b88cd0aad2c36a63e42c71f81cb1958fed95ac87 # v3.0.10 | |
build: | |
runs-on: ubuntu-latest | |
needs: | |
- pre-checks | |
outputs: | |
version: ${{ steps.build-and-tag.outputs.version }} | |
steps: | |
- uses: Alfresco/alfresco-build-tools/.github/actions/maven-build-and-tag@9d00215f539f669b41c7fabf7b88ccc8f316926c # v6.0.1 | |
id: build-and-tag | |
with: | |
upload-jars: 'true' | |
extra-maven-opts: -T 1C -DunitTests.parallel=true | |
maven-username: ${{ secrets.NEXUS_USERNAME }} | |
maven-password: ${{ secrets.NEXUS_PASSWORD }} | |
quay-username: ${{ secrets.QUAY_USERNAME }} | |
quay-password: ${{ secrets.QUAY_PASSWORD }} | |
docker-username: ${{ secrets.DOCKER_USERNAME }} | |
docker-password: ${{ secrets.DOCKER_PASSWORD }} | |
git-username: ${{ secrets.BOT_GITHUB_USERNAME }} | |
java-version: '21' | |
promote: | |
runs-on: ubuntu-latest | |
needs: | |
- build | |
if: github.event_name == 'push' | |
env: | |
VERSION: ${{ needs.build.outputs.version }} | |
DEVELOPMENT_BRANCH: ${{ github.ref_name }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- uses: Alfresco/alfresco-build-tools/.github/actions/setup-helm-docs@9d00215f539f669b41c7fabf7b88ccc8f316926c # v6.0.1 | |
- uses: Alfresco/alfresco-build-tools/.github/actions/jx-updatebot-pr@9d00215f539f669b41c7fabf7b88ccc8f316926c # v6.0.1 | |
with: | |
version: ${{ needs.build.outputs.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: | |
- promote | |
if: always() && failure() && github.event_name == 'push' | |
steps: | |
- name: Slack Notification | |
uses: Alfresco/alfresco-build-tools/.github/actions/send-slack-notification@9d00215f539f669b41c7fabf7b88ccc8f316926c # v6.0.1 | |
with: | |
channel-id: 'eng-hxp-studio-be-gh-notifs' | |
token: ${{ secrets.SLACK_NOTIFICATION_BOT_TOKEN }} |