zebra/.github
Gustavo Valverde 7b73aa0c84
ci: use Container-Optimized OS public image on the VM (#5617)
* ci(compute): use debian public image on the VM, not the container

Previous behavior:

We were pulling the debian image the wrong way, as this was being used
as a container but it was meant to be the VM image

The image being pulled to create the internal container has been causing
crashes as this images do not exists on Google's container repositories

Expected behavior:

Use a public image as debian-11 to get multiple benefits from it, as being
able to use machine-images (#5615) and automatic disk resizing (which
is now possible as we're using COS images, but those are more restrictive)

Solution

Add `--image-project=debian-cloud` and `--image-family=debian-11` as
stated in the official documentation: https://cloud.google.com/sdk/gcloud/reference/compute/instances/create-with-container#--image-project

More info: https://cloud.google.com/compute/docs/images/os-details#import

* fix: use a public image with docker on the host

* fix(logs): missing sudo before docker command

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-11-16 23:08:28 +00:00
..
ISSUE_TEMPLATE Remove "solution" from the ticket template (#2385) 2021-06-24 10:43:27 +01:00
PULL_REQUEST_TEMPLATE fix(doc): Use a more reliable release template branch name and docker command (#5519) 2022-11-03 00:28:46 +00:00
workflows ci: use Container-Optimized OS public image on the VM (#5617) 2022-11-16 23:08:28 +00:00
CODEOWNERS fix(ci): validate tests exit code after reading the container logs (#3968) 2022-04-07 23:16:40 +00:00
dependabot.yml change(release): Automatically split CHANGELOG entries into categories (#5203) 2022-09-27 12:41:55 +00:00
mergify.yml change(ci): Combine high and low Mergify queues into a batched queue (#5201) 2022-09-28 06:34:53 +10:00
pull_request_template.md change(dev): Add CHANGELOG checks to PR review template (#5202) 2022-09-21 18:47:28 +00:00
release-drafter.yml fix(ci): Reduce false positives for the `C-trivial` label (#5309) 2022-10-03 01:45:23 +00:00
zbot.yml Create zbot.yml 2020-06-13 06:15:20 -04:00