Skip to content

Commit

Permalink
Merge pull request #596 from roboflow/fix/set_timeouts_on_gha
Browse files Browse the repository at this point in the history
Limit execution time for GHA
  • Loading branch information
PawelPeczek-Roboflow authored Aug 22, 2024
2 parents 9c00226 + b1f065d commit 4144d1e
Show file tree
Hide file tree
Showing 42 changed files with 43 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/docker.cpu.parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
-
name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.cpu.slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
-
name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
-
name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.device_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
-
name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.gpu.parallel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.gpu.slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.gpu.udp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.jetson.4.5.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.jetson.4.6.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.jetson.5.1.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.lambda.core_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.lambda.slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.stream_management_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
-
name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.stream_manager.cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
-
name: Set up QEMU
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.stream_manager.gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.stream_manager.jetson.5.1.1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ env:
jobs:
docker:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.trt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
docker:
runs-on:
group: group8core
timeout-minutes: 120
steps:
- name: Remove unnecessary files
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: write
steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/hosted_inference_e2e_test_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/hosted_inference_e2e_test_staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration_tests_inference_cli_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.9", "3.10"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/integration_tests_inference_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
if: ${{ !github.event.act }}
runs-on:
group: group8core
timeout-minutes: 30

steps:
- name: Set up QEMU
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_tests_workflows_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
timeout-minutes: 10
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand All @@ -29,5 +30,4 @@ jobs:
pip install --upgrade setuptools
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements/_requirements.txt -r requirements/requirements.cpu.txt -r requirements/requirements.sdk.http.txt -r requirements/requirements.test.unit.txt -r requirements/requirements.http.txt -r requirements/requirements.yolo_world.txt -r requirements/requirements.doctr.txt -r requirements/requirements.sam.txt
- name: 🧪 Integration Tests of Workflows
timeout-minutes: 30
run: ROBOFLOW_API_KEY=${{ secrets.API_KEY }} python -m pytest tests/workflows/integration_tests
1 change: 1 addition & 0 deletions .github/workflows/load_test_hosted_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
matrix:
python-version: [3.9]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/static_code_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.nvidia_t4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
build:
if: ${{ !github.event.act }}
runs-on: Roboflow-GPU-VM-Runner
timeout-minutes: 120

steps:
- name: Set up QEMU
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.nvidia_t4_parallel_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
if: ${{ !github.event.act }}
runs-on: Roboflow-GPU-VM-Runner

timeout-minutes: 60

steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_package_install_inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
runs-on:
group: group8core
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_package_install_inference_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
runs-on:
group: group8core
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_package_install_inference_gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
runs-on:
group: group8core
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
runs-on:
group: group8core
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test_package_install_inference_sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
runs-on:
group: group8core
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
build:
runs-on:
group: group8core
timeout-minutes: 15
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests_inference_cli_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests_inference_sdk_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests_inference_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/unit_tests_workflows_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
jobs:
build-dev-test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
Expand Down

0 comments on commit 4144d1e

Please sign in to comment.