From 11c7d6a5fbf29e12dca3f9b8faa2698a4bfc0745 Mon Sep 17 00:00:00 2001 From: shane knapp Date: Wed, 13 Nov 2024 11:17:16 -0800 Subject: [PATCH] add timeouts to build workflows --- .github/workflows/build-push-create-pr.yaml | 1 + .github/workflows/build-test-image.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-push-create-pr.yaml b/.github/workflows/build-push-create-pr.yaml index 07854ec..43899b7 100644 --- a/.github/workflows/build-push-create-pr.yaml +++ b/.github/workflows/build-push-create-pr.yaml @@ -8,6 +8,7 @@ on: jobs: build-and-push: runs-on: ubuntu-latest + timeout-minutes: 90 env: DOCKER_CONFIG: $HOME/.docker IMAGE: ${{ vars.IMAGE }} diff --git a/.github/workflows/build-test-image.yaml b/.github/workflows/build-test-image.yaml index f96fe86..d2ba02e 100644 --- a/.github/workflows/build-test-image.yaml +++ b/.github/workflows/build-test-image.yaml @@ -6,6 +6,7 @@ on: jobs: test-build: runs-on: ubuntu-latest + timeout-minutes: 90 env: DOCKER_CONFIG: $HOME/.docker steps: @@ -36,7 +37,6 @@ jobs: FORCE_REPO2DOCKER_VERSION: jupyter-repo2docker==2024.07.0 REPO_DIR: /srv/repo NO_PUSH: true - APPENDIX_FILE: Dockerfile.appendix # Lets us monitor disks getting full as images get bigger over time - name: Show how much disk space is left