Skip to content

Handle multiple apps

Mark Pundsack requested to merge 27193-handle-multiple-projects into master

Makes:

  • production app use url: http://$CI_PROJECT_NAME.$KUBE_DOMAIN
  • staging app use url: http://$CI_PROJECT_NAME-staging.$KUBE_DOMAIN
  • review apps use url: http://$CI_PROJECT_NAME-$CI_ENVIRONMENT_SLUG.$KUBE_DOMAIN

Also uses $CI_BUILD_REF_SLUG in environment name instead of $CI_BUILD_REF_NAME, which may have odd characters (including more slashes).

e.g. foo.example.com, foo-staging.com, and foo-27193-handle-4f99a2.example.com

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/27193

Merge request reports