Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/actions/ci-incr-build-cache-save/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ description: 'Save incremental Gradle caches'
inputs:
job-name:
description: 'job name'
default: ${{ github.job }}
java-version:
description: 'Java version'
default: '21'
Expand All @@ -27,6 +28,7 @@ runs:
steps:
- name: Prepare Gradle caches archive
shell: bash
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
run: |
if [[ -d ~/.gradle/caches/ ]] ; then
echo "::group::Gradle caches / identify updated cache items"
Expand Down Expand Up @@ -62,6 +64,7 @@ runs:
fi
- name: Archive code-checks incremental
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
name: ci-gradle-caches-${{ inputs.job-name }}-${{ inputs.java-version }}
path: ~/ci-gradle-caches-${{ inputs.job-name }}-${{ inputs.java-version }}.tar
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ jobs:
-x intTest --continue
- name: Save partial Gradle build cache
uses: ./.github/actions/ci-incr-build-cache-save
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
job-name: 'unit-tests'
- name: Archive test results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: always()
Expand Down Expand Up @@ -106,9 +103,6 @@ jobs:
./gradlew :polaris-runtime-service:test --continue
- name: Save partial Gradle build cache
uses: ./.github/actions/ci-incr-build-cache-save
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
job-name: 'quarkus-runtime-tests'
- name: Archive test results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: always()
Expand Down Expand Up @@ -141,9 +135,6 @@ jobs:
./gradlew :polaris-runtime-service:intTest --continue
- name: Save partial Gradle build cache
uses: ./.github/actions/ci-incr-build-cache-save
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
job-name: 'quarkus-runtime-inttests'
- name: Archive test results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: always()
Expand Down Expand Up @@ -176,9 +167,6 @@ jobs:
./gradlew :polaris-admin:test --continue
- name: Save partial Gradle build cache
uses: ./.github/actions/ci-incr-build-cache-save
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
job-name: 'quarkus-admin-tests'
- name: Archive test results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: always()
Expand Down Expand Up @@ -218,9 +206,6 @@ jobs:
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
- name: Save partial Gradle build cache
uses: ./.github/actions/ci-incr-build-cache-save
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
job-name: 'integration-tests'
- name: Archive test results
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
if: always()
Expand Down