From abfdf09b32bc4fc0c2544e600918323a08894c96 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Mon, 14 Jul 2025 17:01:15 -0500 Subject: [PATCH] Rewrite deploy workflow to also be split up --- .circleci/config.yml | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 748c1a64..2371adbf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -129,12 +129,9 @@ jobs: steps: - check_middleware_api_versions - mvn_deploy: + deploy: executor: localstack/default steps: - - mvn_build - - mvn_verify - - check_middleware_api_versions - mvn_jar_deploy publish_asciidoc: @@ -174,13 +171,41 @@ workflows: deploy: jobs: - - mvn_deploy: + - build: context: [ qqq-maven-registry-credentials, build-qqq-sample-app ] filters: branches: only: /(dev|integration.*)/ tags: 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: filters: branches: