diff --git a/.github/workflows/functions.yaml b/.github/workflows/functions.yaml index 7a5b0f5857..907a9f14bd 100644 --- a/.github/workflows/functions.yaml +++ b/.github/workflows/functions.yaml @@ -30,6 +30,7 @@ jobs: precheck: name: Precheck runs-on: ubuntu-latest + timeout-minutes: 15 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main @@ -59,6 +60,7 @@ jobs: - "macos-14" # ARM - "windows-latest" runs-on: ${{ matrix.os }} + timeout-minutes: 30 steps: - name: Disable CRLF conversion (Windows) if: runner.os == 'Windows' @@ -94,6 +96,7 @@ jobs: - "macos-14" # ARM - "windows-latest" runs-on: ${{ matrix.os }} + timeout-minutes: 60 steps: # Setup - name: Disable CRLF conversion (Windows) @@ -131,6 +134,7 @@ jobs: name: Integration Tests needs: precheck runs-on: ubuntu-latest + timeout-minutes: 120 env: FUNC_CLUSTER_RETRIES: 5 FUNC_INT_TEKTON_ENABLED: true @@ -194,6 +198,7 @@ jobs: name: E2E - Core, Metadata, and Remote needs: precheck runs-on: ubuntu-latest + timeout-minutes: 120 env: FUNC_CLUSTER_RETRIES: 5 FUNC_E2E_CLEAN: false # cluster only used once @@ -248,6 +253,7 @@ jobs: name: E2E - Podman needs: precheck runs-on: ubuntu-latest + timeout-minutes: 120 strategy: matrix: os: @@ -312,6 +318,7 @@ jobs: - "quarkus" - "springboot" runs-on: ubuntu-latest + timeout-minutes: 90 env: FUNC_CLUSTER_RETRIES: 5 # Cluster allocation retries FUNC_E2E_CLEAN: false # Skip deletes (cluster not reused) @@ -391,6 +398,7 @@ jobs: name: E2E - Config CI GitHub Workflows needs: precheck runs-on: ubuntu-latest + timeout-minutes: 120 env: FUNC_CLUSTER_RETRIES: 5 FUNC_E2E_CLEAN: false @@ -451,6 +459,7 @@ jobs: - test-e2e-config-ci if: github.event_name == 'push' && github.ref == 'refs/heads/main' runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main @@ -489,6 +498,7 @@ jobs: name: Publish Utils Image needs: build runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main @@ -531,6 +541,7 @@ jobs: name: Publish as Image needs: build runs-on: ubuntu-latest + timeout-minutes: 30 steps: - uses: actions/checkout@v4 - uses: knative/actions/setup-go@main