Skip to content

fix(deps): update dependency io.quarkus.platform:quarkus-bom to v3.17.4 #1596

fix(deps): update dependency io.quarkus.platform:quarkus-bom to v3.17.4

fix(deps): update dependency io.quarkus.platform:quarkus-bom to v3.17.4 #1596

Workflow file for this run

name: Run Gradle on PRs
on:
pull_request:
branches-ignore: []
push:
branches:
- main
jobs:
gradle:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-java@v4
with:
cache: 'gradle'
distribution: temurin
java-version: 17
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Execute Gradle build
env:
WHITEFOX_TEST_AWS_REGION: ${{ vars.WHITEFOX_AWS_REGION }}
WHITEFOX_TEST_AWS_ACCESS_KEY_ID: ${{ secrets.WHITEFOX_AWS_ACCESS_KEY_ID }}
WHITEFOX_TEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.WHITEFOX_AWS_SECRET_ACCESS_KEY }}
WHITEFOX_TEST_GLUE_CATALOG_ID: ${{ secrets.WHITEFOX_GLUE_CATALOG_ID }}
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
export HADOOP_HOME="$(pwd)/.github/workflows/hadoop3-win-binaries"
fi
./gradlew build testNative --no-daemon --rerun-tasks
./gradlew server:app:printVersion --no-daemon -q
shell: bash
- name: Run integration test
shell: bash
env:
WHITEFOX_TEST_AWS_REGION: ${{ vars.WHITEFOX_AWS_REGION }}
WHITEFOX_TEST_AWS_ACCESS_KEY_ID: ${{ secrets.WHITEFOX_AWS_ACCESS_KEY_ID }}
WHITEFOX_TEST_AWS_SECRET_ACCESS_KEY: ${{ secrets.WHITEFOX_AWS_SECRET_ACCESS_KEY }}
WHITEFOX_TEST_GLUE_CATALOG_ID: ${{ secrets.WHITEFOX_GLUE_CATALOG_ID }}
run: |
WHITEFOX_SERVER_AUTHENTICATION_ENABLED=TRUE \
WHITEFOX_SERVER_AUTHENTICATION_BEARERTOKEN=token \
java -jar server/app/build/quarkus-app/quarkus-run.jar &
./gradlew :client-spark:clientSparkTest --no-daemon
kill -9 %1
- name: Login to ghcr
if: runner.os == 'Linux'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push container image
if: runner.os == 'Linux'
shell: bash
env:
QUARKUS_CONTAINER_IMAGE_PUSH: "true"
run: |
if [[ "${{github.ref}}" == "refs/heads/main" ]]; then
export QUARKUS_CONTAINER_IMAGE_ADDITIONAL_TAGS="latest"
fi
./gradlew server:app:build --no-daemon -Dquarkus.container-image.build=true