From 9d37e00755459dc0eee8c1d6977943e14774cf32 Mon Sep 17 00:00:00 2001 From: Mario Manno Date: Wed, 10 Jul 2024 18:49:47 +0200 Subject: [PATCH] Remove tmate from github workflows Also removing workflow_dispatch, as it doesn't make sense to run the workflows manually without being able to attach to them. --- .github/workflows/e2e-ci.yml | 13 ------------- .github/workflows/e2e-fleet-upgrade-ci.yml | 13 ------------- .github/workflows/e2e-multicluster-ci.yml | 13 ------------- .github/workflows/e2e-nightly-ci.yml | 13 ------------- .../e2e-rancher-upgrade-fleet-to-head-ci.yml | 11 ----------- 5 files changed, 63 deletions(-) diff --git a/.github/workflows/e2e-ci.yml b/.github/workflows/e2e-ci.yml index 99fa10da97..4f24401ff3 100644 --- a/.github/workflows/e2e-ci.yml +++ b/.github/workflows/e2e-ci.yml @@ -2,12 +2,6 @@ name: E2E Fleet on: - workflow_dispatch: - inputs: - enable_tmate: - description: 'Enable debugging via tmate' - required: false - default: "false" pull_request: push: branches: @@ -77,13 +71,6 @@ jobs: name: Import Images Into k3d run: | ./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev nginx-git:test -c upstream - - - name: Set Up Tmate Debug Session - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - with: - limit-access-to-actor: true - name: Deploy Fleet env: diff --git a/.github/workflows/e2e-fleet-upgrade-ci.yml b/.github/workflows/e2e-fleet-upgrade-ci.yml index cfaaf2b568..982db8fddc 100644 --- a/.github/workflows/e2e-fleet-upgrade-ci.yml +++ b/.github/workflows/e2e-fleet-upgrade-ci.yml @@ -4,12 +4,6 @@ name: E2E Upgrade Fleet Standalone to HEAD on: schedule: - cron: '0 8 */2 * *' - workflow_dispatch: - inputs: - enable_tmate: - description: 'Enable debugging via tmate' - required: false - default: "false" pull_request: env: @@ -48,13 +42,6 @@ jobs: --agents 1 --network "nw01" --image docker.io/rancher/k3s:${{matrix.k3s_version}} - - - name: Set Up Tmate Debug Session - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - with: - limit-access-to-actor: true - name: Deploy Latest Release run: | diff --git a/.github/workflows/e2e-multicluster-ci.yml b/.github/workflows/e2e-multicluster-ci.yml index 93a5f2c6e6..ab2d7c172f 100644 --- a/.github/workflows/e2e-multicluster-ci.yml +++ b/.github/workflows/e2e-multicluster-ci.yml @@ -4,12 +4,6 @@ on: schedule: # Run everyday day at 9:00 AM - cron: '0 9 * * *' - workflow_dispatch: - inputs: - enable_tmate: - description: 'Enable debugging via tmate' - required: false - default: "false" pull_request: push: branches: @@ -87,13 +81,6 @@ jobs: ./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev -c upstream ./.github/scripts/k3d-import-retry.sh rancher/fleet-agent:dev -c downstream ./.github/scripts/k3d-import-retry.sh rancher/fleet-agent:dev -c managed-downstream - - - name: Set Up Tmate Debug Session - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - with: - limit-access-to-actor: true - name: Deploy Fleet run: | diff --git a/.github/workflows/e2e-nightly-ci.yml b/.github/workflows/e2e-nightly-ci.yml index 8963640b80..8854c93c74 100644 --- a/.github/workflows/e2e-nightly-ci.yml +++ b/.github/workflows/e2e-nightly-ci.yml @@ -5,12 +5,6 @@ on: schedule: # Run everyday day at 7:00 AM - cron: '0 7 * * *' - workflow_dispatch: - inputs: - enable_tmate: - description: 'Enable debugging via tmate' - required: false - default: "false" env: GOARCH: amd64 @@ -73,13 +67,6 @@ jobs: name: Import Images Into k3d run: | ./.github/scripts/k3d-import-retry.sh rancher/fleet:dev rancher/fleet-agent:dev nginx-git:test -c upstream - - - name: Set Up Tmate Debug Session - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - with: - limit-access-to-actor: true - name: Deploy Fleet run: | diff --git a/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml b/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml index 47fcaa0b1c..80cec5b22a 100644 --- a/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml +++ b/.github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml @@ -11,10 +11,6 @@ on: description: "checkout git branch/tag" required: true default: "main" - enable_tmate: - description: 'Enable debugging via tmate' - required: false - default: "false" push: tags: [ 'v*' ] paths-ignore: @@ -137,13 +133,6 @@ jobs: --k3s-arg '--kubelet-arg=eviction-minimum-reclaim=imagefs.available=1%,nodefs.available=1%@agent:*' --network "nw01" --image docker.io/rancher/k3s:${{ env.SETUP_K3S_VERSION }} - - - name: Set up tmate debug session - if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.enable_tmate == 'true' }} - uses: mxschmitt/action-tmate@v3 - timeout-minutes: 15 - with: - limit-access-to-actor: true - name: Set up latest Rancher env: