This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-8-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 9c86c54ec1129bc995410fc93c930f1c1f031f01 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. (cherry picked from commit f8c6066c2073ed86d60ba1245f6d56f4098e8abb) --- .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 8468aa129c..0cb0b8df6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2476,7 +2476,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: @@ -2570,7 +2570,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
