WIP: Add review apps support
This introduces initial support for review apps using the work introduced in this MR: gitlab-development-kit!243 (closed).
- It requires to have an existing Kubernetes cluster. It requires the project to have Kubernetes Service configured in
Integrations > Kubernetes
. - It requires to have
kube-lego
, ideally with nginx ingress controller installed, by following: https://github.com/jetstack/kube-lego/tree/master/examples/nginx, - It requires when logged to Kubernetes on GKE to have:
l7-default-backend-v1.0
replication controller (inkube-system
namespace) to be scalled to 0, - It requires to have a public IP, that is assigned to:
nginx
service (innginx-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.