ci: authenticate artifactapi upload with a vault token #189

Merged
benvin merged 1 commits from benvin/artifactapi-upload-token into master 2026-10-25 23:07:55 +11:00
Member

artifactapi is about to enforce auth on file uploads (ARTIFACTAPI_AUTH_UPLOADS), and the deploy pipelines PUT rpms anonymously.

  • mint an artifactapi-writer OIDC token via Vault k8s auth (role woodpecker_artifactapi_writer) using the step SA token
  • fail the step if minting fails (set -o pipefail)
  • send the token as Authorization: Bearer via a header file on each rpm PUT
  • apply to the almalinux9, fedora42, fedora43 and fedora44 deploy pipelines
artifactapi is about to enforce auth on file uploads (`ARTIFACTAPI_AUTH_UPLOADS`), and the deploy pipelines PUT rpms anonymously. - mint an `artifactapi-writer` OIDC token via Vault k8s auth (role `woodpecker_artifactapi_writer`) using the step SA token - fail the step if minting fails (`set -o pipefail`) - send the token as `Authorization: Bearer` via a header file on each rpm PUT - apply to the almalinux9, fedora42, fedora43 and fedora44 deploy pipelines
unkin-agent added 1 commit 2026-10-25 20:32:57 +11:00
ci: authenticate rpm uploads with a vault-minted artifactapi token
ci/woodpecker/pr/build-fedora42 Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build-fedora43 Pipeline was successful
ci/woodpecker/pr/build-almalinux9 Pipeline was successful
ci/woodpecker/pr/build-fedora44 Pipeline was successful
145d96761c
Author
Member

No findings.

No findings.
benvin merged commit c333ea078d into master 2026-10-25 23:07:55 +11:00
benvin deleted branch benvin/artifactapi-upload-token 2026-10-25 23:07:55 +11:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unkin/rpmbuilder#189