You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by el...@apache.org on 2019/11/27 19:02:20 UTC
[hadoop-ozone] 02/02: try to fix tmate
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch debug-acceptace-timeout
in repository https://gitbox.apache.org/repos/asf/hadoop-ozone.git
commit cc2a29be25d59ec7f86323fc75cac9cd0c1be981
Author: Márton Elek <el...@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