commit | 34478a9fcff675c9299c022083472cc6078c1149 | [log] [tgz] |
---|---|---|
author | James Ye <jamesye@google.com> | Mon Feb 14 12:23:00 2022 +1100 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 18 06:16:20 2022 +0000 |
tree | 4491428af231e9a2e84df5d961124e4652df130c | |
parent | d51fa758a056ace683c4f717f45ad16ccc5cf1cd [diff] |
kokoro: Run on Ubuntu 20.04 agents This contains the script changes to support running on Kokoro's Ubuntu 20.04 LTS images instead of the legacy Ubuntu 16.04 LTS images. Unlike the legacy images, the new images do not contain preinstalled software or helper scripts beyond the default GCP Ubuntu installation and the packages needed for Kokoro, so we have to install a few additional things ourselves. * Drop non-default versions of deb packages. * Drop non-default version of Go. * Drop pylxd patch. * Install Bazel 4 LTS from apt repo instead of helper script. * Install Docker which is no longer preinstalled. * Remove LXD install as it is now preinstalled. * Remove workaround for b/215269643 (crbug.com/1060811) * Disable automatic apt updates/upgrades before trying to install any packages. BUG=b:217278899,b:215269643 TEST=kokoro Change-Id: I9185425c2c1e2911e32e52811fd3302fffeab22e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/3461610 Reviewed-by: David Munro <davidmunro@google.com> Reviewed-by: Fergus Dall <sidereal@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: James Ye <jamesye@google.com>
These are the guest packages for setting up a container to integrate with Chrome OS. This includes build scripts that are run in Google's internal continuous integration service.
The guest packages can be built with Bazel.
bazel build //cros-debs:debs
promote\_apt.sh MILESTONE
and promote\_container.sh MILESTONE
in scripts are used to promote containers from staging to live. NOTE: Whatever is the latest in staging is what gets promoted to live so make sure it's what was tested.