Skip to content

HDDS-9486-1

HDDS-9486-1 #5

Workflow file for this run

name: HDDS-9486-1
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:
HDDS-9486-1:
name: HDDS-9486-1
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: HDDS-9486-1
- 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=TestSnapshotBackgroundServices
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: HDDS-9486-1
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()