Skip to content

Commit b4bf0e6

Browse files
committed
Exclude validateJarChecksums for Apache Solr
1 parent 980d5b1 commit b4bf0e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/run-experiments-apache-solr.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
DEVELOCITY_URL: "https://ge.solutions-team.gradle.com"
1313
GIT_REPO: "https://github.com/apache/solr"
1414
TASKS: "check integrationTests -Ptests.seed=3466BEBDD5AA01A0 -Pvalidation.git.failOnModified=false -Ptests.haltonfailure=false -Ptests.neverUpToDate=false"
15+
ARGS: "-x validateJarChecksums"
1516

1617
jobs:
1718
Experiment:
@@ -33,7 +34,6 @@ jobs:
3334
run: |
3435
mkdir ~/git-hooks
3536
echo -e 'echo "\nallprojects { pluginManager.withPlugin(\"com.diffplug.spotless\") { tasks.withType(com.diffplug.gradle.spotless.SpotlessTaskImpl).configureEach { outputs.doNotCacheIf(\"SpotlessTaskImpl is not cacheable if custom formatter steps are used\") { true } } } }" >> build.gradle\n' >> ~/git-hooks/post-checkout
36-
echo -e 'echo "\nallprojects { tasks.named { it == "validateJarChecksums" }.configureEach { enabled = false } }" >> build.gradle\n' >> ~/git-hooks/post-checkout
3737
chmod +x ~/git-hooks/post-checkout
3838
git config --global core.hooksPath ~/git-hooks
3939
- name: Download latest version of the validation scripts
@@ -50,6 +50,7 @@ jobs:
5050
with:
5151
gitRepo: ${{ env.GIT_REPO }}
5252
tasks: ${{ env.TASKS }}
53+
args: ${{ env.ARGS }}
5354
develocityUrl: ${{ env.DEVELOCITY_URL }}
5455
if: matrix.experimentId == 1
5556
- name: Run experiment 2
@@ -59,6 +60,7 @@ jobs:
5960
with:
6061
gitRepo: ${{ env.GIT_REPO }}
6162
tasks: ${{ env.TASKS }}
63+
args: ${{ env.ARGS }}
6264
develocityUrl: ${{ env.DEVELOCITY_URL }}
6365
failIfNotFullyCacheable: true
6466
if: matrix.experimentId == 2
@@ -69,6 +71,7 @@ jobs:
6971
with:
7072
gitRepo: ${{ env.GIT_REPO }}
7173
tasks: ${{ env.TASKS }}
74+
args: ${{ env.ARGS }}
7275
develocityUrl: ${{ env.DEVELOCITY_URL }}
7376
failIfNotFullyCacheable: true
7477
if: matrix.experimentId == 3

0 commit comments

Comments
 (0)