You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/04/02 17:26:45 UTC
[airflow-ci-infra] branch main updated: Do not pre-bake images in
the instance (#13)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git
The following commit(s) were added to refs/heads/main by this push:
new 1328951 Do not pre-bake images in the instance (#13)
1328951 is described below
commit 1328951fdc2ed8baaf2b9818e948e6564b2fe71b
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Fri Apr 2 19:26:37 2021 +0200
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.
---
cloud-init.yml | 7 -------
1 file changed, 7 deletions(-)
diff --git a/cloud-init.yml b/cloud-init.yml
index a9f3c5f..05d71d5 100644
--- a/cloud-init.yml
+++ b/cloud-init.yml
@@ -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