daz
e55599fc4d
Adapt build-result-capture script for GE plugin 3.17+
...
CI-ossf-scorecard / Scorecard analysis (push) Has been cancelled
CI-update-dist / update-dist (push) Has been cancelled
CI-validate-wrappers / validation (push) Has been cancelled
CI-check-and-unit-test / check-format-and-unit-test (push) Has been cancelled
CI-codeql / Analyze (push) Has been cancelled
CI-init-script-check / test-init-scripts (push) Has been cancelled
CI-integ-test / build-distribution (push) Has been cancelled
CI-integ-test / caching-integ-tests (push) Has been cancelled
CI-integ-test / other-integ-tests (push) Has been cancelled
The build-result-capture.init.gradle script was making some assumptions about
extensions and plugin application that do not apply with the newest GE plugin.
Fixes #449
2024-11-17 07:26:28 -07:00
daz
333e9d9750
Do not ignore input parameters when build-scan-publish
is enabled
...
Fixes #447
2024-11-15 14:35:41 -07:00
daz
2aa49bf6a9
Set the correct env var for develocity-ccud-plugin-version
...
Fixes #446
2024-11-15 14:31:56 -07:00
daz
9ab6ee6757
Bump to version 2.0.2 of CCUDGP
2024-11-15 14:10:13 -07:00
Daz DeBoer
83709b49fe
Fix checksum test by reducing network calls ( #444 )
...
This test was originally starting with an empty set of checksums,
leading to the download of a checksum for every released and snapshot
version. This resulted in in sporadic test failures.
We now start with a known set of checksums and ensure that those that
are missing are downloaded. This involved some refactoring and
improvement in the way snapshot checksums are processed.
2024-11-14 15:44:07 -07:00
bot-githubaction
084b95f65a
Bump references to Develocity Gradle plugin from 3.18.1 to 3.18.2
2024-11-14 09:26:53 -07:00
daz
48353a25ca
Do not fail wrapper-validation on filename with illegal characters
2024-11-12 11:28:09 -07:00
daz
f22ac61fd1
Use Gradle 8.11 as the minimum version for cache-cleanup
...
The cache-cleanup API has changed, so the init-script that worked with
Gradle 8.9 no longer works with 8.11.
We now provision and use Gradle 8.11 for cache cleanup.
This provides a band-aid fix for #417 but that issue will still impact
any build configured to run with Gradle > 8.11
2024-11-11 20:54:29 -07:00
bigdaz
c345cfbe93
Update known wrapper checksums
2024-11-11 12:18:11 -07:00
bigdaz
2ca30c9a83
Update known wrapper checksums
2024-10-30 17:58:46 -06:00
bigdaz
7605d180a5
Update known wrapper checksums
2024-10-07 11:24:35 +10:00
Daz DeBoer
cf8c435260
Correctly handle multiline patterns for extracted entries ( #393 )
2024-09-14 16:00:48 -06:00
daz
340f8b64e0
Improve cache logging
2024-09-13 11:17:22 -06:00
Daz DeBoer
e5c1381176
Include cache save/restore times in Job Summary ( #389 )
...
Fixes #370
2024-09-13 10:45:46 -06:00
bot-githubaction
5fe9264c08
Bump references to Develocity Gradle plugin from 3.18 to 3.18.1
2024-09-12 19:55:39 -06:00
Alexis Tual
765a73447c
Fix passing expiresInHours query parameter
2024-09-12 18:43:23 -06:00
Daz DeBoer
7e0f050645
Ensure minimum Gradle version for cache-cleanup ( #364 )
...
Instead of always installing and using the latest Gradle version for
cache cleanup, we now require at least Gradle 8.9.
This avoids downloading and installing Gradle if the version on PATH is
sufficient to perform cache cleanup.
2024-08-31 11:11:24 -06:00
Daz DeBoer
4b7cc6e174
Differentiate Gradle 8.1 from 8.10 when checking version ( #358 )
...
Fixes #359
2024-08-26 14:47:28 -06:00
bot-githubaction
089bfb1063
Bump references to Develocity Gradle plugin from 3.17.6 to 3.18
2024-08-26 10:53:40 -06:00
bigdaz
1bc1a6c922
Update known wrapper checksums
2024-08-26 10:46:59 -06:00
bigdaz
1ac097f44e
Update known wrapper checksums
2024-08-12 09:58:33 -06:00
daz
e482045599
Tweak log message
2024-08-08 13:34:53 -06:00
daz
ac3aebda93
Improve error messages for min-wrapper-count
...
- Specific message when no wrappers are found
- Better message when wrapper count is less than configured
Fixes #284
2024-08-02 15:51:41 -06:00
daz
73f1290de7
Improve docs linked for wrapper-validation failure
2024-08-01 10:59:51 -06:00
daz
b6395da67c
Cache validated checksums for later executions
...
The most common case for validation will be that the wrapper jars are unchanged
from a previous workflow run. In this case, we cache the validated wrapper
checksums to minimise the work required on a subsequent run.
Fixes #172
2024-08-01 10:52:36 -06:00
daz
ce4c3a6c5e
Move wrapper-validation into common setup code
2024-08-01 10:52:36 -06:00
daz
b644be617f
Enable wrapper validation by default
...
- Add 'allow-snapshot-wrappers' input parameter
- Default 'validate-wrappers' to 'true'
Fixes #12
2024-08-01 10:51:02 -06:00
daz
7179909719
Verify wrappers for distribution-snapshots
...
By slurping the checksum URLs from https://services.gradle.org/distributions-snapshots/
we can include these unpublished wrapper checksums in validation.
Fixes #281
2024-07-31 21:26:55 -06:00
daz
fe594a580d
Group cache-cleanup log messages for clarity
2024-07-31 21:25:22 -06:00
daz
53f2a5657b
Add newline to args message
CI-check-and-unit-test / check-format-and-unit-test (push) Waiting to run
CI-codeql / Analyze (javascript-typescript) (push) Waiting to run
CI-init-script-check / test-init-scripts (push) Waiting to run
CI-integ-test / develocity-injection (push) Blocked by required conditions
CI-integ-test / provision-gradle-versions (push) Blocked by required conditions
CI-integ-test / restore-configuration-cache (push) Blocked by required conditions
CI-integ-test / restore-containerized-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-custom-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-java-toolchain (push) Blocked by required conditions
CI-integ-test / sample-kotlin-dsl (push) Blocked by required conditions
CI-integ-test / sample-gradle-plugin (push) Blocked by required conditions
CI-integ-test / toolchain-detection (push) Blocked by required conditions
CI-integ-test / wrapper-validation (push) Blocked by required conditions
CI-integ-test / determine-suite (push) Waiting to run
CI-integ-test / build-distribution (push) Blocked by required conditions
CI-integ-test / build-scan-publish (push) Blocked by required conditions
CI-integ-test / cache-cleanup (push) Blocked by required conditions
CI-integ-test / caching-config (push) Blocked by required conditions
CI-integ-test / dependency-graph (push) Blocked by required conditions
CI-integ-test / dependency-submission (push) Blocked by required conditions
CI-integ-test / dependency-submission-failures (push) Blocked by required conditions
CI-update-dist / update-dist (push) Waiting to run
2024-07-31 13:22:03 -06:00
bot-githubaction
c3f989640d
Bump references to Develocity Gradle plugin from 3.17.5 to 3.17.6
2024-07-22 20:56:04 -06:00
daz
1a11891cfe
Add error to job summary
2024-07-22 09:30:39 -06:00
daz
fae6382622
Fail the build when arguments
parameter is used
2024-07-22 09:30:39 -06:00
daz
7bb45b1dbd
Finish enabling cache-cleanup by default
...
- Add deprecation warning for `gradle-home-cache-cleanup`
- Change default for `dependency-submission` to `cache-cleanup: on-success`
- Update documentation for changed default
2024-07-21 14:19:54 -06:00
Daz DeBoer
2289da045c
Introduce dependency graph params ( #304 )
...
Fixes #193
2024-07-19 19:40:42 -06:00
daz
e6688f31b8
Include RUNNER_ARCH in cache key
...
Previously, including RUNNER_OS was enough to prevent leaking incompatible
content between Gradle User Homes. With the introduction of macos-14,
we now need to differentiate between different runner architectures as well.
Fixes #138
2024-07-19 19:24:50 -06:00
daz
7387edbbb3
Add more input parameters for dependency-graph generation
...
- dependency-graph-include-projects
- dependency-graph-exclude-projects
- dependency-graph include-configurations
- dependency-graph-exclude-configurations
2024-07-19 17:22:07 -06:00
daz
9e459adb11
Add 'dependency-graph-report-dir' input parameter
2024-07-19 17:21:10 -06:00
daz
5acdee61f0
Make cache-cleanup compatible with cache-write-only
2024-07-19 16:16:59 -06:00
daz
32f9239e2c
Remove the undocumented 'dependency-graph: clear' option
2024-07-19 16:16:13 -06:00
daz
12cb23c359
Enable cache-cleanup 'on-success' by default
...
Fixes #26
2024-07-19 15:28:39 -06:00
daz
2041ce6ab1
Fail on delegation from legacy actions
2024-07-19 15:12:40 -06:00
daz
ded8009fcf
Remove deprecated input parameters
2024-07-19 15:12:40 -06:00
daz
5d7c18409c
Use pre-installed Gradle when version matches
...
By executing Gradle on the PATH, we can avoid downloading and installing
a Gradle version that is already available on the runner.
Fixes #270
2024-07-19 13:46:56 -06:00
daz
917439d87d
Always set the GRADLE_USER_HOME env var
2024-07-19 11:55:34 -06:00
Daz DeBoer
514ac344fc
Use faster D: drive on windows for Gradle User Home and Gradle downloads ( #299 )
...
Fixes #290
2024-07-19 11:07:34 -06:00
daz
f8aa3ed8b4
Use faster D: drive for Gradle User Home on Windows
2024-07-19 10:04:41 -06:00
daz
b175189376
Download and install Gradle distributions into tmpdir
2024-07-19 09:14:37 -06:00
daz
e7f9f25d86
Delete excluded paths on restore Gradle Home
...
Fixes #296
2024-07-19 09:05:31 -06:00
daz
a77cb2b0f8
Add test for no cache-cleanup with config-cache hit
2024-07-18 22:25:59 -06:00