Rewrite deploy workflow to also be split up

This commit is contained in:
2025-07-14 17:01:15 -05:00
parent 6ced3cbd61
commit abfdf09b32

View File

@ -129,12 +129,9 @@ jobs:
steps: steps:
- check_middleware_api_versions - check_middleware_api_versions
mvn_deploy: deploy:
executor: localstack/default executor: localstack/default
steps: steps:
- mvn_build
- mvn_verify
- check_middleware_api_versions
- mvn_jar_deploy - mvn_jar_deploy
publish_asciidoc: publish_asciidoc:
@ -174,13 +171,41 @@ workflows:
deploy: deploy:
jobs: jobs:
- mvn_deploy: - build:
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ] context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
filters: filters:
branches: branches:
only: /(dev|integration.*)/ only: /(dev|integration.*)/
tags: tags:
only: /(version|snapshot)-.*/ only: /(version|snapshot)-.*/
- test:
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
requires:
- build
filters:
branches:
only: /(dev|integration.*)/
tags:
only: /(version|snapshot)-.*/
- api_version_check:
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
requires:
- build
filters:
branches:
only: /(dev|integration.*)/
tags:
only: /(version|snapshot)-.*/
- deploy:
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
requires:
- test
- api_version_check
filters:
branches:
only: /(dev|integration.*)/
tags:
only: /(version|snapshot)-.*/
- publish_asciidoc: - publish_asciidoc:
filters: filters:
branches: branches: