Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab Docs GitLab Docs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 185
    • Issues 185
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab DocsGitLab Docs
  • Issues
  • #735
Closed
Open
Issue created May 04, 2020 by Achilleas Pipinellis@axil👶Maintainer1 of 7 checklist items completed1/7 checklist items

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:

  1. Set up a GCS bucket for serving gitlab-docs Review Apps gitlab-com/gl-infra/reliability#10791 (closed)
  2. Create a chef cookbook for gitlab-docs that will provision a server with NGINX installed, and set it up like the marketing site. Could we possibly host the Docs NGINX config along with the marketing site? 🤔 gitlab-com/gl-infra/reliability#11021
  3. Set a wildcard DNS record for *.docs.gitlab-review.app to point to the IP address of the NGINX server.
  4. Create wildcard TLS certificate for *.docs.gitlab-review.app.

For us:

  1. Copy the deploy and review-replace-urls scripts under gitlab-docs.
  2. Set up .gitlab-ci.yml to use GCP buckets (!1045 (closed)) and deploy scripts.
  3. Update documentation (example gitlab!38498 (closed))

Relevant issues/MRs

  • https://gitlab.com/gitlab-cookbooks/cookbook-about-gitlab-com/-/merge_requests/75+
  • Deploy review apps to a GCS bucket (gitlab-com/www-gitlab-com!35869 - merged)
  • https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/8203+
Edited Jun 02, 2022 by Achilleas Pipinellis
Assignee
Assign to
Time tracking