Skip to content

Commit

Permalink
Does setting the Docker override in circleCI config work with setup_r…
Browse files Browse the repository at this point in the history
…emote_docker ?
  • Loading branch information
mig5 committed Jun 24, 2024
1 parent aec4ead commit 7381ad3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,19 @@ jobs:

working_directory: ~/sd
steps:
- setup_remote_docker:
version: "26.0.2"

Check warning on line 284 in .circleci/config.yml

View workflow job for this annotation

GitHub Actions / lint

284:10 [indentation] wrong indentation: expected 10 but found 9
- run:
command: |

Check warning on line 286 in .circleci/config.yml

View workflow job for this annotation

GitHub Actions / lint

286:10 [indentation] wrong indentation: expected 10 but found 9
ssh remote-docker "sudo mkdir -p /etc/systemd/system/docker.service.d"
cat \<< EOF ssh remote-docker "sudo tee -a /etc/systemd/system/docker.service.d/env.conf"
{
[Service]
Environment="DOCKER_ENABLE_DEPRECATED_PULL_SCHEMA_1_IMAGE=true"
}
EOF
ssh remote-docker "sudo systemctl daemon-reload"
ssh remote-docker "sudo systemctl restart docker"
- checkout
- *rebaseontarget
- *installenchant
Expand Down
6 changes: 0 additions & 6 deletions devops/gce-nested/ci-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ 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 7381ad3

Please sign in to comment.