Daz DeBoer and GitHub
81b4ece56a
Clarify that tags are isolated in cache entries
2024-07-02 12:15:24 -06:00
bigdaz and github-actions[bot]
cdbbabd09c
[bot] Update dist directory
2024-06-28 19:47:07 +00:00
Daz DeBoer and GitHub
dad038d88d
Use Gradle 8.8 features for Gradle Home cleanup ( #272 )
...
Fixes #33
Fixes #24
Fixes #46
Fixes #169
2024-06-28 13:46:10 -06:00
daz
621f3b3f79
Run cache-cleanup build with --info
...
Resolves #169
2024-06-28 13:25:56 -06:00
daz
4022faad7e
Fix integ-test-cache-cleanup.yml for running on act
2024-06-28 13:21:54 -06:00
daz
95ef72241e
Use Gradle 8.8 features for cleanup
...
Gradle 8.8 introduces new features that allow us to avoid using
timestamp manipulation to force the cleanup of the Gradle User Home directory.
This solution is simpler and more robust, but relies on Gradle 8.8+ always being
used for the cache cleanup operation.
Fixes #24
2024-06-28 13:06:23 -06:00
daz
169bec5d8b
Provision latest Gradle for cache-cleanup
...
To cleanup Gradle User Home, a Gradle build must be executed.
Newer Gradle versions are able to cleanup the home directories of older versions,
but not vice-versa.
With this change, the latest version of Gradle is automatically provisioned
in order to run Gradle User Home cleanup. This ensures a consistent version of
Gradle is used for cleanup, and fixes #33 where Gradle is not pre-installed on
a custom runner.
2024-06-28 12:39:09 -06:00
Daz DeBoer and GitHub
b9abb7b195
Use latest dependency graph plugin ( #269 )
2024-06-27 19:42:01 -06:00
Daz DeBoer and GitHub
c04155e2ca
Remove instructions for merging Dependabot PRs
...
These are no longer required, since the bot will update the `dist` directory.
2024-06-27 19:32:31 -06:00
daz
1da1cc97d5
Rename Develocity secret
2024-06-27 18:49:52 -06:00
dependabot[bot] and Daz DeBoer
c401249391
Bump org.junit.jupiter:junit-jupiter
...
Bumps [org.junit.jupiter:junit-jupiter](https://github.com/junit-team/junit5 ) from 5.10.2 to 5.10.3.
- [Release notes](https://github.com/junit-team/junit5/releases )
- [Commits](https://github.com/junit-team/junit5/compare/r5.10.2...r5.10.3 )
---
updated-dependencies:
- dependency-name: org.junit.jupiter:junit-jupiter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-27 18:05:07 -06:00
bigdaz and github-actions[bot]
a6a0c7dcef
[bot] Update dist directory
2024-06-27 20:12:25 +00:00
bigdaz and Daz DeBoer
3f3913eed0
Update known wrapper checksums
2024-06-27 14:11:23 -06:00
Eric Haag and GitHub
2cd2a6e951
Fix grammar in docs
2024-06-20 07:58:28 -05:00
cdsap and github-actions[bot]
dbbdc275be
[bot] Update dist directory
v3.4.2
2024-06-17 17:45:00 +00:00
Iñaki Villar and GitHub
ae74429826
Fix race condition with fetching short lived token ( #260 )
...
This somehow worked before (and in our integ test) because the setup
action gave enough time to let the request short-lived token return in
time 🤷 .
2024-06-17 10:44:01 -07:00
Alexis Tual
bdc7162ff9
Forward the setup short-lived token Promise
...
This caused a race condition not allowing the short-lived token to be returned in time before the setup finished.
2024-06-17 19:03:10 +02:00
bigdaz and github-actions[bot]
31ae3562f6
[bot] Update dist directory
v3.4.1
2024-06-15 03:19:11 +00:00
Daz DeBoer and GitHub
719985db3d
Simplify requesting short-lived Develocity access tokens ( #259 )
...
- Always fetch a token for every hostname in the access key
- Use any tokens that are successfully fetched
- Retain access key if no tokens can be fetched
2024-06-14 21:18:08 -06:00
bigdaz and github-actions[bot]
b53238971c
[bot] Update dist directory
2024-06-14 22:45:05 +00:00
Inaki Villar and Daz DeBoer
5f1c5827bf
handle missing access token
2024-06-14 16:44:06 -06:00
bigdaz and github-actions[bot]
d9336dac04
[bot] Update dist directory
v3.4.0
2024-06-13 19:36:18 +00:00
daz
8dbe9a3802
Update DV access key regex to be more selective
...
This should address the code-scanning alert
https://github.com/gradle/actions/security/code-scanning/1
2024-06-13 13:35:19 -06:00
bigdaz and github-actions[bot]
9c3430720d
[bot] Update dist directory
2024-06-13 19:32:23 +00:00
daz
30c82f0068
Fail on invalid boolean for Develocity inputs
2024-06-13 13:31:25 -06:00
daz
e3bc05f224
Run CodeQL on PRs
2024-06-13 13:15:23 -06:00
daz
485ea107b7
Run CodeQL on dev/* branches
2024-06-13 13:01:56 -06:00
bigdaz and github-actions[bot]
c1091c9c8e
[bot] Update dist directory
2024-06-13 18:43:53 +00:00
Iñaki Villar and GitHub
d0a116fff5
Adding Develocity input actions ( #244 )
...
Adding Develocity input actions.
If an input is configured in the action, it will generate the environment variable, example:
```yaml
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
develocity-injection-enabled: true
develocity-url: https://develocity.your-server.com
develocity-plugin-version: 3.17.4
- name: Run a Gradle build with Develocity injection enabled from input actions
run: ./gradlew build
```
This configuration will create the environment variables:
```
DEVELOCITY_INJECTION_ENABLED=true
DEVELOCITY_URL=https://develocity.your-server.com
DEVELOCITY_PLUGIN_VERSION=3.17.4
```
Relation variable-input available:
| Variable | Input |
|--------------------------------------|--------------------------------------|
| DEVELOCITY_INJECTION_ENABLED | develocity-injection-enabled |
| DEVELOCITY_URL | develocity-url |
| DEVELOCITY_ALLOW_UNTRUSTED_SERVER | develocity-allow-untrusted-server
|
| DEVELOCITY_CAPTURE_FILE_FINGERPRINTS |
develocity-capture-file-fingerprints |
| DEVELOCITY_ENFORCE_URL | develocity-enforce-url |
| DEVELOCITY_PLUGIN_VERSION | develocity-plugin-version |
| DEVELOCITY_CCUD_PLUGIN_VERSION | develocity-ccud-plugin-version |
| GRADLE_PLUGIN_REPOSITORY_URL | gradle-plugin-repository-url |
| GRADLE_PLUGIN_REPOSITORY_USERNAME | gradle-plugin-repository-username
|
| GRADLE_PLUGIN_REPOSITORY_PASSWORD | gradle-plugin-repository-password
|
2024-06-13 12:42:47 -06:00
bigdaz and github-actions[bot]
e238a7ad22
[bot] Update dist directory
2024-06-13 16:01:59 +00:00
bot-githubaction and Daz DeBoer
1d2ea6e5a8
Bump references to Develocity Gradle plugin from 3.17.4 to 3.17.5
2024-06-13 10:01:04 -06:00
dependabot[bot] and Daz DeBoer
114c1c234e
Bump braces from 3.0.2 to 3.0.3 in /sources
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-13 09:10:17 -06:00
daz
2db3ae936e
Update to Gradle 8.8
2024-06-13 09:03:40 -06:00
dependabot[bot] and Daz DeBoer
a68381d359
Bump com.google.guava:guava in /.github/workflow-samples/kotlin-dsl
...
Bumps [com.google.guava:guava](https://github.com/google/guava ) from 33.2.0-jre to 33.2.1-jre.
- [Release notes](https://github.com/google/guava/releases )
- [Commits](https://github.com/google/guava/commits )
---
updated-dependencies:
- dependency-name: com.google.guava:guava
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-06-13 07:41:41 -06:00
bigdaz and github-actions[bot]
52ae27f7bb
[bot] Update dist directory
2024-06-13 13:41:01 +00:00
bigdaz and Daz DeBoer
d1cd62d80a
Update known wrapper checksums
2024-06-13 07:40:03 -06:00
Anton Mostovoy and Daz DeBoer
af6e576724
add missing permission for downloading dependency graph artifact
...
per https://docs.github.com/en/rest/actions/artifacts?apiVersion=2022-11-28#list-workflow-run-artifacts , `actions: read` is required. Without it the action fails after logging `Fetching artifact list for workflow ` due to `Error: HttpError: Resource not accessible by integration`
2024-05-23 09:09:36 -06:00
bigdaz and github-actions[bot]
775b4d10d7
[bot] Update dist directory
2024-05-23 14:57:08 +00:00
30610bc983
Bump references to Develocity Gradle plugin from 3.17.3 to 3.17.4 ( #236 )
...
This PR bumps references to Develocity Gradle plugin from 3.17.3 to 3.17.4.
---------
Co-authored-by: Eric Haag <ehaag@gradle.com >
2024-05-23 08:56:09 -06:00
bigdaz and github-actions[bot]
d4d72c9934
[bot] Update dist directory
2024-05-17 21:08:44 +00:00
Alexis Tual and GitHub
96b9cb4988
Set both DEVELOCITY_ACCESS_KEY and GRADLE_ENTERPRISE_ACCESS_KEY env vars ( #225 )
...
Follow up of https://github.com/gradle/actions/pull/224 , we now attempt to set both old and new access key env variables to a short lived token.
If a short-lived token cannot be obtained, then:
- DEVELOCITY_ACCESS_KEY is set to an empty string, preventing this from being used.
- GRADLE_ENTERPRISE_ACCESS_KEY is left intact, with a deprecation warning being issued.
2024-05-17 15:07:50 -06:00
Bot Githubaction and Daz DeBoer
db270b9337
Update develocity-injection init script to v1.0
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2024-05-17 14:18:19 -06:00
Bot Githubaction and Daz DeBoer
d91e2960eb
Update develocity-injection init script to v0.5.1
...
Updates the develocity-injection init script to the latest reference script content
from https://github.com/gradle/develocity-ci-injection .
2024-05-17 11:10:27 -06:00
bigdaz and Daz DeBoer
0498421560
Update develocity-injection init script to v0.5.0
2024-05-17 07:27:33 -06:00
bigdaz and Daz DeBoer
edb13383f3
Update develocity-injection init script to v0.4.0
2024-05-15 16:56:41 -06:00
bigdaz and github-actions[bot]
cd560aa3ad
[bot] Update dist directory
2024-05-15 22:50:56 +00:00
500e0ee5b3
Add support for short-lived tokens ( #224 )
...
The setup-gradle action tries to get a short-lived access token given the supplied Develocity access key.
This key can be passed either with the `DEVELOCITY_ACCESS_KEY` env var or via the `develocity-access-key` input parameter.
If a token can be retrieved, then the `DEVELOCITY_ACCESS_KEY` env var will be set to the token.
Otherwise the `DEVELOCITY_ACCESS_KEY` will be set to a blank string, to avoid a leak.
---------
Co-authored-by: daz <daz@gradle.com >
2024-05-15 16:49:55 -06:00
bigdaz and github-actions[bot]
eb13cf7170
[bot] Update dist directory
2024-05-11 13:46:41 +00:00
Daz DeBoer and GitHub
ea14aa9caf
Dependency updates ( #222 )
...
- Bump to com.gradle.develocity plugin v3.17.3
- Bump JVM dependencies in sample projects
2024-05-11 07:45:47 -06:00
lokalpage-safe and Daz DeBoer
063cfaf0eb
Update dependency-submission.md
...
fix: Fixed document typo (additonal -> additional)
2024-05-09 15:54:39 -06:00