Commit Graph
100 Commits
Author SHA1 Message Date
Daz DeBoerandGitHub 220951bf17 Fix develocity deprecations triggered by init-scripts (#128)
Fixes #126
2024-04-08 11:12:53 -06:00
daz c93523a078 Fix Develocity deprecation warnings triggered by init-scripts 2024-04-08 10:58:12 -06:00
daz 0ac212a9d2 Make it possible to run more init-script tests on M1 Mac
Older TestKit on M1 Mac doesn't allow env vars to be passed, so we need to use
jvmArgs instead.
2024-04-08 09:46:48 -06:00
daz 2b3c9df6d2 Bump Gradle used to run init-script tests 2024-04-07 23:40:17 -06:00
daz dd32675981 Build outputs 2024-04-07 22:43:28 -06:00
daz a9dc5dee4e Bump to CCUD plugin v2.0 everywhere 2024-04-07 22:42:14 -06:00
Daz DeBoerandGitHub dbdb67aa6c Complete migration of 'dependency-submission' to Typescript (#124)
Finishes the migration of `dependency-submission` to a Typescript action
(fixes #116)

- Use consistent input params to ensure behaviour is consistent with
'setup-gradle'
- Submit generated graph immediately instead of waiting until end of job
(fixes #123)
- Can now add a `dependency-submission` step after a `setup-gradle` step
in the same job (fixes #36)
2024-04-07 17:00:08 -06:00
daz 8691214514 Build outputs 2024-04-07 16:57:18 -06:00
daz 1105cf252a Replace sources/build with top-level ./build script 2024-04-07 16:57:18 -06:00
daz ab471b0c20 Better test coverage for 'dependency-submission'
- Add 'dependency-submission' failure cases
- Add dependency-submission to job summary demo
- Fix permissions for dependency review
2024-04-07 16:57:18 -06:00
daz 90bf65c87c Generated graph is submitted immediately by dependency-submission action
While `setup-gradle` must wait until the end of job to submit all of the generated
graphs, the `dependency-submission` action will not save/upload the generated graph
immediately, in the same step where it is generated.
2024-04-07 16:57:18 -06:00
daz 38a821729e Use consistent action params between setup-gradle and dependency-submission
To ensure expected caching (and other) behaviour, we should keep these config
parameters as consistent as possible.
2024-04-07 12:11:50 -06:00
daz 627fa7627c Revert "Provide default config values for dependency-submission"
This reverts commit b7ef93c7b7.
2024-04-07 11:54:02 -06:00
daz e40c718900 Only verify TOU agreement when required 2024-04-07 11:25:02 -06:00
Daz DeBoerandGitHub 19d422aa4b Convert dependency-submission action to TypeScript (#122)
The original implementation was a thin `composite` wrapper that delegated to `setup-gradle`.
It is now a full-fledged action sharing implementation details.
2024-04-07 11:12:45 -06:00
daz d6f94a4073 Build outputs 2024-04-07 11:00:35 -06:00
daz b7ef93c7b7 Provide default config values for dependency-submission 2024-04-07 11:00:34 -06:00
daz cfd20ecc0a Replace static config methods with config types
This will allow different entry points to have different inputs.
2024-04-07 11:00:34 -06:00
daz ed4d086d37 Make dependency-submission and setup-gradle play nicely
Now, a `dependency-submission` step will trigger a dependency-graph
generation, even if it follows a `setup-gradle` step in the workflow.

Similarly, a `setup-gradle` step with `dependency-graph` configured
will function as expected even if it follows a `setup-gradle` step.
2024-04-06 19:31:07 -06:00
daz ebf4d13461 Convert dependency-submission action to Typescript
Instead of being a thin wrapper over `setup-gradle`, the `dependency-submission`
action is now a fully-fledged action sharing implementation with `setup-gradle`.
2024-04-06 19:31:04 -06:00
daz 4214607904 Make prettier run recursively on src 2024-04-06 19:30:42 -06:00
daz d71ecafebf Minor test reorg 2024-04-06 16:00:53 -06:00
Daz DeBoerandGitHub 1d19edabdc Make it possible to test workflows locally with act (#121) 2024-04-06 14:58:03 -06:00
daz 4057bfe59d Add notes on testing with act 2024-04-06 14:56:53 -06:00
daz 1390ca6454 Don't rely on preinstalled gradle for test 2024-04-06 14:52:02 -06:00
daz a3f366ddb7 Replace 'download-dist' action with 'init-integ-test'
This action takes care of 'setup-java' as well as downloading the dist if required.
2024-04-06 14:52:02 -06:00
daz 340a6438d0 Add 'setup-java' step to all examples 2024-04-05 14:54:29 -06:00
Daz DeBoerandGitHub a1a85e9819 Link to FAQ from main docs 2024-04-04 16:44:58 -06:00
Daz DeBoerandGitHub 0b06ce12c8 Restructure documentation and add a dependency-submission FAQ (#110) 2024-04-04 16:38:14 -06:00
daz e24011a3b5 Update dependency-submission action for 3.2.0
- Point to `setup-gradle` v3.2.0
- Add back in removed inputs
2024-04-04 13:33:06 -06:00
Daz DeBoerandGitHub eb261d5636 Document plugin authentication in README 2024-04-04 12:43:18 -06:00
Daz DeBoerandGitHub 875d13660f Update NPM dependency versions 2024-04-04 12:34:24 -06:00
Daz DeBoerandGitHub a5a8ae9361 Bump to v1.3.0 of the dependency-graph plugin 2024-04-04 11:34:27 -06:00
Daz DeBoerandGitHub 5fe1aec3c1 Develocity updates (#101)
- Switch to use `com.gradle.develocity` for plugin ID
- Switch to use `v3.17` for plugin version
- Update for change documentation URLs
- Update for changes to `develocity` DSL
2024-04-03 21:09:16 -06:00
daz 7be6c56c3d Build outputs 2024-04-03 20:57:44 -06:00
daz 7e87a5e8d9 Improve test coverage for different plugin versions 2024-04-03 20:57:44 -06:00
daz 518b14b196 Switch from com.gradle.enterprise to com.gradle.develocity 2024-04-03 19:05:27 -06:00
daz 81b3a2db60 Bump to Develocity plugin 3.17 2024-04-03 19:05:27 -06:00
daz 195c67f931 Use Develocity plugin v3.17 for build-scan-publish 2024-04-03 14:51:01 -06:00
Daz DeBoerandGitHub 5512434733 Update README.md 2024-04-01 14:46:52 -06:00
daz faecef076b Build outputs 2024-04-01 12:24:45 -06:00
daz cc54166e15 Truncate long values in job summary table
Fixes #35
2024-04-01 12:24:45 -06:00
daz 12646f8198 Clarify that Gradle Wrapper is assumed for examples 2024-04-01 12:24:45 -06:00
daz 393df4bfa2 Bump to Gradle 8.7 2024-03-23 09:32:57 -06:00
daz 7c03a8d3fb Build outputs 2024-03-21 22:14:09 -06:00
daz a6050d4c14 Remove redundant method implementation 2024-03-21 21:52:16 -06:00
daz ef7196c315 Ignore VScode config files 2024-03-21 21:52:16 -06:00
daz 60b8089f55 Avoid dirty state after unit-test execution 2024-03-12 22:15:37 +13:00
Daz DeBoerandGitHub 3fe876afb8 Merge pull request #66 from gradle/dependency-updates
Dependency updates
2024-03-11 21:44:18 -06:00
daz f4c37be1e8 Build outputs 2024-03-12 16:23:08 +13:00
daz 68b69be9d4 Update patch for @actions/cache@3.2.4 2024-03-12 16:17:03 +13:00
daz 07f64e2534 Bump jackson-dataformat-smile to 2.16.2 2024-03-12 16:13:40 +13:00
daz cee9fbd6e2 Bump CCUD plugin to 1.13 2024-03-12 16:13:40 +13:00
Daz DeBoerandGitHub 32f1033fd2 Fix dependabot config for relocated NPM sources 2024-03-11 21:06:42 -06:00
daz 7b589d9740 Apply plugin repository credentials for dependency graph plugin 2024-03-12 15:49:28 +13:00
Daz DeBoerandGitHub f58a414c4f Fix typo 2024-03-11 19:37:21 -06:00
daz acc4561424 Remove unused changes.md 2024-02-13 13:51:03 -07:00
daz e2b14c9dfc Run full-check on action.yml change 2024-02-13 13:10:30 -07:00
daz 417ae3ccd7 Prepare for v3.1.0 release 2024-02-13 13:04:08 -07:00
Daz DeBoerandGitHub 8a945e8ba7 Document use of debug logging with dependency-submission 2024-02-13 09:38:01 -07:00
daz b61dbd2545 Test no dependency-graph for failing build 2024-02-12 22:03:45 -07:00
daz 2262487821 Use v1.2.2 of dep-graph plugin 2024-02-12 21:41:04 -07:00
daz aaf44989e3 Use v1.2.1 of dep-graph plugin 2024-02-11 18:22:33 -07:00
Daz DeBoerandGitHub 09bd32c78f Improve documentation for debug logging 2024-02-11 18:18:43 -07:00
daz 4b284311c3 Disable cache debug logging for workflows
This logging can now be enabled on a case-by-case basis using
GitHub Actions debugging.
2024-02-11 18:00:40 -07:00
Daz DeBoerandGitHub 5e512f6e1d Merge pull request #40 from gradle/dd/v3.1
Improvements in preparation for v3.1
2024-02-11 17:45:41 -07:00
daz b6ea7d5b78 Build outputs 2024-02-11 17:35:43 -07:00
daz 9eb8242410 Improvements to debug logging
- Enable cache debugging when ACTIONS_STEP_DEBUG is on
- Replace some info messages with debug
2024-02-11 17:35:10 -07:00
daz 79414b4f92 Add link to workflow run from PR comment
Fixes #11
2024-02-11 16:53:03 -07:00
daz e9c65b9fc0 Attempt to make build-scan links open in new tab
GitHub currently strips the target="_blank" from the rendered HTML,
but we'll leave this in since it's the desired behaviour.
2024-02-11 16:52:22 -07:00
daz 109be5d55b Disable isolated projects in dependency-submission
The 'resolveAllDependencies' task is incompatible with project isolation.
Pending a fix to the plugin, disable this feature when running the
dependency-submission action.

Fixes #39
2024-02-11 15:56:13 -07:00
Daz DeBoerandGitHub b776693a71 Fail nicely when dependency-submission is used after setup-gradle in the same Job (#37)
Previously, this would fail with a hard-to-diagnose error message.

Fixes #14
2024-02-08 23:16:54 -07:00
daz 2f23d645f2 Warn and make Gradle Wrapper script executable
Instead of failing the build, detect a non-executable wrapper file
and set the executable bit.

Fixes #17
2024-02-08 22:26:12 -07:00
daz dfd22334ff Use gradle properties to disable features instead of CLI args
These gradle properties will be silently ignored on older Gradle versions,
whereas unknown command-line args will cause Gradle to fail.

Fixes #15
2024-02-08 21:55:52 -07:00
daz 9c837ee543 Test dependency-submission with gradle versions 2024-02-08 21:55:52 -07:00
Daz DeBoerandGitHub 7fda81ffd5 Document auto-publish of build scans 2024-01-31 13:04:12 -07:00
Daz DeBoerandGitHub e4ee7d7f94 Document process for resolving a vulnerability (#8) 2024-01-31 12:42:07 -07:00
Daz DeBoerandGitHub a02bb79881 Introduce a top-level section for "resolving a vulnerability" 2024-01-31 12:23:08 -07:00
Daz DeBoerandGitHub 52d6180f95 Add 'finding dependency source' section to docs (#7) 2024-01-31 12:17:45 -07:00
daz ec92e82947 Prepare for v3.0.0 release 2024-01-31 04:14:38 -07:00
daz aff52e5be9 More docs improvements 2024-01-29 11:04:02 -07:00
daz 631b0d7b31 Move build scripts into sources 2024-01-29 10:48:53 -07:00
daz 354bf99f5f Update docs 2024-01-29 10:46:26 -07:00
daz 0ac0f49dd2 Replace 'v3-beta' with 'v3' in docs 2024-01-29 10:46:26 -07:00
daz 0f26c9acd8 Limit artifact retention with dependency-submission 2024-01-29 10:46:26 -07:00
daz 11fb430abc Update dependency-submission parameter for consistency
Instead of using 'dependency-graph-action' with some slightly better
values, we now use 'dependency-graph' as the parameter name with a subset
of the options available to 'setup-gradle'.
2024-01-29 10:46:26 -07:00
daz b2288963e8 Use sub-directory for 'setup-gradle' dist
To prepare for converting the 'dependency-submission' action into Typescript,
we move the 'setup-gradle' entry points and outputs into a sub-directory.
2024-01-29 09:16:58 -07:00
daz a97b588d8e Bump to use v1.2.0 of the dep-graph plugin 2024-01-28 14:15:00 -07:00
daz 58d5bdcbe5 Allow additional arguments for resolve-all-dependencies
At times, additional CLI args may be required to invoke Gradle.
Add a parameter to provide these args.
2024-01-28 14:07:13 -07:00
daz 177cef6d02 Provide an override for the dependency-graph plugin version 2024-01-28 14:03:37 -07:00
daz 3247582571 Make it easy to publish build scans from 'dependency-submission' 2024-01-28 14:03:37 -07:00
daz bdb2b520ea Remove unnecessary workflows 2024-01-28 10:13:13 -07:00
Daz DeBoerandGitHub 5b6457b09b Merge pull request #4 from gradle/dependency-updates
Bump DV plugin version to 3.16.2
2024-01-26 21:56:59 +01:00
daz 959c7a62f4 Build outputs 2024-01-26 13:21:12 -07:00
daz ad22ba2fb7 Add scripts for build and test 2024-01-26 13:20:50 -07:00
daz e833c3f088 Bump DV plugin version to 3.16.2 2024-01-26 12:58:26 -07:00
Daz DeBoerandGitHub 4a9297eb22 Fix name in action.yml 2024-01-26 12:47:02 -07:00
Daz DeBoerandGitHub b6816cf21e Minor update to setup-gradle README 2024-01-26 09:27:29 -07:00
daz f218f2e104 Prefer 'setup-gradle' to 'gradle-build-action' 2024-01-25 12:46:51 -07:00
daz bd134735f1 Attempt to use setup-gradle from dependency-submission 2024-01-25 12:45:33 -07:00