Skip to content
Permalink
Browse files
Do not pre-bake images in the instance (#13)
The images are cleaned with docker system prune --all anyway
and we save very little (10-20 seconds) and no cost (it's free)
to pull the images as needed from the registry.
  • Loading branch information
potiuk committed Apr 2, 2021
1 parent 32378cf commit 1328951fdc2ed8baaf2b9818e948e6564b2fe71b
Showing 1 changed file with 0 additions and 7 deletions.
@@ -84,13 +84,6 @@ runcmd:
- [systemctl, restart, docker.service]
- [systemctl, enable, --now, vector.service]
- [systemctl, enable, --now, actions.runner.service]
-
- bash
- -c
- |
set -eu -o pipefail
echo "Pre-loading commonly used docker images from S3"
aws s3 cp s3://airflow-ci-assets/pre-baked-images.tar.gz - | docker load

write_files:
- path: /etc/systemd/system/actions.runner.service

0 comments on commit 1328951

Please sign in to comment.