Resolve "Modify pipeline to use Project API token in dev"
Overview
Related issues
Closes #490 (closed)
Testing
- Confirm secret is being properly propagated:
kubectl create secret docker-registry -n default my-secret --docker-server=gitlab.com --docker-username=testuser --docker-password=verycooltestpass --docker-email=testuser@company.com
NO_TRAP="yes" REGISTRY_AUTH_SECRET=my-secret TESTS_NAMESPACE="foobar" sh -x scripts/test.sh create_namespace
kubectl get secret -n foobar my-secret
- Run full pipeline against MR in
.com
- Run full pipeline for the branch mirror in
dev
withREGISTRY_AUTH_SECRET=dev-registry-pull-secret
Acceptance criteria
-
Review namespace is created with pre-populated secret in dev
environment -
Review runs clean in non- dev
environment [ ]REGISTRY_AUTH_SECRET: dev-registry-pull-secret
is set for the pipeline indev
-
Review runs clean in dev
environment
Edited by Jason Plum