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 97a4a64936 Increase time to build the ARM image (#24765)
97a4a64936 is described below

commit 97a4a64936d732f2e7f487baf3e39263ec1a1f93
Author: Jarek Potiuk <[email protected]>
AuthorDate: Thu Jun 30 23:35:08 2022 +0200

    Increase time to build the ARM image (#24765)
    
    Building ARM image is now done in parallel in case of CI builds
    that update dependencies. If the image is not refreshed, then it might
    take quite some time - more than the 50 minutes it's been allowed to
    
    This PR increases both timeouts - the self-terminate timeout for
    the ARM instance and timeout on the CI job that triggers it.
---
 .github/workflows/build-images.yml  | 2 +-
 .github/workflows/ci.yml            | 2 +-
 scripts/ci/images/self_terminate.sh | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/build-images.yml 
b/.github/workflows/build-images.yml
index 8903d87da3..202f25b0d3 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -363,7 +363,7 @@ jobs:
 
 
   build-ci-images-arm:
-    timeout-minutes: 80
+    timeout-minutes: 120
     name: "Build ARM CI images ${{ 
needs.build-info.outputs.allPythonVersionsListAsString }}"
     runs-on: ${{ fromJson(needs.build-info.outputs.runsOn) }}
     needs: [build-info, build-prod-images]
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 768e3ad15d..5e9534defb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1751,7 +1751,7 @@ ${{ hashFiles('.pre-commit-config.yaml') }}"
         if: always()
 
   build-ci-arm-images:
-    timeout-minutes: 80
+    timeout-minutes: 120
     name: >
       ${{needs.build-info.outputs.buildJobDescription}} CI ARM images
       ${{ needs.build-info.outputs.allPythonVersionsListAsString }}
diff --git a/scripts/ci/images/self_terminate.sh 
b/scripts/ci/images/self_terminate.sh
index ca3af5e7a1..024f106d68 100755
--- a/scripts/ci/images/self_terminate.sh
+++ b/scripts/ci/images/self_terminate.sh
@@ -16,7 +16,7 @@
 # specific language governing permissions and limitations
 # under the License.
 
-# This instance will run for maximum 50 minutes and
+# This instance will run for maximum 100 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 +50 min
+echo "sudo shutdown -h now" | at now +100 min

Reply via email to