[go: up one dir, main page]

Add project ID to CI_ENVIRONMENT_URL in templates and auto deploy

Description

https://gitlab.com/gitlab-org/gitlab-ce/issues/27193 made auto deploy templates support multiple apps in the same cluster, but only if there's only one project of the same name per KUBE_DOMAIN. If someone is using forks, but within the same company, or otherwise has multiple projects with the same name trying to share the same KUBE_DOMAIN base domain, this is likely to break. Perhaps we should include the CI_PROJECT_ID in the CI_ENVIRONMENT_URL as well, so it's unique across the entire base domain (assuming you've only got once instance of GitLab per KUBE_DOMAIN).

Proposal

Links / references

Edited by Mark Pundsack