hadoop-ozone-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [hadoop-ozone] 10/12: try to fix tmate
Date Tue, 03 Dec 2019 12:35:47 GMT
This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch debug-acceptance-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git

commit 105256471cc1389649432984f1e96d74dd0848c6
Author: Márton Elek <elek@apache.org>
AuthorDate: Wed Nov 27 20:01:58 2019 +0100

    try to fix tmate
---
 .github/workflows/post-commit.yml | 2 +-
 .github/workflows/tmate.sh        | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index 1a65599..16877de 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -22,7 +22,7 @@ jobs:
     timeout-minutes: 90
     steps:
         - uses: actions/checkout@master
-#        - run: ./.github/workflows/tmate.sh
+        - run: ./.github/workflows/tmate.sh
         - uses: ./.github/buildenv
           with:
             args: ./hadoop-ozone/dev-support/checks/build.sh
diff --git a/.github/workflows/tmate.sh b/.github/workflows/tmate.sh
index 55b8d50..c10a557 100755
--- a/.github/workflows/tmate.sh
+++ b/.github/workflows/tmate.sh
@@ -1,6 +1,7 @@
 #!/usr/bin/env bash
+set -ex
 sudo apt-get -y install tmate
 tmate -S /tmp/tmate.sock new-session -d
-tmate -S /tmp/tmate.sock wait tmate-ready
+sleep 2
 tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'
 tmate -S /tmp/tmate.sock display -p '#{tmate_web}'


---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-commits-help@hadoop.apache.org


Mime
View raw message