Skip to content

Commit 61d9a42

Browse files
committed
Disable gradle cache on all workflows
Signed-off-by: Peter Nied <petern@amazon.com>
1 parent 12a8e1f commit 61d9a42

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.github/actions/create-bwc-build/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ runs:
3535
- name: Build
3636
uses: gradle/gradle-build-action@v2
3737
with:
38+
cache-disabled: true
3839
arguments: assemble -Dbuild.snapshot=false
3940
build-root-directory: ${{ inputs.plugin-branch }}
4041

.github/actions/run-bwc-suite/action.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ runs:
3131
- name: Run BWC tests
3232
uses: gradle/gradle-build-action@v2
3333
with:
34+
cache-disabled: true
3435
arguments: |
3536
bwcTestSuite
3637
-Dtests.security.manager=false

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- name: Build and Test
2929
uses: gradle/gradle-build-action@v2
3030
with:
31+
cache-disabled: true
3132
arguments: |
3233
build test -Dbuild.snapshot=false
3334
-x integrationTest
@@ -76,6 +77,7 @@ jobs:
7677
uses: gradle/gradle-build-action@v2
7778
continue-on-error: true # Until retries are enable do not fail the workflow https://github.com/opensearch-project/security/issues/2184
7879
with:
80+
cache-disabled: true
7981
arguments: |
8082
integrationTest -Dbuild.snapshot=false
8183
-x spotlessCheck

.github/workflows/code-hygiene.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626

2727
- uses: gradle/gradle-build-action@v2
2828
with:
29+
cache-disabled: true
2930
arguments: spotlessCheck
3031

3132
checkstyle:
@@ -41,6 +42,7 @@ jobs:
4142

4243
- uses: gradle/gradle-build-action@v2
4344
with:
45+
cache-disabled: true
4446
arguments: checkstyleMain checkstyleTest
4547

4648
spotbugs:
@@ -56,4 +58,5 @@ jobs:
5658

5759
- uses: gradle/gradle-build-action@v2
5860
with:
61+
cache-disabled: true
5962
arguments: spotbugsMain

.github/workflows/plugin_install.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- name: Assemble target plugin
2828
uses: gradle/gradle-build-action@v2
2929
with:
30+
cache-disabled: true
3031
arguments: assemble
3132

3233
# Move and rename the plugin for installation
@@ -59,4 +60,5 @@ jobs:
5960
- name: Run sanity tests
6061
uses: gradle/gradle-build-action@v2
6162
with:
63+
cache-disabled: true
6264
arguments: integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="opensearch" -Dhttps=true -Duser=admin -Dpassword=admin

0 commit comments

Comments
 (0)