THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
name: it-client
on:
schedule:
- cron: '*/30 * * * *'
env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
jobs:
it-client:
name: it-client
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
ref: leader-election-problem
- name: Cache for maven dependencies
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-repo-${{ hashFiles('**/pom.xml') }}-8-single
restore-keys: |
maven-repo-${{ hashFiles('**/pom.xml') }}-8
maven-repo-${{ hashFiles('**/pom.xml') }}
maven-repo-
- name: Execute tests
run: hadoop-ozone/dev-support/checks/integration.sh -Dtest=TestOzoneRpcClient
env:
ITERATIONS: 20
- name: Summary of failures
run: cat target/integration/summary.txt
if: always()
- name: Archive build results
uses: actions/upload-artifact@v2
if: always()
with:
name: it-client
path: target/integration
- name: Delete temporary build artifacts before caching
run: |
#Never cache local artifacts
rm -rf ~/.m2/repository/org/apache/ozone/hdds*
rm -rf ~/.m2/repository/org/apache/ozone/ozone*
if: always()
|
...