bigdaz
d9336dac04
[bot] Update dist directory
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
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
c1091c9c8e
[bot] Update dist directory
2024-06-13 18:43:53 +00:00
Iñaki Villar
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
e238a7ad22
[bot] Update dist directory
2024-06-13 16:01:59 +00:00
bot-githubaction
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]
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]
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
52ae27f7bb
[bot] Update dist directory
2024-06-13 13:41:01 +00:00
bigdaz
d1cd62d80a
Update known wrapper checksums
2024-06-13 07:40:03 -06:00
Anton Mostovoy
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
775b4d10d7
[bot] Update dist directory
2024-05-23 14:57:08 +00:00
Bot Githubaction
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
d4d72c9934
[bot] Update dist directory
2024-05-17 21:08:44 +00:00
Alexis Tual
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
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
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
0498421560
Update develocity-injection init script to v0.5.0
2024-05-17 07:27:33 -06:00
bigdaz
edb13383f3
Update develocity-injection init script to v0.4.0
2024-05-15 16:56:41 -06:00
bigdaz
cd560aa3ad
[bot] Update dist directory
2024-05-15 22:50:56 +00:00
Alexis Tual
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
eb13cf7170
[bot] Update dist directory
2024-05-11 13:46:41 +00:00
Daz DeBoer
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
063cfaf0eb
Update dependency-submission.md
...
fix: Fixed document typo (additonal -> additional)
2024-05-09 15:54:39 -06:00
Maxim Mironyuk
35f9242e22
Update setup-gradle.md
...
repsitory -> repository
2024-05-09 15:54:08 -06:00
bigdaz
90f1de0556
[bot] Update dist directory
2024-04-28 14:50:56 +00:00
bigdaz
da512b52a5
Update known wrapper checksums
2024-04-28 15:49:59 +01:00
bigdaz
db19848a5f
[bot] Update dist directory
2024-04-25 20:24:26 +00:00
daz
941b289d84
Avoid running Gradle 3.5.1 on MacOS where Java 8 is not available
2024-04-25 21:23:15 +01:00
Daz DeBoer
bce7daca54
Improve build scan badge readability with long tasks ( #200 )
...
Improve readability of build scan when requested tasks is very long, as
agreed in #175 . HTML diff for each case of job summary is clearer in
cd62d9c9ef
.
- Ensure a minimum size for the badge, at least the size of "Build
scan®", by preventing a line break with ` `
- Reduce the size of the badge by tweaking the inner text
Also fix a typo in the build shell script.
2024-04-25 21:22:36 +01:00
daz
11eaed9738
Avoid Java 8 since it is not available on MacOS runners
2024-04-25 20:17:16 +01:00
Gabriel Feo
cd62d9c9ef
Improve job summary readability with long tasks
...
Change tests for nbsp and concise badge
Make tests pass
Signed-off-by: Gabriel Feo <gabriel@gabrielfeo.com>
2024-04-25 19:40:04 +01:00
Gabriel Feo
a54fb6a5bb
Add tests on current job-summary behavior
...
Signed-off-by: Gabriel Feo <gabriel@gabrielfeo.com>
2024-04-25 17:44:41 +01:00
Gabriel Feo
ef36f81b41
Fix typo in build shell script
...
Signed-off-by: Gabriel Feo <gabriel@gabrielfeo.com>
2024-04-25 17:42:29 +01:00
bigdaz
18998bc43e
[bot] Update dist directory
2024-04-25 10:20:39 +00:00
daz
a772c14b33
Avoid updating real dependency graph in tests
2024-04-25 11:19:43 +01:00
daz
7763d71170
Set the report dir for download-and-submit
...
Fixes #196
2024-04-25 11:19:43 +01:00
bigdaz
9ab93ee864
[bot] Update dist directory
2024-04-19 16:25:39 +00:00
daz
d124ec149f
Retain and log stacktrace for submission errors
2024-04-19 10:24:45 -06:00
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