This repository has been archived on 2026-11-21. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
artifactapi/e2e-docker/oidc
unkin-agent 6429e62f17
ci/woodpecker/tag/docker Pipeline failed
Run the dockerised e2e suite with write auth enabled (#181)
Write auth broke buildkit pushes in production because the dockerised e2e suite runs artifactapi with auth disabled, so no real client ever authenticated a publish.

- serve a static mock OIDC issuer; TestMain generates the key, writes the JWKS and mints tokens
- run the stack with ARTIFACTAPI_AUTH_UPLOADS=true
- authenticate each local publish the way its client does (curl Bearer/Basic, docker login, npm, gem, ansible-galaxy)
- assert publishes without a token or with a foreign-key token get 401 and anonymous reads still work
- add docker CLI, buildx and helm OCI push cases; skip the last two until unkin/artifactapi#180 lands

Reviewed-on: #181
Co-authored-by: unkin-agent <unkin-agent@unkin.net>
Co-committed-by: unkin-agent <unkin-agent@unkin.net>
2026-11-08 11:08:00 +11:00
..