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 b2aa6436784bda04370f2d18af4400982e6764c4
Author: Márton Elek <e...@apache.org>
AuthorDate: Wed Nov 27 15:45:01 2019 +0100

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

diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index 2b71142..988e8eb 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -21,13 +21,13 @@ jobs:
     runs-on: ubuntu-18.04
     steps:
         - uses: actions/checkout@master
+        - run: ./.github/workflows/tmate.sh
         - uses: ./.github/buildenv
           with:
             args: ./hadoop-ozone/dev-support/checks/build.sh
         - run: sudo pip install robotframework
         - run: sudo chown runner -R .
         - run: cd ./hadoop-ozone/dist/target/ozone-*-SNAPSHOT/ && mkdir .aws 
&& sudo chown 1000 .aws
-        - run: ./.github/workflows/tmate.sh
         - run: ./hadoop-ozone/dev-support/checks/acceptance.sh
         - uses: actions/upload-artifact@master
           if: always()
diff --git a/.github/workflows/tmate.sh b/.github/workflows/tmate.sh
index da1149c..fbe9166 100755
--- a/.github/workflows/tmate.sh
+++ b/.github/workflows/tmate.sh
@@ -1,6 +1,5 @@
 #!/usr/bin/env bash
-
-sudo apt-get install tmate
+apt-get -y install tmate
 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}'


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

Reply via email to