container-guest-tools: Deal with gsutil

gsutil cp -r has semantics that depend on whether the target directory
already exists or not. If it does, the source directory will be
created under the target, otherwise the *contents* of the source
directory are copied directly under the (newly created) target. Make
sure we always target a directory that (shouldn't) exist by including
the build number in the target path.

BUG=none
TEST=Ran script

Disallow-Recycled-Builds: test-failures
Change-Id: Idd362a72e8d6533142613d8f08b77430f63fbd89
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/containers/cros-container-guest-tools/+/2636034
Reviewed-by: Nicholas Verne <nverne@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Fergus Dall <sidereal@google.com>
1 file changed
tree: 5b6d8cbc2dc24620319c17457af94438c72b9bcf
  1. .gitignore
  2. LICENSE
  3. OWNERS
  4. PRESUBMIT.cfg
  5. README.md
  6. WORKSPACE
  7. cros-adapta/
  8. cros-apt-config/
  9. cros-debs/
  10. cros-garcon/
  11. cros-gpu-alpha/
  12. cros-gpu-buster/
  13. cros-gpu-stretch/
  14. cros-guest-tools/
  15. cros-host-fonts/
  16. cros-logging/
  17. cros-notificationd/
  18. cros-pulse-config/
  19. cros-sftp/
  20. cros-sommelier-config/
  21. cros-sommelier/
  22. cros-sudo-config/
  23. cros-systemd-overrides/
  24. cros-tast-tests/
  25. cros-ui-config/
  26. cros-wayland/
  27. docs/
  28. kokoro/
  29. lxd/
  30. mesa/
  31. scripts/
  32. termina/
README.md

cros-container-guest-tools

Overview

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.

Building

The guest packages can be built with Bazel.

bazel build //cros-debs:debs --host_force_python=py2

Releasing

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.