Skip to content

Commit

Permalink
Increase time to build the ARM image (#24765)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
potiuk authored Jun 30, 2022
1 parent 056b8cf commit 97a4a64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
4 changes: 2 additions & 2 deletions scripts/ci/images/self_terminate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 97a4a64

Please sign in to comment.