Commit graph

1630 commits

Author SHA1 Message Date
Alex Serbin
6ccde15122
Use logger in dependency graph init script (#191)
Dependency graph init script now uses Gradle logger to emit warning/info messages.
This allows these messages to be suppressed using `--quiet`.
2024-04-19 07:03:17 -06:00
bigdaz
750cdda3ed [bot] Update dist directory 2024-04-18 19:41:35 +00:00
Daz DeBoer
c198d84863
Support custom report dir for dependency-submission (#189)
If the `DEPENDENCY_GRAPH_REPORT_DIR` var is set, use this value when locating dependency-graph files to upload/submit.

Fixes #188
2024-04-18 13:40:41 -06:00
Daz DeBoer
d211a39090
Documentation updates (#187)
* Use consistent YAML syntax in example workflows
* Add link to plugin env vars
2024-04-18 09:39:15 -06:00
bigdaz
439ed0a0ac [bot] Update dist directory 2024-04-18 01:09:48 +00:00
daz
eef9b10930 Bump Develocity and CCUD plugin versions 2024-04-17 19:08:51 -06:00
Marcono1234
8be796e9fa Update link to 'update checksums' workflow 2024-04-16 10:06:09 -06:00
daz
3c2d3b6f2a
Include VS code workspace file
This workspace sets things up so that source code navigation works
propertly in VS code.
2024-04-12 15:39:30 -06:00
daz
0fa10b26b8
Update releasing guide 2024-04-12 14:01:48 -06:00
bigdaz
6cec5d49d4 [bot] Update dist directory 2024-04-12 16:35:47 +00:00
daz
6d55902761 Deprecate 'wrapper-validation-action'
Deprecation warning will be emitted when we:
- Change 'wrapper-validation-action' to delegate to 'actions/wrapper-validation'
- Add the 'wrapper-validation-action' id as env var before delegating
2024-04-12 10:34:50 -06:00
daz
0325d99e52 Workflow fixes
- Fix typo in 'paths-ignore'
- Add back 'buildDistribution' to demo job summary
2024-04-12 10:34:50 -06:00
daz
d0f2f0387e
Update build script and contribution guide 2024-04-12 09:15:19 -06:00
Gabriel Feo
248dd904ed Fix link to doc section 2024-04-12 07:27:24 -06:00
bigdaz
d576690f96 [bot] Update dist directory 2024-04-12 06:42:43 +00:00
daz
feb10e7858
Minor formatting fix 2024-04-12 00:39:23 -06:00
daz
5893d44739
Use fixed job name for cache restore 2024-04-12 00:38:28 -06:00
daz
fb14e0ee5b Skip the 'download-dist' step for full integ-test
After the '[bot] update dist directory' commit, we run a full test suite.
This will now use the content from the 'dist' directory, rather than
regenerating this content in the test.
2024-04-12 00:24:44 -06:00
daz
0261d93071
Switch back to unique cache entries with full integ-test 2024-04-11 23:00:25 -06:00
bigdaz
6e48e8e40c [bot] Update dist directory 2024-04-12 04:56:19 +00:00
daz
b855ea8d07
Revert inconsequential change 2024-04-11 22:55:22 -06:00
daz
7d97cfadb0
Avoid most workflows when only 'dist' has changed 2024-04-11 22:54:09 -06:00
bigdaz
5eedb47e5a [bot] Update dist directory 2024-04-12 04:48:13 +00:00
daz
3e6b0e422f
Inconsequential change 2024-04-11 22:47:10 -06:00
daz
ebf9707dff Use a bot token to generate "Update dist" commit
This will permit workflows to run when this commit is applied.

- Avoid running ci-update-dist for modifications to dist directory (no recursion)
- Run full-suite only in response to bot updates.
2024-04-11 22:44:13 -06:00
daz
0627979b9c Only allow one integ-test at a time per branch 2024-04-11 22:44:13 -06:00
bigdaz
fcf9eeaf01 Update dist directory 2024-04-11 20:05:19 +00:00
daz
713dee76c6 Update extracted cache entries for Gradle 8.6+
- Extracted transform jars for newer Gradle versions 8.6+
- Extracted `groovy-dsl` which was introduced in Gradle 8.7

Fixes #45
2024-04-11 14:04:25 -06:00
bigdaz
1fd792382e Update dist directory 2024-04-11 18:41:42 +00:00
Daz DeBoer
38e549269f
Allow wrapper validation via the 'setup-gradle' action (#162)
Adds a 'validate-wrappers' option to `gradle/actions/setup-gradle`,
which defaults to 'false'.
When 'true', the action will first validate all Gradle wrappers in the
repository before proceeding.

Fixes #161
2024-04-11 12:40:45 -06:00
daz
e9d1819b96
Document 'validate-wrappers' input 2024-04-11 12:35:15 -06:00
daz
62557f3635
Enable wrapper validation with setup-gradle action 2024-04-11 11:56:55 -06:00
daz
33741bd2bb
Make it easier to run workflows locally with 'act' 2024-04-11 11:56:01 -06:00
daz
ea328a863d
Update documentation link 2024-04-11 10:23:52 -06:00
daz
ba79f71e36
Consolidate error processing in actions 2024-04-11 10:19:53 -06:00
bigdaz
1c25312b02 Update dist directory 2024-04-11 15:50:31 +00:00
Daz DeBoer
3a234be20e
Import wrapper validation into gradle/actions (#159)
Having a single repository to host all of the Gradle GitHub Actions will
provide numerous benefits:

1. Easier to stay on top of dependency updates
2. More frequent release cycle
3. Enable integration between different actions like automatic wrapper
validation with `setup-gradle`.
2024-04-11 09:49:32 -06:00
daz
c1a61df4f1
Remove unused dependency 2024-04-11 09:45:42 -06:00
daz
fa4107aefb
Add docs for wrapper-validation action 2024-04-11 09:04:13 -06:00
daz
39cecc54d0
Add wrapper-validation workflows 2024-04-11 08:39:21 -06:00
daz
f1476a710d
Initial import of wrapper-validation-action 2024-04-10 21:17:49 -06:00
daz
3252e655d0
Ensure each integ-test gets a unique cache-key-prefix 2024-04-10 20:07:14 -06:00
daz
be0b7f44a7
Temporarily disable cache prefixing in integ tests
This is an attempt to stabilize our CI workflows.
2024-04-10 19:49:08 -06:00
bigdaz
c31cff66cf Update dist directory 2024-04-10 23:21:27 +00:00
Philip Wedemann
0f427bc07b
Add a test for merging existing toolchains.xml (#151) 2024-04-10 17:20:36 -06:00
daz
30a2ee13f2
Skip certain tests when running from fork 2024-04-10 17:05:09 -06:00
daz
d37a479015
Use pull_request triggers primarily for workflows
Instead of relying on push triggers in general, we now use pull_request
and reserve push triggers for main and release branches.

This makes the behaviour more consistent for users contributing from
repository forks. However, we no longer have a quick-feedback loop
for development.
2024-04-10 16:48:14 -06:00
daz
3e155e3d92
Avoid running incompatible tests on Windows 2024-04-10 13:11:19 -06:00
bigdaz
ffea2635eb Update dist directory 2024-04-10 18:26:18 +00:00
Daz DeBoer
e21decc9db
Create toolchains.xml dynamically based on envs (#150)
Different runners have different JDKs installed, so using a hard-coded
list for
`toolchains.xml` doesn't work. With this change, the file is generated
based on the available `JAVA_HOME_*` environment variables.

Fixes #89 

Thanks @hfhbd for the contribution!

Co-authored-by: hfhbd <22521688+hfhbd@users.noreply.github.com>
2024-04-10 12:25:22 -06:00