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/04 12:01:25 UTC

[hadoop-ozone] 07/18: simplified acceptance test

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

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

commit ad874f9eb5eeb6b6ed30a60b6d2f3fc2f6a65981
Author: Elek Márton <el...@apache.org>
AuthorDate: Sat May 30 15:42:07 2020 +0200

    simplified acceptance test
---
 .github/workflows/post-commit.yml | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml
index d10d696..e99a89e 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -16,30 +16,18 @@ name: build-branch
 on:
   - push
 jobs:
-  build:
-    name: compile
-    runs-on: ubuntu-18.04
-    steps:
-      - uses: actions/checkout@master
-      - uses: ./.github/buildenv
-        with:
-          args: ./hadoop-ozone/dev-support/checks/build.sh
   acceptance:
     name: acceptance
     runs-on: ubuntu-18.04
     steps:
-        - uses: actions/checkout@master
-        - uses: ./.github/buildenv
-          with:
-            args: ./hadoop-ozone/dev-support/checks/build.sh
-        # remove image created for 'buildenv'
-        - run: docker image rm $(docker images -a -q | head -1) || true
-        # remove its big parent build image
-        - run: docker image rm apache/ozone-build || true
+        - runs: |
+            sudo chmod 777 /mnt
+            git clone --depth=1 https://github.com/${GITHUB_REPOSITORY}.git /mnt/ozone
+            cd /mnt/ozone
+            git checkout ${GITHUB_REF}
+            git reset --hard
         - run: sudo pip install robotframework
-        - run: sudo mv ./hadoop-ozone/dist/target/ozone-* /mnt/ozone && sudo chown runner -R /mnt/ozone
-        - run: cd /mnt/ozone && mkdir .aws && sudo chown 1000 .aws
-        - run: cd /mnt/ozone/compose && hadoop-ozone/dev-support/checks/acceptance.sh
+        - run: cd /mnt/ozone && hadoop-ozone/dev-support/checks/acceptance.sh
           env:
             KEEP_IMAGE: false
         - uses: actions/upload-artifact@master


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