Skip to content

Commit f77ec0a

Browse files
stasadevclaude
andauthored
ci(debug): replace tmate with upterm (#200)
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
1 parent d5e648d commit f77ec0a

6 files changed

Lines changed: 26 additions & 36 deletions

File tree

‎.github/workflows/drupal-contrib-integration-test.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ on:
5555
workflow_dispatch:
5656
inputs:
5757
debug_enabled:
58-
description: 'Run the build with tmate set "debug_enabled"'
58+
description: Enable remote debugging session
5959
type: boolean
6060
required: false
6161
default: false
@@ -104,11 +104,10 @@ jobs:
104104
if: ${{ env.TEST_CODER_SESSION_TOKEN != '' }}
105105
run: coder login --token "${{ env.TEST_CODER_SESSION_TOKEN }}" "${{ vars.TEST_CODER_URL }}"
106106

107-
- name: Setup tmate session
108-
uses: mxschmitt/action-tmate@v3
107+
- name: Setup upterm session
108+
uses: owenthereal/action-upterm@v1
109109
with:
110110
limit-access-to-actor: true
111-
github-token: ${{ secrets.GITHUB_TOKEN }}
112111
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
113112

114113
- name: Push template (inactive)
@@ -263,11 +262,10 @@ jobs:
263262
if: ${{ env.TEST_CODER_SESSION_TOKEN != '' }}
264263
run: coder login --token "${{ env.TEST_CODER_SESSION_TOKEN }}" "${{ vars.TEST_CODER_URL }}"
265264

266-
- name: Setup tmate session
267-
uses: mxschmitt/action-tmate@v3
265+
- name: Setup upterm session
266+
uses: owenthereal/action-upterm@v1
268267
with:
269268
limit-access-to-actor: true
270-
github-token: ${{ secrets.GITHUB_TOKEN }}
271269
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
272270

273271
- name: Resolve issue branch and Drupal version from issue number

‎.github/workflows/drupal-integration-test.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ on:
6060
workflow_dispatch:
6161
inputs:
6262
debug_enabled:
63-
description: 'Run the build with tmate set "debug_enabled"'
63+
description: Enable remote debugging session
6464
type: boolean
6565
required: false
6666
default: false
@@ -103,11 +103,10 @@ jobs:
103103
if: ${{ env.TEST_CODER_SESSION_TOKEN != '' }}
104104
run: coder login --token "${{ env.TEST_CODER_SESSION_TOKEN }}" "${{ vars.TEST_CODER_URL }}"
105105

106-
- name: Setup tmate session
107-
uses: mxschmitt/action-tmate@v3
106+
- name: Setup upterm session
107+
uses: owenthereal/action-upterm@v1
108108
with:
109109
limit-access-to-actor: true
110-
github-token: ${{ secrets.GITHUB_TOKEN }}
111110
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
112111

113112
- name: Push template (inactive)
@@ -337,11 +336,10 @@ jobs:
337336
if: ${{ env.TEST_CODER_SESSION_TOKEN != '' }}
338337
run: coder login --token "${{ env.TEST_CODER_SESSION_TOKEN }}" "${{ vars.TEST_CODER_URL }}"
339338

340-
- name: Setup tmate session
341-
uses: mxschmitt/action-tmate@v3
339+
- name: Setup upterm session
340+
uses: owenthereal/action-upterm@v1
342341
with:
343342
limit-access-to-actor: true
344-
github-token: ${{ secrets.GITHUB_TOKEN }}
345343
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
346344

347345
- name: Resolve issue branch and Drupal version from issue number

‎.github/workflows/integration-test.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ on:
5656
workflow_dispatch:
5757
inputs:
5858
debug_enabled:
59-
description: 'Run the build with tmate set "debug_enabled"'
59+
description: Enable remote debugging session
6060
type: boolean
6161
required: false
6262
default: false
@@ -125,11 +125,10 @@ jobs:
125125
if: ${{ env.TEST_CODER_SESSION_TOKEN != '' }}
126126
run: coder login --token "${{ env.TEST_CODER_SESSION_TOKEN }}" "${{ vars.TEST_CODER_URL }}"
127127

128-
- name: Setup tmate session
129-
uses: mxschmitt/action-tmate@v3
128+
- name: Setup upterm session
129+
uses: owenthereal/action-upterm@v1
130130
with:
131131
limit-access-to-actor: true
132-
github-token: ${{ secrets.GITHUB_TOKEN }}
133132
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
134133

135134
- name: Push template (inactive)
@@ -342,11 +341,10 @@ jobs:
342341
access_url: ${{ vars.TEST_CODER_URL }}
343342
coder_session_token: ${{ env.TEST_CODER_SESSION_TOKEN }}
344343

345-
- name: Setup tmate session
346-
uses: mxschmitt/action-tmate@v3
344+
- name: Setup upterm session
345+
uses: owenthereal/action-upterm@v1
347346
with:
348347
limit-access-to-actor: true
349-
github-token: ${{ secrets.GITHUB_TOKEN }}
350348
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
351349

352350
- name: Push template (inactive)

‎.github/workflows/push-image.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
workflow_dispatch:
1515
inputs:
1616
debug_enabled:
17-
description: 'Run the build with tmate set "debug_enabled"'
17+
description: Enable remote debugging session
1818
type: boolean
1919
required: false
2020
default: false
@@ -41,11 +41,10 @@ jobs:
4141
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.PUSH_SERVICE_ACCOUNT_TOKEN }}
4242
DOCKERHUB_TOKEN: "op://push-secrets/DOCKERHUB_TOKEN/credential"
4343

44-
- name: Setup tmate session
45-
uses: mxschmitt/action-tmate@v3
44+
- name: Setup upterm session
45+
uses: owenthereal/action-upterm@v1
4646
with:
4747
limit-access-to-actor: true
48-
github-token: ${{ secrets.GITHUB_TOKEN }}
4948
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
5049

5150
- name: Set up Docker Buildx

‎.github/workflows/staging-push.yml‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121
workflow_dispatch:
2222
inputs:
2323
debug_enabled:
24-
description: 'Run the build with tmate set "debug_enabled"'
24+
description: Enable remote debugging session
2525
type: boolean
2626
required: false
2727
default: false
@@ -55,11 +55,10 @@ jobs:
5555
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
5656
TEST_CODER_SESSION_TOKEN: "op://test-secrets/TEST_CODER_SESSION_TOKEN/credential"
5757

58-
- name: Setup tmate session
59-
uses: mxschmitt/action-tmate@v3
58+
- name: Setup upterm session
59+
uses: owenthereal/action-upterm@v1
6060
with:
6161
limit-access-to-actor: true
62-
github-token: ${{ secrets.GITHUB_TOKEN }}
6362
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
6463

6564
- uses: coder/setup-action@v1

‎.github/workflows/validate.yml‎

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
workflow_dispatch:
88
inputs:
99
debug_enabled:
10-
description: 'Run the build with tmate set "debug_enabled"'
10+
description: Enable remote debugging session
1111
type: boolean
1212
required: false
1313
default: false
@@ -25,11 +25,10 @@ jobs:
2525
- uses: hashicorp/setup-terraform@v4
2626
with:
2727
terraform_version: "~1.9"
28-
- name: Setup tmate session
29-
uses: mxschmitt/action-tmate@v3
28+
- name: Setup upterm session
29+
uses: owenthereal/action-upterm@v1
3030
with:
3131
limit-access-to-actor: true
32-
github-token: ${{ secrets.GITHUB_TOKEN }}
3332
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
3433
- name: Init
3534
run: terraform init -backend=false -input=false
@@ -49,11 +48,10 @@ jobs:
4948
- uses: hashicorp/setup-terraform@v4
5049
with:
5150
terraform_version: "~1.9"
52-
- name: Setup tmate session
53-
uses: mxschmitt/action-tmate@v3
51+
- name: Setup upterm session
52+
uses: owenthereal/action-upterm@v1
5453
with:
5554
limit-access-to-actor: true
56-
github-token: ${{ secrets.GITHUB_TOKEN }}
5755
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
5856
- name: Check formatting
5957
run: terraform fmt -check -recursive

0 commit comments

Comments
 (0)