Skip to content

Commit

Permalink
Remove tmate from github workflows
Browse files Browse the repository at this point in the history
Also removing workflow_dispatch, as it doesn't make sense to run the
workflows manually without being able to attach to them.
  • Loading branch information
manno committed Jul 10, 2024
1 parent 1ddba0c commit 9d37e00
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 63 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/e2e-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/e2e-fleet-upgrade-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/e2e-multicluster-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/e2e-nightly-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/e2e-rancher-upgrade-fleet-to-head-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9d37e00

Please sign in to comment.