This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new f8c6066c20 Increase timeout for kill-switch on ARM instances. (#37676)
f8c6066c20 is described below
commit f8c6066c2073ed86d60ba1245f6d56f4098e8abb
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Feb 24 16:27:30 2024 +0100
Increase timeout for kill-switch on ARM instances. (#37676)
In order to conserve cost, our ARM instances have kill switch that
causes self-termination after some time. Currently when we rebuild
cache for PROD images and the cache is not warmed up, it takes
longer than 40 minutes that was specified as timeout. Increasing
it to 90 minutes gives us more time to complete it.
The kill-switch is only there "in case" so that if the CI job
is cancelled, the machine still will shut-down predictably.
---
.github/workflows/ci.yml | 4 ++--
scripts/ci/images/initialize.sh | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a2773922c8..bc730277ce 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -2406,7 +2406,7 @@ jobs:
# It rebuilds all images using just-pushed constraints using buildx and
pushes them to registry
# It will automatically check if a new python image was released and will
pull the latest one if needed
push-buildx-cache-to-github-registry:
- timeout-minutes: 120
+ timeout-minutes: 110
name: "Push Image Cache"
runs-on: ${{fromJSON(needs.build-info.outputs.runs-on)}}
needs:
@@ -2500,7 +2500,7 @@ jobs:
# There is no point in running this one in "canary" run, because the above
step is doing the
# same build anyway.
build-ci-arm-images:
- timeout-minutes: 50
+ timeout-minutes: 110
name: >
Build CI ARM images
${{needs.build-info.outputs.all-python-versions-list-as-string}}
diff --git a/scripts/ci/images/initialize.sh b/scripts/ci/images/initialize.sh
index f76fdb801b..6c6d3e2f77 100755
--- a/scripts/ci/images/initialize.sh
+++ b/scripts/ci/images/initialize.sh
@@ -30,4 +30,4 @@ sudo service docker start
# This instance will run for maximum 40 minutes and
# It will terminate itself after that (it can also
# be terminated immediately when the job finishes)
-echo "sudo shutdown -h now" | at now +40 min
+echo "sudo shutdown -h now" | at now +90 min