CI for new cluster management project fails with pull access denied
I created a new Cluster Management project from the template and ran the pipeline (as the docs suggested, to see if there were any helm2 projects that needed upgrading).
Immediately I get this error:
e[0KRunning with gitlab-runner 14.1.0-rc1 (e9489c8a)
e[0;me[0K on docker-auto-scale 0277ea0f
e[0;msection_start:1626388424:resolve_secrets
e[0Ke[0Ke[36;1mResolving secretse[0;m
e[0;msection_end:1626388424:resolve_secrets
e[0Ksection_start:1626388424:prepare_executor
e[0Ke[0Ke[36;1mPreparing the "docker+machine" executore[0;m
e[0;me[0KUsing Docker executor with image registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v1.1.0 ...
e[0;me[0KAuthenticating with credentials from job payload (GitLab Registry)
e[0;me[0KPulling docker image registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v1.1.0 ...
e[0;me[0;33mWARNING: Failed to pull image with policy "always": Error response from daemon: pull access denied for registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications, repository does not exist or may require 'docker login' (manager.go:205:0s)
e[0;msection_end:1626388439:prepare_executor
e[0Ke[31;1mERROR: Job failed: failed to pull image "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v1.1.0" with specified policies [always]: Error response from daemon: pull access denied for registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications, repository does not exist or may require 'docker login' (manager.go:205:0s)
e[0;m
-
What version are you on? Are you using self-managed or GitLab.com? GitLab.com
-
Add the CI configuration from
.gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml)
I literally did not change anything that was in the template:
detect-helm2-releases:
stage: test
image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v1.1.0"
environment:
name: production
script:
- gl-fail-if-helm2-releases-exist gitlab-managed-apps
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
apply:
stage: deploy
image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v1.1.0"
environment:
name: production
script:
- gl-ensure-namespace gitlab-managed-apps
- gl-helmfile --file $CI_PROJECT_DIR/helmfile.yaml apply --suppress-secrets
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH