daz
334a4b8d4d
Reinstate configuration-cache save/restore capability
2023-12-20 17:31:01 -07:00
daz
9d6738618d
Support wildcards in cache-excludes
2023-12-20 10:05:25 -07:00
dependabot[bot]
76d5a9b475
Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [actions/setup-java](https://github.com/actions/setup-java ) and [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ).
Updates `actions/setup-java` from 3 to 4
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
Updates `gradle/gradle-build-action` from 2.9.0 to 2.10.0
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.9.0...v2.10.0 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-12-11 19:23:45 -07:00
daz
39d8c6d06e
Bump from Gradle 8.4 to Gradle 8.5
2023-12-11 18:33:39 -07:00
dependabot[bot]
a5be560235
Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ) and [actions/github-script](https://github.com/actions/github-script ).
Updates `gradle/gradle-build-action` from 2.8.1 to 2.9.0
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.8.1...v2.9.0 )
Updates `actions/github-script` from 6 to 7
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-11-27 03:20:09 +01:00
daz
0e761ca2b4
Bump to Gradle 8.4 for tests and samples
2023-11-08 21:02:15 -08:00
daz
6b7c087721
Bump version of Develocity plugins
2023-11-08 20:35:00 -08:00
Daz DeBoer
6fcc109efa
Dependency updates ( #904 )
...
### Github Action updates
Updates `gradle/gradle-build-action` from 2.8.0 to 2.8.1
### NPM updates
Updates `@octokit/webhooks-types` from 7.3.0 to 7.3.1
- [Release notes](https://github.com/octokit/webhooks/releases )
- [Commits](https://github.com/octokit/webhooks/compare/v7.3.0...v7.3.1 )
Updates `@typescript-eslint/parser` from 6.7.2 to 6.7.3
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.7.3/packages/parser )
Updates `eslint` from 8.49.0 to 8.50.0
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.49.0...v8.50.0 )
2023-09-29 13:55:35 -06:00
Daz DeBoer
444c20baf7
Test multiple dependency graphs on all os's
2023-09-21 18:22:31 +02:00
daz
b063df05a4
Bump GE plugin versions
2023-09-21 08:41:43 -06:00
dependabot[bot]
5e3952da92
Bump the github-actions group with 2 updates
...
Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout ) and [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ).
Updates `actions/checkout` from 3 to 4
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
Updates `gradle/gradle-build-action` from 2.7.1 to 2.8.0
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.7.1...v2.8.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-21 16:35:57 +02:00
Daz DeBoer
ed940a329a
Fix name of test dependency-graph workflow
2023-09-21 08:19:49 -06:00
daz
8f08e41675
Use unique cache key for workflow
2023-08-28 12:40:55 -06:00
Daz DeBoer
ef76a971e2
Simplify GE-inject config params ( #863 )
2023-08-28 11:59:09 -06:00
dependabot[bot]
c304f927c4
Bump the github-actions group with 1 update
...
Bumps the github-actions group with 1 update: [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ).
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.7.0...v2.7.1 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 22:36:46 +00:00
daz
d4db33d499
Add integ-test for GE injection
2023-08-20 16:29:23 -06:00
daz
800e5e1e62
Fix check
2023-08-19 20:42:08 -06:00
daz
a07019c726
Inform Gradle where to locate pre-installed JDKs
2023-08-19 20:14:11 -06:00
daz
b17d107b8c
Add test for detection of java toolchains
2023-08-19 20:14:11 -06:00
daz
3d49588efc
Allow cache to overwrite existing Gradle User Home
...
Fixes #480
2023-08-19 13:37:53 -06:00
daz
68e1dcdea4
Report the cache as disabled when Gradle User Home exists
...
Fixes #434
2023-08-19 13:37:49 -06:00
daz
8cade330d4
Include provisioned Gradle version as action output
...
Fixes #259
2023-08-19 20:37:12 +02:00
daz
124cb765ee
Update to Gradle 8.3
2023-08-19 10:32:05 -06:00
daz
03f0ac2c51
Bump to use the latest release
2023-08-14 19:59:38 -06:00
daz
9e58f8b1de
Add dependency-graph-file as step output
...
Fixes #804
2023-07-24 08:37:14 -06:00
daz
ced6859e9c
Update Build Scan™ to Build Scan®
2023-07-22 08:53:58 -06:00
dependabot[bot]
2dbad1ea2d
Bump the github-actions group with 1 update
...
Bumps the github-actions group with 1 update: [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ).
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 00:08:00 +02:00
daz
9f977db2d8
Update to latest plugin version
2023-07-17 15:12:30 -06:00
daz
b69de5f2a9
Support multiple invocations in dependency-graph init script
...
If an existing dependency graph file is present for the configured job correlator,
we now generate a unique correlator value for the invocation. This allows the action
to submit dependency snapshots for a series of Gradle invocations within the same Job.
This commit updates to `github-dependency-graph-gradle-plugin@v0.0.6`, which reduces
redundancy in the mapping of resolved Gradle dependencies to the GitHub Dependency Graph.
2023-07-15 22:33:31 -06:00
daz
4301451b53
Bump to Gradle 8.2.1
2023-07-13 21:38:47 +02:00
dependabot[bot]
29c79cfd95
Bump the github-actions group with 1 update
...
Bumps the github-actions group with 1 update: [gradle/gradle-build-action](https://github.com/gradle/gradle-build-action ).
- [Release notes](https://github.com/gradle/gradle-build-action/releases )
- [Commits](https://github.com/gradle/gradle-build-action/compare/v2.5.1...v2.6.0 )
---
updated-dependencies:
- dependency-name: gradle/gradle-build-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 22:37:15 +00:00
daz
437bff62b6
Add basic test coverage for dependency graph
...
- Test workflow with dependency graph enabled
- Gradle test for init-script functionality
2023-07-07 20:42:49 -06:00
daz
00309f16a9
Use gradle-build-action@v2.5.1
2023-07-07 19:56:00 -06:00
daz
3273b6ada1
Update to Gradle 8.2
...
- Update all wrappers
- Update .tool-versions
- Update version to run unit tests
- Test init scripts on 8.0 and 8.X
2023-07-07 19:55:23 -06:00
daz
6c3f1eadfe
Reproduce issue with comma in workflow name
2023-06-29 09:59:12 -06:00
Daz DeBoer
7e48093f71
Attempt to resolve security alert
...
Testing if explicitly using `v2.4.2` will cause the alert to be resolved.
2023-05-01 13:36:49 -06:00
Daz DeBoer
9cf99034d2
Update to latest Gradle and GE plugin
...
* Update workflow samples to Gradle 8.1.1
* Update tests to use Gradle 8.1.1
*Update workflow samples to GE plugin 3.13
2023-04-22 12:56:45 -06:00
Daz DeBoer
eb126d771e
Update for Gradle 8.1 release
...
With Gradle 8.1, the configuration-cache has changed and is now stable.
As a temporary measure, this commit disables save/restore of the configuration-cache
data to avoid issues until we can deal with this change properly.
2023-04-14 16:23:09 -06:00
Daz DeBoer
951bc8ab16
Update versions for Gradle and GE plugins
...
* Update Gradle Enterprise plugin to 3.12.6
* Update CCUD plugin to 1.10
* Update Gradle to 8.0.2
* Use latest patch versions of Gradle 6.x and 7.x
2023-03-25 12:11:20 -06:00
dependabot[bot]
fed795f38c
Bump actions/dependency-review-action from 2 to 3
...
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action ) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases )
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/dependency-review-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-02-20 21:43:04 +00:00
Daz DeBoer
d9106fb21d
Use Gradle 7.6 in unit tests
2022-12-07 17:30:05 +13:00
Daz DeBoer
6f59210bbe
Specify 'current' Gradle version for unit tests
2022-12-07 15:14:42 +13:00
Daz DeBoer
c82ad7fca4
Print node and NPM versions
2022-12-07 13:42:27 +13:00
Daz DeBoer
3b959539de
Remove use of deprecated 'set-output' command
...
- Use GITHUB_OUTPUT file in init script
- Write to a marker file in configuratiion-cache tests
Fixes #461
2022-10-20 14:09:12 -06:00
Daz DeBoer
aeb3e0fcd7
Avoid runnning unit tests to verify outputs
2022-09-22 07:58:37 -06:00
Daz DeBoer
1a66a38284
Enable GitHub dependency review
2022-09-13 14:53:55 -06:00
Daz DeBoer
82bc72e1e7
Re-enable cache-cleanup on Windows
2022-08-26 09:03:58 -06:00
Daz DeBoer
cc60593845
Disable cache-cleanup on Windows
...
It does not seem possible to use `find .. -exec ..` on Windows,
so a node-only solution may be required.
2022-08-25 20:06:13 -06:00
Daz DeBoer
c64fe31590
Fix tests that run on Windows
...
- Properly escape sysprop values
- Use bash for file existence checks
2022-08-25 20:02:31 -06:00
Daz DeBoer
6e56b59601
Fix test sysprop name to work on Windows
2022-08-24 08:19:52 -06:00
Daz DeBoer
c77676cc69
Fix copy-paste error
2022-08-24 08:03:39 -06:00
Daz DeBoer
ed5f3e6998
Run unit tests in separate job
2022-08-22 14:24:42 -06:00
Daz DeBoer
3e3c80e9b4
Allow manual trigger of CI pipelines
2022-08-22 14:08:28 -06:00
Daz DeBoer
25ec178747
Add integration test for cache cleanup
2022-08-22 14:08:28 -06:00
Daz DeBoer
c1a6f51e61
Fix paths that trigger init-script-check
2022-08-22 13:44:04 -06:00
Daz DeBoer
c85b5e1be7
Run full-check when workflow-samples change
2022-08-17 14:53:21 -06:00
Daz DeBoer
a1707fcc88
Avoid gradle-version-check when testing execution with latest
...
This should make merging Gradle update PRs easier.
2022-08-15 12:37:19 -06:00
Daz DeBoer
e54bfe60d4
Update check for new Gradle version
2022-07-16 15:44:18 -06:00
Daz DeBoer
52e6e7d89f
Run verify outputs for dependabot PRs
2022-06-20 18:06:38 -06:00
Daz DeBoer
67f42d16a1
Write Job Summary HTML directly
...
This allows more control over the table layout, including centering of column content.
2022-06-19 10:42:34 -06:00
Daz DeBoer
1903bd4674
Add test for build-scan publish failure
2022-06-19 09:16:27 -06:00
Daz DeBoer
c1ed8b1925
Only run ci-init-script-check on relevant file changes
2022-06-11 09:33:39 -06:00
Daz DeBoer
a8d44c9749
Rename 'test/test-init-script' to 'test/init-scripts'
2022-06-11 09:32:50 -06:00
Daz DeBoer
f33d84950e
Run verify-outputs on every push to 'main'
2022-06-06 19:04:28 -06:00
Daz DeBoer
4ca4968624
Add test for action in containerized runner
2022-06-05 22:13:03 -06:00
Daz DeBoer
fd1882690a
Fix test to use custom Gradle User Home
2022-06-05 22:03:47 -06:00
Daz DeBoer
a7f880172e
Use a released version of 'gradle-build-action' for our CI job
2022-06-05 09:06:23 -06:00
Daz DeBoer
5203a0b09d
Capture build results when config-cache is enabled
...
When enabled, the configuration-cache will cause the build to fail when a
`buildFinished` listener is added. Instead, use a BuildService to listen for task
failures and to write the results on build completion.
2022-06-05 00:29:42 -06:00
Daz DeBoer
500607bc35
Capture build-results without build-scan publication
...
The `buildScanPublished` is only called when a build scan is published by the build.
Support other invocations by adding a `buildFinished` listener.
2022-06-05 00:28:24 -06:00
Daz DeBoer
754892d4ae
Add workflow to run init-script tests
2022-06-05 00:27:36 -06:00
Daz DeBoer
748dc30fdc
Support and test Gradle 3.5.1
...
Fix build-scan-capture.init.gradle so that it applies to versions 3.+,
and include this version in test coverage.
2022-06-05 00:26:21 -06:00
Daz DeBoer
00cdd4dcf9
Explicitly allow cache-write for test invocations
...
The `gradle-build-action` test workflows need to write cache entries,
even when run on non-default branches. This change add explicit configuration
to set `cache-read-only: false` when cache writing is required.
2022-06-04 11:39:19 -06:00
Daz DeBoer
9ab4abd18c
Update to latest version of all github actions
2022-06-04 09:26:11 -06:00
Daz DeBoer
7e85212f59
Add workflow with several Gradle builds to demo job summary
2022-06-02 11:52:52 -06:00
Daz DeBoer
992ccebeea
Only run main workflows when relevant files change
2022-05-29 17:27:11 -06:00
Daz DeBoer
c13dc6c789
Fix and re-enable test for save/restore config-cache
2022-05-29 17:27:11 -06:00
Daz DeBoer
5e6af67a5e
Fix CI-full-check for renamed workflow
2022-05-29 15:05:31 -06:00
Daz DeBoer
e32d23f291
Capitalize to improve ordering
2022-05-29 15:04:12 -06:00
Daz DeBoer
a880eab216
More consistent names for workflow jobs
2022-05-29 15:04:11 -06:00
Daz DeBoer
6c8fe00271
Fix typo in workflow
2022-05-29 14:49:05 -06:00
Daz DeBoer
0c3292abfb
Reduce overlap of ci workflows
2022-05-29 14:44:21 -06:00
Daz DeBoer
66050d88b2
Add workflow to purge old workflow runs
2022-05-29 14:32:16 -06:00
Daz DeBoer
1771c6f669
Temporarily disable failing test in quick-check
2022-05-29 14:32:16 -06:00
Daz DeBoer
acc77da702
Build distribution when running quick-check workflow
...
The action requires the generated distribution to committed to the 'dist' directory.
During regular development this step causes a number of problems:
- It's easy to forget to add/commit these generated files.
- It's very difficult/impossible to merge/rebase commits that involve generated files
- These file add unnecessary bulk to the git history
With this change, the quick-check workflow will first build the distribution and then
use the generated output for testing. Building and committing these files will only be
required when merging into the 'main' branch.
2022-05-29 14:25:12 -06:00
Daz DeBoer
bdb9f7fd28
Use shorter workflow names
2022-05-29 13:04:26 -06:00
Daz DeBoer
f9e15febb7
Restrict quick-check workflow to ubuntu for faster feedback
2022-05-29 13:04:26 -06:00
Daz DeBoer
1ba2a63e58
Fix restore-configuration-cache test workflow
...
The sequential jobs in the workflow emulate repeated execution of the
same Job, so they work better if given the same job id.
2022-05-29 13:03:24 -06:00
Daz DeBoer
c838a38ea1
Combine all integTest workflows into 2 workflow runs
...
- Workflow to run all integTest workflows, allowing use of prior cache entries
- Workflow that starts with empty cache
Both of these use workflow_call to combine the existing workflows.
2022-05-29 13:03:10 -06:00
Daz DeBoer
2bb20697b4
Rename config-cache jobs for clarity
2022-05-29 09:32:24 -06:00
Daz DeBoer
be62f7d934
Merge branch 'releases/v2.1'
...
* releases/v2.1:
Build outputs
Remove downloaded wrapper zips before caching
Fix typo in worklow step
2022-05-29 09:23:36 -06:00
Daz DeBoer
e3ceb00204
Fix typo in worklow step
2022-05-29 08:48:46 -06:00
Leonard Brünings
544da49fda
Disable minify to get smaller diffs and save space
...
Due to a limitation in ncc, the js files contain CRLF line endings
which are then converted by git.
2022-05-27 20:28:26 -06:00
Daz DeBoer
26ea4afa08
Use kotlin-dsl sample to demo failure
2022-05-24 16:51:53 +02:00
Daz DeBoer
dc49976071
Add manual test to demonstrate failing build
2022-05-24 15:00:47 +02:00
Daz DeBoer
3c3fdfcc0c
Moved workflow samples out of .github/workflows
...
The `.github/workflows` directory has additional permissions attached, preventing these
files from being by the Upgrade Gradle Wrapper plugin.
2022-04-05 09:55:31 -06:00
Daz DeBoer
cde360986c
Improve sample for build-scan comment on PR
2022-04-04 15:12:03 -06:00
Daz DeBoer
72e45fe25b
Only run workflows when relevant files change
2022-04-02 12:51:23 -06:00
Daz DeBoer
cfe0b72a03
Bump to GE plugin v3.9
2022-04-02 12:45:18 -06:00
Daz DeBoer
a6bb0f87a3
Reformat Groovy to trigger Dependabot
2022-04-02 12:40:57 -06:00
Daz DeBoer
a1bb3349df
Bump Jnit version in samples
2022-04-02 12:37:16 -06:00