Add SecretsProvider
implementations for AWS, GCP, Vault
#5841
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Newer Java versions | |
on: | |
pull_request: | |
types: [labeled, opened, synchronize, reopened] | |
schedule: | |
# Run daily on week days | |
- cron: '0 4 * * 1-5' | |
workflow_dispatch: | |
# For the main branch: let all CI runs complete, one after the other. This has a couple advantages: | |
# * Site deployments happen in commit-order | |
# * Saved Gradle cache are persisted in commit-order | |
# * (Potentially) more GH runners available for PRs | |
concurrency: | |
# PRs: 1 CI run concurrently / older ones are cancelled | |
# main branch: 1 CI run concurrently / all commits / no cancellation | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
java: | |
name: Exercise Java version | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 90 | |
if: (github.repository == 'projectnessie/nessie' && github.event_name != 'pull_request') || contains(github.event.pull_request.labels.*.name, 'pr-newer-java') | |
strategy: | |
max-parallel: 1 | |
matrix: | |
include: | |
- java-version: 21 | |
env: | |
SPARK_LOCAL_IP: localhost | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Setup runner | |
uses: ./.github/actions/setup-runner | |
with: | |
more-memory: 'true' | |
- name: Setup Java, Gradle | |
uses: ./.github/actions/dev-tool-java | |
with: | |
java-version: ${{ matrix.java-version }} | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3 | |
env: | |
# Same as for ci.yml | |
GRADLE_BUILD_ACTION_CACHE_KEY_ENVIRONMENT: java-17 | |
GRADLE_BUILD_ACTION_CACHE_KEY_JOB: nessie-ci | |
GRADLE_BUILD_ACTION_CACHE_KEY_JOB_INSTANCE: ci | |
with: | |
cache-read-only: true | |
- name: Gradle / compile | |
run: | | |
./gradlew \ | |
spotlessCheck \ | |
compileAll \ | |
-x :nessie-quarkus:compileAll \ | |
-x :nessie-server-admin-tool:compileAll \ | |
-x :nessie-events-quarkus:compileAll \ | |
--scan | |
- name: Gradle / Compile Quarkus | |
run: | | |
./gradlew \ | |
:nessie-quarkus:compileAll \ | |
:nessie-server-admin-tool:compileAll \ | |
:nessie-events-quarkus:compileAll \ | |
--scan | |
- name: Gradle / unit test | |
run: ./gradlew test --scan | |
- name: Gradle / check incl. integ-test | |
run: ./gradlew check --scan | |
- name: Gradle / assemble + publish local | |
run: ./gradlew assemble publishToMavenLocal --scan | |
- name: Gradle / build tools integration tests | |
run: ./gradlew buildToolsIntegrationTest | |
- name: Capture Test Reports | |
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4 | |
if: ${{ failure() }} | |
with: | |
name: test-results | |
path: | | |
**/build/reports/* | |
**/build/test-results/* | |
retention-days: 7 |