Skip to content

Commit

Permalink
Disable config-cache encryption in test
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdaz committed Dec 20, 2023
1 parent ed195fa commit d899676
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integ-test-restore-configuration-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
cache-read-only: false # For testing, allow writing cache entries on non-default branches
- name: Groovy build with configuration-cache enabled
working-directory: .github/workflow-samples/groovy-dsl
run: ./gradlew test --configuration-cache
run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false

verify-build-groovy:
env:
Expand All @@ -58,7 +58,7 @@ jobs:
- name: Groovy build with configuration-cache enabled
id: execute
working-directory: .github/workflow-samples/groovy-dsl
run: ./gradlew test --configuration-cache
run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false
- name: Check that configuration-cache was used
uses: actions/github-script@v7
with:
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
cache-read-only: true
- name: Check execute Gradle build with configuration cache enabled (but not restored)
working-directory: .github/workflow-samples/groovy-dsl
run: ./gradlew test --configuration-cache
run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false

seed-build-kotlin:
env:
Expand All @@ -110,7 +110,7 @@ jobs:
cache-read-only: false # For testing, allow writing cache entries on non-default branches
- name: Execute 'help' with configuration-cache enabled
working-directory: .github/workflow-samples/kotlin-dsl
run: ./gradlew help --configuration-cache
run: ./gradlew help --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false

modify-build-kotlin:
env:
Expand All @@ -131,7 +131,7 @@ jobs:
cache-read-only: false # For testing, allow writing cache entries on non-default branches
- name: Execute 'test' with configuration-cache enabled
working-directory: .github/workflow-samples/kotlin-dsl
run: ./gradlew test --configuration-cache
run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false

# Test restore configuration-cache from the third build invocation
verify-build-kotlin:
Expand All @@ -154,7 +154,7 @@ jobs:
- name: Execute 'test' again with configuration-cache enabled
id: execute
working-directory: .github/workflow-samples/kotlin-dsl
run: ./gradlew test --configuration-cache
run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false
- name: Check that configuration-cache was used
uses: actions/github-script@v7
with:
Expand Down

0 comments on commit d899676

Please sign in to comment.