Skip to content

ci: Migrate Artifactory auth in reusable workflows to Doppler - #354

Draft
LimbicNode42 wants to merge 3 commits into
masterfrom
infra-3773-artifactory-doppler
Draft

LimbicNode42 wants to merge 3 commits into
masterfrom
infra-3773-artifactory-doppler

Conversation

@LimbicNode42

@LimbicNode42 LimbicNode42 commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Addresses: https://qctrl.atlassian.net/browse/INFRA-3773

Depends on qctrl/reusable-workflows#1046, which moves Artifactory auth in pytest, mkdocs-build-deploy, poetry-build-wheel, qctrl-api-framework-checks, docs/update-docs and compilation-tool/compile from Vault AppRole to Doppler OIDC.

Changes:

  • Pass DOPPLER_IDENTITY_ID instead of VAULT_ROLE_ID / VAULT_SECRET_ID wherever secrets were passed explicitly. Jobs using secrets: inherit need no secret change. The repo already has the DOPPLER_IDENTITY_ID secret and Doppler artifactory/prod access.
  • Grant id-token: write (plus any permissions the workflow requires) on the calling jobs.
  • pytest only: the new major also contains the v3 rename of python-versions to container-image-tags (qctrl/reusable-workflows#879), applied here with the same values. From v3 onwards, pytest only mounts the Docker socket when run-docker-compose-services: true.

Testing: this temporarily points at the @infra-3773-remaining-vault-contracts branch. Before merging, switch to the released tag once #1046 is merged: workflows/pytest/v4, workflows/mkdocs-build-deploy/v4, workflows/poetry-build-wheel/v2, workflows/qctrl-api-framework-checks/v2, actions/docs/update-docs/v3 or actions/compilation-tool/compile/v3.

INFRA-3980: container images and checkout

Also addresses https://qctrl.atlassian.net/browse/INFRA-3980:

  • update_documentation runs in ghcr.io/qctrl/container-images/ci/python:3.12 and grants packages: read.
  • release now calls poetry-release.yaml@workflows/poetry-release/v4 with container: ghcr.io/qctrl/container-images/ci/python/poetry:3.12 and publish-publicly: true, the same setup as boulder-opal-python-client and fire-opal-python-client. It replaces the old image's ./ci tool and /scripts/housekeeping.sh plus the publish scripts. The reusable workflow handles the version bump and push to master, plus internal (Artifactory) and public (PyPI) publishing. There is no setup.py, so dropping the old housekeeping setup.py sync changes nothing. This job only runs on release, so it can't be branch-tested.

LimbicNode42 and others added 3 commits December 2, 2026 10:48
Refs INFRA-3773

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
INFRA-3980

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace the release job that relied on qctrl/ci-images /scripts and the ./ci tool with poetry-release.yaml v4 (ghcr.io/qctrl/container-images/ci/python/poetry:3.12), matching the Python clients. Part of INFRA-3980.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant