From 37c27f7e37230396eeb81b8302a5584faf53a842 Mon Sep 17 00:00:00 2001 From: James Maes Date: Wed, 14 Oct 2026 16:33:57 -0500 Subject: [PATCH] ci: release pipeline (qqq-orb 0.6.9, snapshot, RC and GA publish workflows) Same workflows as the other qbits: test_only on feature branches, SNAPSHOT publish from develop, RC publish from release/*, GA publish from v* tags. Needed before the first release, 0.1.0-RC.1. Co-Authored-By: Claude Opus 5.5 --- .circleci/config.yml | 72 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 58 insertions(+), 14 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 010cd62..8f47e24 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,65 @@ version: 2.1 orbs: - qqq-orb: kingsrook/qqq-orb@0.5.0 + qqq-orb: kingsrook/qqq-orb@0.6.9 commands: - configure-package-install: - steps: - - run: - name: Keep package installation unattended - command: | - # These build machines are discarded after the job. - sudo install -d /etc/needrestart/conf.d - printf '%s\n' '$nrconf{restart} = "l";' | sudo tee /etc/needrestart/conf.d/99-qqq-ci.conf >/dev/null + configure-package-install: + steps: + - run: + name: Keep package installation unattended + command: | + # These build machines are discarded after the job. + sudo install -d /etc/needrestart/conf.d + printf '%s\n' '$nrconf{restart} = "l";' | sudo tee /etc/needrestart/conf.d/99-qqq-ci.conf >/dev/null workflows: - build: - jobs: - - qqq-orb/mvn_test_only: - pre-steps: - - configure-package-install + + test_only: + jobs: + - qqq-orb/mvn_test_only: + pre-steps: + - configure-package-install + context: [ qqq-maven-registry-credentials ] + filters: + branches: + ignore: /(develop|release/.*|integration.*)/ + tags: + only: [] + + publish_snapshot: + jobs: + - qqq-orb/mvn_publish: + pre-steps: + - configure-package-install + context: [ qqq-maven-registry-credentials ] + branch_type: snapshot + filters: + branches: + only: + - develop + + publish_release_candidate: + jobs: + - qqq-orb/mvn_publish: + pre-steps: + - configure-package-install + context: [ qqq-maven-registry-credentials ] + branch_type: release_candidate + filters: + branches: + only: + - /release\/.*/ + + publish_release: + jobs: + - qqq-orb/mvn_publish: + pre-steps: + - configure-package-install + context: [ qqq-maven-registry-credentials ] + branch_type: release + filters: + branches: + ignore: /.*/ + tags: + only: [ /^v\d+\.\d+\.\d+$/ ] -- 2.54.0