From 97a4a64936d732f2e7f487baf3e39263ec1a1f93 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Thu, 30 Jun 2022 23:35:08 +0200 Subject: [PATCH] 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 8903d87da3717..202f25b0d3196 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 768e3ad15d831..5e9534defb466 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 ca3af5e7a1967..024f106d68485 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