Daz DeBoer
81b4ece56a
Clarify that tags are isolated in cache entries
CI-check-and-unit-test / check-format-and-unit-test (push) Has been cancelled
CI-codeql / Analyze (javascript-typescript) (push) Has been cancelled
CI-init-script-check / test-init-scripts (push) Has been cancelled
CI-update-dist / update-dist (push) Has been cancelled
CI-integ-test / determine-suite (push) Has been cancelled
CI-integ-test / dependency-submission-failures (push) Has been cancelled
CI-integ-test / execution-with-caching (push) Has been cancelled
CI-integ-test / execution (push) Has been cancelled
CI-integ-test / develocity-injection (push) Has been cancelled
CI-integ-test / provision-gradle-versions (push) Has been cancelled
CI-integ-test / restore-configuration-cache (push) Has been cancelled
CI-integ-test / restore-containerized-gradle-home (push) Has been cancelled
CI-integ-test / restore-custom-gradle-home (push) Has been cancelled
CI-integ-test / restore-gradle-home (push) Has been cancelled
CI-integ-test / restore-java-toolchain (push) Has been cancelled
CI-integ-test / sample-kotlin-dsl (push) Has been cancelled
CI-integ-test / sample-gradle-plugin (push) Has been cancelled
CI-integ-test / toolchain-detection (push) Has been cancelled
CI-integ-test / wrapper-validation (push) Has been cancelled
CI-integ-test / build-distribution (push) Has been cancelled
CI-integ-test / action-inputs (push) Has been cancelled
CI-integ-test / build-scan-publish (push) Has been cancelled
CI-integ-test / cache-cleanup (push) Has been cancelled
CI-integ-test / caching-config (push) Has been cancelled
CI-integ-test / dependency-graph (push) Has been cancelled
CI-integ-test / dependency-submission (push) Has been cancelled
2024-07-02 12:15:24 -06:00
Eric Haag
2cd2a6e951
Fix grammar in docs
2024-06-20 07:58:28 -05: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
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
daz
2db3ae936e
Update to Gradle 8.8
2024-06-13 09:03:40 -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
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
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
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
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
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
daz
eef9b10930
Bump Develocity and CCUD plugin versions
2024-04-17 19:08:51 -06:00
daz
6d55902761
Deprecate 'wrapper-validation-action'
...
Deprecation warning will be emitted when we:
- Change 'wrapper-validation-action' to delegate to 'actions/wrapper-validation'
- Add the 'wrapper-validation-action' id as env var before delegating
2024-04-12 10:34:50 -06:00
Gabriel Feo
248dd904ed
Fix link to doc section
2024-04-12 07:27:24 -06:00
daz
e9d1819b96
Document 'validate-wrappers' input
2024-04-11 12:35:15 -06:00
daz
fa4107aefb
Add docs for wrapper-validation action
2024-04-11 09:04:13 -06:00
Daz DeBoer
47fb100300
Improve deprecation-upgrade-guide
2024-04-09 16:06:46 -06:00
daz
aeb3156e6f
Emit deprecation warning for 'gradle-build-action'
2024-04-09 15:30:42 -06:00
daz
9d0de74673
Emit deprecation warnings for derecated inputs
...
- Adds an upgrade-guide to assist with resolving deprecations
- Emit a warning when deprecated features are used
- List all deprecated features in Job Summary and link to upgrade guide
2024-04-09 15:03:03 -06:00
daz
c9822ff527
Document that config-cache cannot be restored for forked PRs
2024-04-09 09:01:32 -06:00
daz
92975d7f32
Allow a task name to be specified for dependency-submission
...
Fixes : #125
2024-04-09 08:46:20 -06:00
Daz DeBoer
6232a3f503
Documentation improvements ( #132 )
...
- Add `RELEASING.md` to document the release process
- Mention the recommendation to disable local build-cache when remote
build-cache is available. Fixes #102
2024-04-08 19:19:50 -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
340a6438d0
Add 'setup-java' step to all examples
2024-04-05 14:54:29 -06:00
Daz DeBoer
a1a85e9819
Link to FAQ from main docs
2024-04-04 16:44:58 -06:00
Daz DeBoer
0b06ce12c8
Restructure documentation and add a dependency-submission FAQ ( #110 )
2024-04-04 16:38:14 -06:00