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 2020/06/09 11:05:34 UTC

[hadoop-ozone] 07/14: tmate fix

This is an automated email from the ASF dual-hosted git repository.

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

commit 35973d809876039df3086b8e9540b960c49e464d
Author: Elek Márton <el...@apache.org>
AuthorDate: Mon Jun 8 14:26:54 2020 +0200

    tmate fix
---
 .github/workflows/post-commit.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index c32028f..4184bd1 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -25,7 +25,14 @@ jobs:
           path: ~/.m2/repository
           key: maven-repo-${{ hashFiles('**/pom.xml') }}
       - name: Setup tmate session
-        uses: mxschmitt/action-tmate@v1
+        run: |
+            sudo apt-get update
+            sudo apt-get install -y tmate openssh-client
+            echo -e 'y\n'|ssh-keygen -q -t rsa -N "" -f ~/.ssh/id_rsa
+            tmate -S /tmp/tmate.sock new-session -d
+            tmate -S /tmp/tmate.sock wait tmate-ready
+            tmate -S /tmp/tmate.sock display -p '#{tmate_ssh}'
+            tmate -S /tmp/tmate.sock display -p '#{tmate_web}'
       - run: |
           sudo chmod 777 /mnt
           git clone https://github.com/${GITHUB_REPOSITORY}.git /mnt/ozone


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