From b2cb72f775ec51eb7e6792f9d6647e717cd48ad4 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Tue, 25 Jun 2024 09:38:22 +1000 Subject: [PATCH] See if we can workaround Docker deprecation issue --- devops/gce-nested/ci-go.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devops/gce-nested/ci-go.sh b/devops/gce-nested/ci-go.sh index ff80aa107e..92de93b796 100755 --- a/devops/gce-nested/ci-go.sh +++ b/devops/gce-nested/ci-go.sh @@ -14,6 +14,12 @@ set -o pipefail export BASE_OS="${BASE_OS:-focal}" +# Temporary workaround for old gcloud-sdk image +sudo mkdir -p /etc/systemd/system/docker.service.d +echo -e "[Service]\nEnvironment=\"DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=true\"" | sudo tee -a /etc/systemd/system/docker.service.d/env.conf +sudo systemctl daemon-reload +sudo systemctl restart docker + ./devops/gce-nested/gce-start.sh ./devops/gce-nested/gce-runner.sh ./devops/gce-nested/gce-stop.sh