Repository navigation
ci: Migrate Artifactory auth in reusable workflows to Doppler - #354
Draft
LimbicNode42 wants to merge 3 commits into
Draft
LimbicNode42 wants to merge 3 commits into
LimbicNode42 wants to merge 3 commits into
Conversation
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>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-docsandcompilation-tool/compilefrom Vault AppRole to Doppler OIDC.Changes:
DOPPLER_IDENTITY_IDinstead ofVAULT_ROLE_ID/VAULT_SECRET_IDwherever secrets were passed explicitly. Jobs usingsecrets: inheritneed no secret change. The repo already has theDOPPLER_IDENTITY_IDsecret and Dopplerartifactory/prodaccess.id-token: write(plus any permissions the workflow requires) on the calling jobs.pytestonly: the new major also contains the v3 rename ofpython-versionstocontainer-image-tags(qctrl/reusable-workflows#879), applied here with the same values. From v3 onwards, pytest only mounts the Docker socket whenrun-docker-compose-services: true.Testing: this temporarily points at the
@infra-3773-remaining-vault-contractsbranch. 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/v3oractions/compilation-tool/compile/v3.INFRA-3980: container images and checkout
Also addresses https://qctrl.atlassian.net/browse/INFRA-3980:
update_documentationruns inghcr.io/qctrl/container-images/ci/python:3.12and grantspackages: read.releasenow callspoetry-release.yaml@workflows/poetry-release/v4withcontainer: ghcr.io/qctrl/container-images/ci/python/poetry:3.12andpublish-publicly: true, the same setup as boulder-opal-python-client and fire-opal-python-client. It replaces the old image's./citool and/scripts/housekeeping.shplus the publish scripts. The reusable workflow handles the version bump and push to master, plus internal (Artifactory) and public (PyPI) publishing. There is nosetup.py, so dropping the old housekeepingsetup.pysync changes nothing. This job only runs on release, so it can't be branch-tested.