Skip to content

Load content hash as the etag of the object when the UFS is S3 in 2.8 #11353

Load content hash as the etag of the object when the UFS is S3 in 2.8

Load content hash as the etag of the object when the UFS is S3 in 2.8 #11353

name: Java 11 Integration Tests
on: [pull_request]
jobs:
build:
name: "modules: "
strategy:
fail-fast: false
matrix:
modules:
- >-
alluxio.client.cli.**,!alluxio.client.cli.fs.**
- >-
alluxio.client.cli.fs.**
- >-
alluxio.client.fs.**,!alluxio.client.fs.concurrent.**,!alluxio.client.fs.io.**
- >-
alluxio.client.fs.concurrent.**,alluxio.client.fs.io.**
- >-
alluxio.client.**,!alluxio.client.fs.**,!alluxio.client.cli.**,!alluxio.client.fuse.**
- >-
alluxio.job.**,alluxio.master.**,alluxio.stress.**
- >-
alluxio.server.ft.**,!alluxio.server.ft.journal.raft.**,!alluxio.server.ft.journal.ufs.**
- >-
alluxio.server.ft.journal.raft.**,alluxio.server.ft.journal.ufs.**
- >-
alluxio.server.**,!alluxio.server.ft.**
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.title, 'DOCFIX') &&
!contains(github.event.pull_request.title, 'SKIPCI')"
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '10.11.0'
- name: Cache local Maven repository
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-java11-${{ hashFiles('**/pom.xml') }}
- name: Run tests
id: test0
run: |
mkdir -p ~/.m2
ALLUXIO_DOCKER_NO_TTY=true \
ALLUXIO_DOCKER_GIT_CLEAN=true \
ALLUXIO_DOCKER_MVN_RUNTOEND=true \
ALLUXIO_DOCKER_MVN_PROJECT_LIST=!webui,!shaded/client,!integration/tools/hms,!integration/yarn,!assembly/client,!assembly/server,!table/server/underdb/glue,!underfs/hdfs,!underfs/ozone,!underfs/adl,!underfs/abfs,!underfs/cosn,!underfs/wasb,!underfs/cos,!underfs/kodo,!underfs/oss,!underfs/swift \
ALLUXIO_DOCKER_IMAGE=alluxio/alluxio-maven:0.0.7-jdk11 \
dev/github/run_docker.sh "\"-Dtest=${{ matrix.modules }}\"" -pl tests
timeout-minutes: 60
- name: Archive artifacts
continue-on-error: true
uses: actions/upload-artifact@v2
if: always()
with:
name: artifact
path: |
**/target/surefire-reports/*
**/target/artifacts/*
**/target/logs/*
retention-days: 7