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/.gitignore
T
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

10 lines
278 B
Plaintext

bin/
/terraform/
# e2e-docker fixtures are real package files (.rpm, .tgz, .whl, .zip, ...) that
# are intentionally tracked, overriding any global ignore of those extensions.
!e2e-docker/fixtures/**
# Written per run by the dockerised e2e TestMain.
e2e-docker/oidc/jwks.json