Add CI_REGISTRY_VISIBILITY variable for Auto DevOps

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

Auto DevOps relies on CI_PROJECT_VISIBILITY to decide if a registry secret should be populated in the cluster. Public projects, however, can have private registries. In this case, Auto DevOps won't populate the registry secret and the deployment will fail.

Proposal

Add a variable CI_REGISTRY_VISIBILITY, analogous to CI_PROJECT_VISIBILITY, but specific to the registry.

Intended users

Feature Usage Metrics

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖