Skip to content

Commit

Permalink
TEMP debug, without build
Browse files Browse the repository at this point in the history
  • Loading branch information
adoroszlai committed Dec 11, 2024
1 parent c66b884 commit 4f3bc58
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
needs-basic-check: false
needs-native-check: false
basic-checks: ${{ steps.categorize-basic-checks.outputs.basic-checks }}
needs-build: ${{ steps.selective-checks.outputs.needs-build }}
needs-build: false
needs-compile: false
needs-compose-tests: ${{ steps.selective-checks.outputs.needs-compose-tests }}
needs-dependency-check: false
Expand Down Expand Up @@ -480,7 +480,6 @@ jobs:
acceptance:
needs:
- build-info
- build
runs-on: ubuntu-20.04
timeout-minutes: 150
if: needs.build-info.outputs.needs-compose-tests == 'true'
Expand All @@ -504,19 +503,18 @@ jobs:
restore-keys: |
maven-repo-
- name: Download compiled Ozone binaries
if: needs.build-info.outputs.needs-build == 'true'
uses: actions/download-artifact@v4
with:
name: ozone-bin
- name: Untar binaries
if: needs.build-info.outputs.needs-build == 'true'
run: |
mkdir -p hadoop-ozone/dist/target
tar xzvf ozone*.tar.gz -C hadoop-ozone/dist/target
rm ozone*.tar.gz
- name: Execute tests
run: |
pushd hadoop-ozone/dist/target/ozone-*
sudo mkdir .aws && sudo chmod 777 .aws && sudo chown 1000 .aws
popd
./hadoop-ozone/dev-support/checks/acceptance.sh
env:
KEEP_IMAGE: false
Expand Down
8 changes: 4 additions & 4 deletions hadoop-ozone/dev-support/checks/acceptance.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ REPORT_FILE="$REPORT_DIR/summary.txt"
OZONE_VERSION=$(mvn help:evaluate -Dexpression=ozone.version -q -DforceStdout -Dscan=false)
DIST_DIR="${OZONE_ROOT}/hadoop-ozone/dist/target/ozone-$OZONE_VERSION"

if [ ! -d "$DIST_DIR" ]; then
echo "Distribution dir is missing. Doing a full build"
"$DIR/build.sh" -Pcoverage
fi
#if [ ! -d "$DIST_DIR" ]; then
# echo "Distribution dir is missing. Doing a full build"
# "$DIR/build.sh" -Pcoverage
#fi

mkdir -p "$REPORT_DIR"

Expand Down
8 changes: 8 additions & 0 deletions hadoop-ozone/dist/src/main/compose/common/s3a-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ if [[ -z ${HADOOP_AWS_DIR} ]] || [[ ! -e ${HADOOP_AWS_DIR} ]]; then
fi

MAVEN_OPTIONS="--fail-never ${MAVEN_OPTIONS:-}"
echo $MAVEN_OPTIONS

pushd "${HADOOP_AWS_DIR}"
mvn $MAVEN_OPTIONS help:effective-pom
mvn $MAVEN_OPTIONS help:effective-settings
mvn $MAVEN_OPTIONS eu.maveniverse.maven.plugins:toolbox:list-repositories
mvn $MAVEN_OPTIONS -N --debug clean
exit

# shellcheck source=/dev/null
source "$COMPOSE_DIR/../testlib.sh"
Expand Down

0 comments on commit 4f3bc58

Please sign in to comment.