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 8d550c63e691560ca9b473b081dc15a985456ffb Author: Elek Márton <[email protected]> AuthorDate: Mon Jun 8 17:29:33 2020 +0200 Revert "run only acceptance tests" This reverts commit cf68644571248154f25afd4b90d3e5b0bea0d78a. --- .github/workflows/post-commit.yml | 212 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 212 insertions(+) diff --git a/.github/workflows/post-commit.yml b/.github/workflows/post-commit.yml index f75aa49..b447e22 100644 --- a/.github/workflows/post-commit.yml +++ b/.github/workflows/post-commit.yml @@ -16,6 +16,79 @@ 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 + rat: + name: rat + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + - uses: ./.github/buildenv + with: + args: ./hadoop-ozone/dev-support/checks/rat.sh + - uses: actions/upload-artifact@master + if: always() + with: + name: rat + path: target/rat + author: + name: author + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + - uses: ./.github/buildenv + with: + args: ./hadoop-ozone/dev-support/checks/author.sh + - uses: actions/upload-artifact@master + if: always() + with: + name: author + path: target/author + unit: + name: unit + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + - uses: ./.github/buildenv + with: + args: ./hadoop-ozone/dev-support/checks/unit.sh + - uses: actions/upload-artifact@master + if: always() + with: + name: unit + path: target/unit + checkstyle: + name: checkstyle + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + - uses: ./.github/buildenv + with: + args: ./hadoop-ozone/dev-support/checks/checkstyle.sh + - uses: actions/upload-artifact@master + if: always() + with: + name: checkstyle + path: target/checkstyle + findbugs: + name: findbugs + runs-on: ubuntu-18.04 + steps: + - uses: actions/checkout@master + - uses: ./.github/buildenv + with: + args: ./hadoop-ozone/dev-support/checks/findbugs.sh + - uses: actions/upload-artifact@master + if: always() + with: + name: findbugs + path: target/findbugs acceptance: name: acceptance runs-on: ubuntu-18.04 @@ -60,3 +133,142 @@ jobs: rm -rf ~/.m2/repository/org/apache/hadoop/hdds rm -rf ~/.m2/repository/org/apache/hadoop/ozone if: always() + it-freon: + name: it-freon + 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 -Pfreon + - 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 + 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 + - unit + steps: + - uses: actions/checkout@v2 + - uses: ./.github/buildenv + with: + args: ./hadoop-ozone/dev-support/checks/build.sh + - uses: actions/download-artifact@v2 + with: + path: target/artifacts + - run: ./.github/coverage-report.sh + - uses: ./.github/buildenv + if: github.repository == 'apache/hadoop-ozone' + with: + args: ./hadoop-ozone/dev-support/checks/sonar.sh + env: + SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/upload-artifact@master + with: + name: coverage + path: target/coverage --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
