Commit Graph
100 Commits
Author SHA1 Message Date
daz 1168cd3d07 Prepare for v3.2.1 release 2024-04-08 12:09:36 -06:00
daz 3fdc233308 Build outputs 2024-04-08 12:09:36 -06:00
daz b2249f3225 Fix Develocity deprecation warnings triggered by init-scripts 2024-04-08 12:09:36 -06:00
daz 6f92769988 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 12:09:36 -06:00
daz 59cb76291d Bump Gradle used to run init-script tests 2024-04-08 12:09:36 -06:00
daz 9d5641e008 Bump to CCUD plugin v2.0 everywhere 2024-04-08 12:09:36 -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
daz 3c5c811777 Build outputs 2024-01-25 12:36:54 -07:00
daz a628cf9f2e Replace occurrances of gradle-build-action
- Mostly with `setup-gradle`
- Some with `gradle-actions`
2024-01-25 12:36:53 -07:00
daz 930d449ff7 Merge in gradle-build-action as setup-gradle
This brings the entire codebase and history of `gradle/gradle-build-action` into
the `gradle/actions` repository, after some modifications to make it easier to
merge.

This will permit the new `gradle/actions/setup-gradle` coordinates to carry on
where `gradle/gradle-build-action` leaves off.

- All NPM sources have been moved into a 'sources' directory
- The main action.yml and README are not located at `setup-gradle`
2024-01-25 12:00:10 -07:00
daz 2e7b28666d Move top-level action to 'setup-gradle' 2024-01-25 11:53:44 -07:00
daz d23129d217 Build outputs 2024-01-25 11:53:44 -07:00
daz 151423cc90 Verify outputs on gradle-build-action branch 2024-01-25 11:53:44 -07:00
daz 22e5c984e7 Update workflows for move to 'sources' 2024-01-25 11:53:44 -07:00
daz 5e522253a6 Combine all sources into a sub-directory 2024-01-25 11:53:44 -07:00
daz a8e3e5e2b4 Apply dependency version updates
- NPM dependencies
- github-actions dependencies
2024-01-25 10:03:45 -07:00
daz 2be01ca1c6 Build outputs 2024-01-25 10:00:43 -07:00
daz bd6d0a74d4 Configure explicit java version for config-cache test
The default JDK on some runners can have minor differences, resulting
in configuration-cache misses. Setting the Java version explicitly should
ensure consistency.
2024-01-25 09:21:52 -07:00
Daz DeBoerandGitHub 1b6cac1f97 Make it easy to publish to scans.gradle.com (#1045) 2024-01-25 16:58:51 +01:00
daz 90d7c1a069 Apply TOS agreement even if plugin is already applied
Fixes #1044
2024-01-25 08:56:13 -07:00
daz 4062866f05 Document build scan publishing 2024-01-25 08:56:13 -07:00
daz 83a95864e5 Build outputs 2024-01-25 08:56:13 -07:00
daz 60c43cb563 Make it easy to publish to scans.gradle.com
- Allow init-script to publish to scans.gradle.com
- Add paramaters to enable build scan publishing
- Test coverage for build scan publishing
2024-01-25 08:56:13 -07:00
daz 75b3db10df Remove node warnings from workflows
- Use setup-node to control Node version used to build
- Use Node20 compatible actions in custom actions
2024-01-24 16:01:15 -07:00
daz f1361c71c2 Build outputs 2024-01-23 16:19:26 -07:00
daz 49ade81b5d Add a new option to clear the dependency-graph
When changing workflow names or when changing to the new 'dependency-submission'
action, it can be useful to clear existing dependency graph snapshots from previous
submissions. While the old graphs will eventually "age out", the 'clear' option will
submit an empty dependency graph for an existing Job correlator, ensuring that old
dependency graphs don't linger.
2024-01-23 16:19:25 -07:00
daz 79fa674432 Remove old clear-dependency-graph action 2024-01-23 16:19:17 -07:00
daz 46878035be Do full checks on release branches 2024-01-23 15:26:51 -07:00
daz daf65fafa6 Remove branch specification from examples 2024-01-22 18:02:30 -07:00
daz 40c351e1fe Improve documentation
- Provide summary of each action on main page
- Extract detailed documentation for each action
- Document usage with forked repositories
2024-01-22 16:15:33 -07:00