Docker:
At least 25GB of free disk space.
Your username in the “docker” group.
Follow the instructions on Ask Ubuntu.
Gcloud:
You may need to authenticate and set the current project. To do so, run:
gcloud auth login gcloud config set project bazel-public gcloud config set zone europe-west1-d
The process typically looks like:
Make your change.
Deploy to Google Cloud with bazel run //gcr:deploy
.
Gracefully restart the Jenkins instance: https://ci.bazel.build/safeExit
If Jenkins doesn't exit fast enough, ensure that no important jobs are running and then: https://ci.bazel.build/exit