gvisor/kokoro/ubuntu1604
Fabricio Voznika 3c2e2f7d12 Update Kokoro image to install Golang 1.13
PiperOrigin-RevId: 284308422
2019-12-06 20:13:09 -08:00
..
10_core.sh Update Kokoro image to install Golang 1.13 2019-12-06 20:13:09 -08:00
20_bazel.sh Bump bazel, rules_go, gazelle, and go toolchain to latest versions. 2019-09-11 10:19:50 -07:00
25_docker.sh Update image to install docker and fix permissions 2019-08-30 15:27:47 -07:00
30_containerd.sh kokoro: Add scripts to rebuild images. 2019-08-27 23:29:02 -07:00
40_kokoro.sh kokoro: update images to install zip 2019-11-08 15:45:16 -08:00
README.md Update Kokoro image to install Golang 1.13 2019-12-06 20:13:09 -08:00
build.sh kokoro: Add scripts to rebuild images. 2019-08-27 23:29:02 -07:00

README.md

Image Update

After making changes to files in the directory, you must run the following commands to update the image Kokoro uses:

gcloud config set project gvisor-kokoro-testing
third_party/gvisor/kokoro/ubuntu1604/build.sh
third_party/gvisor/kokoro/ubuntu1804/build.sh

Note: the command above will change your default project for gcloud. Run gcloud config set project again to revert back to your default project.

Note: Files in third_party/gvisor/kokoro/ubuntu1804/ as symlinks to ubuntu1604, therefore both images must be updated.

After the script finishes, the last few lines of the output will container the image name. If the output was lost, you can run build.sh again to print the image name.

NAME                    PROJECT                FAMILY  DEPRECATED  STATUS
image-6777fa4666a968c8  gvisor-kokoro-testing                      READY
+ cleanup
+ gcloud compute instances delete --quiet build-tlfrdv
Deleted [https://www.googleapis.com/compute/v1/projects/gvisor-kokoro-testing/zones/us-central1-f/instances/build-tlfrdv].

To setup Kokoro to use the new image, copy the image names to their corresponding file below:

  • //devtools/kokoro/config/gcp/gvisor/ubuntu1604.gcl
  • //devtools/kokoro/config/gcp/gvisor/ubuntu1804.gcl