ci: add detached mode in tmate

with detached mode, we don't need to wait for the
tests to complete. Now, we can get inside tmate before
the tests start and we can monitor the tests.

By default, this mode will wait at the end of the job for
a user to connect and then to terminate the tmate session.
If no user has connected within 10 minutes after the post-job step started,
it will terminate the tmate session and quit gracefully.

Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit f171e1c037)
This commit is contained in:
subhamkrai authored and Mergify committed 2023-07-25 20:47:47 +00:00
1 parent e417b4b1a1
commit 1d34907cf5
10 files changed
+154 -187

No files matched your search

+1
View File
@@ -20,3 +20,4 @@ runs:
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: false
detached: true