Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
benzekrimaha committed Dec 3, 2024
1 parent 7841307 commit 4dfa506
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/actions/debug_wait/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: "Debug wait"
description: "If debugging is enabled, wait"

runs:
using: composite
steps:
- name: "Debug: SSH to runner"
uses: scality/actions/[email protected]
continue-on-error: true
with:
tmate-server-host: ${{ env.TMATE_SERVER_HOST }}
tmate-server-port: ${{ env.TMATE_SERVER_PORT }}
tmate-server-rsa-fingerprint: ${{ env.TMATE_SERVER_RSA_FINGERPRINT }}
tmate-server-ed25519-fingerprint: ${{ env.TMATE_SERVER_ED25519_FINGERPRINT }}
9 changes: 9 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ env:
REMOTE_MANAGEMENT_DISABLE: "1"
# https://github.com/git-lfs/git-lfs/issues/5749
GIT_CLONE_PROTECTION_ACTIVE: 'false'
# DEBUG WAIT
TMATE_SERVER_HOST: ${{ secrets.TMATE_SERVER_HOST }}
TMATE_SERVER_PORT: ${{ secrets.TMATE_SERVER_PORT }}
TMATE_SERVER_RSA_FINGERPRINT: ${{ secrets.TMATE_SERVER_RSA_FINGERPRINT }}
TMATE_SERVER_ED25519_FINGERPRINT: ${{ secrets.TMATE_SERVER_ED25519_FINGERPRINT }}
jobs:
linting-coverage:
runs-on: ubuntu-22.04-2core
Expand Down Expand Up @@ -212,6 +217,10 @@ jobs:
yarn run multiple_backend_test | tee /tmp/artifacts/${{ github.job }}/tests.log
env:
S3_LOCATION_FILE: tests/locationConfig/locationConfigTests.json
- name: Debug wait
uses: ./.github/actions/debug-wait
timeout-minutes: 60
if: always()
- name: Upload logs to artifacts
uses: scality/action-artifacts@v4
with:
Expand Down

0 comments on commit 4dfa506

Please sign in to comment.