Skip to content

WIP: Add review apps support

Kamil Trzciński requested to merge enable-review-apps into master

This introduces initial support for review apps using the work introduced in this MR: gitlab-development-kit!243 (closed).

  1. It requires to have an existing Kubernetes cluster. It requires the project to have Kubernetes Service configured in Integrations > Kubernetes.
  2. It requires to have kube-lego, ideally with nginx ingress controller installed, by following: https://github.com/jetstack/kube-lego/tree/master/examples/nginx,
  3. It requires when logged to Kubernetes on GKE to have: l7-default-backend-v1.0 replication controller (in kube-system namespace) to be scalled to 0,
  4. It requires to have a public IP, that is assigned to: nginx service (in nginx-ingress namespace) to be pointing to *.domain.com, the same domain that is configured in .gitlab-ci.yml: KUBE_DOMAIN.

If all these requirements are met, we have a Kubernetes based review apps of GitLab, running on auto-scaled cluster.

Merge request reports