Skip to content

Commit

Permalink
Merge pull request #7196 from freedomofpress/stg-mig-gce-fix
Browse files Browse the repository at this point in the history
Enable deprecated docker pull functionalty to fix nightlies.
  • Loading branch information
legoktm authored Jul 1, 2024
2 parents e2b96ea + b2cb72f commit e6f0941
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions devops/gce-nested/ci-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e6f0941

Please sign in to comment.