Move review apps from custom server to GCP buckets
The review apps server is a cheap VPS in GCP with only 100gb of storage. I'm using my personal dev account using sandbox. The server uses the runner's shell executor and rsync
to sync the built HTML files to a new directory that is served by NGINX.
We should move to GCP buckets like we have done with the marketing site.
We would need a server that has the NGINX configuration needed to redirect to the review apps.
For the infrastructure team:
-
Set up a GCS bucket for serving gitlab-docs
Review Apps https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/10791 -
Set up Fastly VCLs https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/11021 -
Set a wildcard DNS record for *.docs.gitlab-review.app
to point to the IP address of the NGINX server. -
Create wildcard TLS certificate for *.docs.gitlab-review.app
.
For us:
-
Copy the deploy
andreview-replace-urls
scripts undergitlab-docs
. -
Set up .gitlab-ci.yml
to use GCP buckets and deploy scripts. -
Update documentation gitlab!103205 (merged)
Relevant issues/MRs
Edited by Achilleas Pipinellis