tree: 74826ba7c6d9aea7cf7fd1e3666db363f851f538 [path history] [tgz]
  1. builder.Dockerfile
  2. cloudbuild-deploy-docs.yaml
  3. README.md
util/site/site-builder/README.md

Site-Builder Container

builder.Dockerfile defines a container with all of the required dependencies to build the site + documentation. In order to speed up the deployment, an image of this container is deployed to the Google Container Registry (GCR) (gcr.io/gold-hybrid-255313/builder). This image is used to spawn a Gcloud ‘Cloud Build’ job whenever a PR is merged into master, which runs the steps in cloudbuild-deploy-docs.yaml. After running the site build script (util/site/build-docs.sh), this job copies the generated artifacts to the Gcloud bucket which serves the website. This cuts the deployment of any updated site/documentation changes down to about 1 minute.