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

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


The following commit(s) were added to refs/heads/master by this push:
     new 57a8388  HDDS-3784. Use matrix build for integration test (#1063)
57a8388 is described below

commit 57a8388b902a291571bdf60ab3f91930a5cf8815
Author: Doroszlai, Attila <6454655+adorosz...@users.noreply.github.com>
AuthorDate: Sun Jun 14 19:43:30 2020 +0200

    HDDS-3784. Use matrix build for integration test (#1063)
---
 .github/workflows/post-commit.yml | 115 +++++---------------------------------
 .github/workflows/pr.yml          | 115 +++++---------------------------------
 2 files changed, 30 insertions(+), 200 deletions(-)

diff --git a/.github/workflows/post-commit.yml 
b/.github/workflows/post-commit.yml
index 1215a7e..da1ddec 100644
--- a/.github/workflows/post-commit.yml
+++ b/.github/workflows/post-commit.yml
@@ -130,11 +130,21 @@ jobs:
           with:
             name: acceptance
             path: /mnt/ozone/compose/result
-  it-freon:
-    name: it-freon
+  integration:
+    name: integration
     runs-on: ubuntu-18.04
     needs:
         - build
+    strategy:
+      matrix:
+        profile:
+          - client
+          - filesystem
+          - filesystem-contract
+          - freon
+          - hdds-om
+          - ozone
+      fail-fast: false
     steps:
         - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
         - uses: actions/checkout@master
@@ -142,112 +152,17 @@ jobs:
             path: mnt/ozone
         - uses: ./mnt/ozone/.github/buildenv
           with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pfreon
+             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-P${{ matrix.profile }}
         - uses: actions/upload-artifact@master
           if: always()
           with:
-            name: it-freon
-            path: mnt/ozone/target/integration
-  it-filesystem:
-    name: it-filesystem
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pfilesystem
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-filesystem
-            path: mnt/ozone/target/integration
-  it-filesystem-contract:
-    name: it-filesystem-contract
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pfilesystem-contract
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-filesystem-contract
-            path: mnt/ozone/target/integration
-  it-client:
-    name: it-client
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pclient
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-client
-            path: mnt/ozone/target/integration
-  it-hdds-om:
-    name: it-hdds-om
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Phdds-om
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-hdds-om
-            path: mnt/ozone/target/integration
-  it-ozone:
-    name: it-ozone
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pozone
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-ozone
+            name: it-${{ matrix.profile }}
             path: mnt/ozone/target/integration
   coverage:
     name: coverage
     runs-on: ubuntu-18.04
     needs:
-       - it-ozone
-       - it-hdds-om
-       - it-client
-       - it-filesystem-contract
-       - it-filesystem
-       - it-freon
+       - integration
        - unit
     steps:
        - uses: actions/checkout@v2
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
index be37e35..cd5eb96 100644
--- a/.github/workflows/pr.yml
+++ b/.github/workflows/pr.yml
@@ -130,11 +130,21 @@ jobs:
           with:
             name: acceptance
             path: /mnt/ozone/compose/result
-  it-freon:
-    name: it-freon
+  integration:
+    name: integration
     runs-on: ubuntu-18.04
     needs:
         - build
+    strategy:
+      matrix:
+        profile:
+          - client
+          - filesystem
+          - filesystem-contract
+          - freon
+          - hdds-om
+          - ozone
+      fail-fast: false
     steps:
         - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
         - uses: actions/checkout@master
@@ -142,112 +152,17 @@ jobs:
             path: mnt/ozone
         - uses: ./mnt/ozone/.github/buildenv
           with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pfreon
+             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-P${{ matrix.profile }}
         - uses: actions/upload-artifact@master
           if: always()
           with:
-            name: it-freon
-            path: mnt/ozone/target/integration
-  it-filesystem:
-    name: it-filesystem
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pfilesystem
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-filesystem
-            path: mnt/ozone/target/integration
-  it-filesystem-contract:
-    name: it-filesystem-contract
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pfilesystem-contract
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-filesystem-contract
-            path: mnt/ozone/target/integration
-  it-client:
-    name: it-client
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pclient
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-client
-            path: mnt/ozone/target/integration
-  it-hdds-om:
-    name: it-hdds-om
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Phdds-om
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-hdds-om
-            path: mnt/ozone/target/integration
-  it-ozone:
-    name: it-ozone
-    runs-on: ubuntu-18.04
-    needs:
-        - build
-    steps:
-        - run: sudo mkdir mnt && sudo mount --bind /mnt `pwd`/mnt && sudo 
chmod 777 mnt
-        - uses: actions/checkout@master
-          with:
-            path: mnt/ozone
-        - uses: ./mnt/ozone/.github/buildenv
-          with:
-             args: ./mnt/ozone/hadoop-ozone/dev-support/checks/integration.sh 
-Pozone
-        - uses: actions/upload-artifact@master
-          if: always()
-          with:
-            name: it-ozone
+            name: it-${{ matrix.profile }}
             path: mnt/ozone/target/integration
   coverage:
     name: coverage
     runs-on: ubuntu-18.04
     needs:
-      - it-hdds-om
-      - it-ozone
-      - it-client
-      - it-filesystem-contract
-      - it-filesystem
-      - it-freon
+      - integration
       - unit
     steps:
       - uses: actions/checkout@v2


---------------------------------------------------------------------
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