Expose project visibility as CI variable
Auto DevOps (and Auto Deploy) uses
CI_JOB_TOKEN for credentials to allow k8s to read images for deployments, but it does this even for public projects. We should expose the project visibility as a predefined CI variable so that Auto DevOps can skip secret creation and usage for public projects.
CI_PROJECT_VISIBILITY with values of
Links / references
What is it? Why should someone use this feature? What is the underlying (business) problem? How do you use this feature?
Who is this for? Provide one or more use cases.
Make sure these are completed before closing the issue, with a link to the relevant commit.