diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ee3912f7dad..6000547bcb86 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,6 +52,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 linux-build-all: runs-on: ubuntu-18.04 @@ -75,3 +76,4 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/canary-integration-test.yml b/.github/workflows/canary-integration-test.yml index a2edcbe5e0c1..cdc38a1e9e85 100644 --- a/.github/workflows/canary-integration-test.yml +++ b/.github/workflows/canary-integration-test.yml @@ -90,8 +90,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-canary') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 pvc: runs-on: ubuntu-18.04 @@ -167,8 +168,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-canary-pvc') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 pvc-db: runs-on: ubuntu-18.04 @@ -231,8 +233,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-canary-pvc-db') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 pvc-db-wal: runs-on: ubuntu-18.04 @@ -299,8 +302,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-canary-pvc-db-wal') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 encryption-pvc: runs-on: ubuntu-18.04 @@ -366,8 +370,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-encryption-pvc') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 encryption-pvc-db: runs-on: ubuntu-18.04 @@ -433,8 +438,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-encryption-pvc-db') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 encryption-pvc-db-wal: runs-on: ubuntu-18.04 @@ -501,8 +507,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-encryption-pvc-db-wal') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 encryption-pvc-kms-vault-token-auth: @@ -588,8 +595,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-encryption-pvc-kms-vault-token-auth') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 lvm-pvc: runs-on: ubuntu-18.04 @@ -650,8 +658,9 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-lvm-pvc') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 multi-cluster-mirroring: runs-on: ubuntu-18.04 @@ -769,5 +778,6 @@ jobs: path: test - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-multi-cluster-mirroring') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-cassandra-suite.yaml b/.github/workflows/integration-test-cassandra-suite.yaml index 72dcb3e5943d..2ad42d299de5 100644 --- a/.github/workflows/integration-test-cassandra-suite.yaml +++ b/.github/workflows/integration-test-cassandra-suite.yaml @@ -57,5 +57,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-cassandra-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-flex-suite.yaml b/.github/workflows/integration-test-flex-suite.yaml index a6bb51e8d9ba..d2fedcf2d64f 100644 --- a/.github/workflows/integration-test-flex-suite.yaml +++ b/.github/workflows/integration-test-flex-suite.yaml @@ -53,5 +53,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-flex-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-helm-suite.yaml b/.github/workflows/integration-test-helm-suite.yaml index 554ec8c876e7..60fd3c7d6a88 100644 --- a/.github/workflows/integration-test-helm-suite.yaml +++ b/.github/workflows/integration-test-helm-suite.yaml @@ -59,5 +59,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-helm-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-mgr-suite.yaml b/.github/workflows/integration-test-mgr-suite.yaml index 49f4dfa2dd97..24cdeeb88281 100644 --- a/.github/workflows/integration-test-mgr-suite.yaml +++ b/.github/workflows/integration-test-mgr-suite.yaml @@ -54,5 +54,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-mgr-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-multi-cluster-suite.yaml b/.github/workflows/integration-test-multi-cluster-suite.yaml index 3fb39d847a8b..deb318c8d8f1 100644 --- a/.github/workflows/integration-test-multi-cluster-suite.yaml +++ b/.github/workflows/integration-test-multi-cluster-suite.yaml @@ -58,5 +58,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-multi-cluster-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-nfs-suite.yaml b/.github/workflows/integration-test-nfs-suite.yaml index a9502381dfe9..0b447c633604 100644 --- a/.github/workflows/integration-test-nfs-suite.yaml +++ b/.github/workflows/integration-test-nfs-suite.yaml @@ -61,5 +61,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-nfs-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-smoke-suite.yaml b/.github/workflows/integration-test-smoke-suite.yaml index 5bac5d4fc89e..2ff3266e335e 100644 --- a/.github/workflows/integration-test-smoke-suite.yaml +++ b/.github/workflows/integration-test-smoke-suite.yaml @@ -57,5 +57,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-smoke-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-test-upgrade-suite.yaml b/.github/workflows/integration-test-upgrade-suite.yaml index bde0dbaf449f..5dfe5c4c92fe 100644 --- a/.github/workflows/integration-test-upgrade-suite.yaml +++ b/.github/workflows/integration-test-upgrade-suite.yaml @@ -57,5 +57,6 @@ jobs: path: /home/runner/work/rook/rook/tests/integration/_output/tests/ - name: setup tmate session for debugging - if: failure() && contains(github.event.pull_request.labels.*.name, 'debug-upgrade-suite') + if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 diff --git a/.github/workflows/integration-tests-on-release.yaml b/.github/workflows/integration-tests-on-release.yaml index d7d44ab0374a..2e4f1426a668 100644 --- a/.github/workflows/integration-tests-on-release.yaml +++ b/.github/workflows/integration-tests-on-release.yaml @@ -61,6 +61,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 TestCephHelmSuite: if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/release-*' @@ -112,6 +113,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 TestCephMultiClusterDeploySuite: if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/release-*' @@ -162,6 +164,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 TestCephSmokeSuite: if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/release-*' @@ -211,6 +214,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 TestCephUpgradeSuite: if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/release-*' @@ -260,6 +264,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 TestCassandraSuite: if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/release-*' @@ -310,6 +315,7 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120 TestNFSSuite: if: github.ref == 'refs/heads/master' || github.ref == 'refs/tags/release-*' @@ -363,3 +369,4 @@ jobs: - name: setup tmate session for debugging if: failure() uses: mxschmitt/action-tmate@v3 + timeout-minutes: 120