daz
b1833c4c90
Account for invalid wrapper jar
CI-check-and-unit-test / check-format-and-unit-test (push) Waiting to run
CI-codeql / Analyze (javascript-typescript) (push) Waiting to run
CI-init-script-check / test-init-scripts (push) Waiting to run
CI-integ-test / build-distribution (push) Waiting to run
CI-integ-test / caching-integ-tests (push) Blocked by required conditions
CI-integ-test / other-integ-tests (push) Blocked by required conditions
CI-update-dist / update-dist (push) Waiting to run
2024-08-03 16:51:41 -06:00
daz
895252588e
Update docs for v4 release
2024-08-03 16:39:51 -06:00
daz
af1da67850
Prevent concurrent jobs in integ-test-full
2024-08-03 15:54:44 -06:00
daz
f8ba43cf0a
Better names for suite workflows
2024-08-03 15:10:49 -06:00
daz
bcd07e6643
Refactor integ-tests into suites
...
- Extract 2 suites to make it possible to reduce concurrency
- Add separate workflow for integ-test and integ-test-full
2024-08-03 14:56:37 -06:00
daz
d74ee73e9f
Refactor integ-tests
...
- Include test name in all job names
- Remove cache key delegation as it is unused
2024-08-03 14:56:37 -06:00
daz
d473db0899
Add tests for wrapper-validation with insufficient wrappers
...
- Test min-wrapper-count greater than wrappers
- Test caswrapper-validation with insufficient wrappers
2024-08-02 15:50:28 -06:00
daz
b644be617f
Enable wrapper validation by default
...
- Add 'allow-snapshot-wrappers' input parameter
- Default 'validate-wrappers' to 'true'
Fixes #12
2024-08-01 10:51:02 -06:00
bot-githubaction
c3f989640d
Bump references to Develocity Gradle plugin from 3.17.5 to 3.17.6
2024-07-22 20:56:04 -06:00
daz
c9872874b0
Segregate cache key for quick and full integtest
CI-check-and-unit-test / check-format-and-unit-test (push) Waiting to run
CI-codeql / Analyze (javascript-typescript) (push) Waiting to run
CI-init-script-check / test-init-scripts (push) Waiting to run
CI-integ-test / develocity-injection (push) Blocked by required conditions
CI-integ-test / provision-gradle-versions (push) Blocked by required conditions
CI-integ-test / restore-configuration-cache (push) Blocked by required conditions
CI-integ-test / restore-containerized-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-custom-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-java-toolchain (push) Blocked by required conditions
CI-integ-test / sample-kotlin-dsl (push) Blocked by required conditions
CI-integ-test / sample-gradle-plugin (push) Blocked by required conditions
CI-integ-test / toolchain-detection (push) Blocked by required conditions
CI-integ-test / wrapper-validation (push) Blocked by required conditions
CI-integ-test / determine-suite (push) Waiting to run
CI-integ-test / build-distribution (push) Blocked by required conditions
CI-integ-test / build-scan-publish (push) Blocked by required conditions
CI-integ-test / cache-cleanup (push) Blocked by required conditions
CI-integ-test / caching-config (push) Blocked by required conditions
CI-integ-test / dependency-graph (push) Blocked by required conditions
CI-integ-test / dependency-submission (push) Blocked by required conditions
CI-integ-test / dependency-submission-failures (push) Blocked by required conditions
CI-update-dist / update-dist (push) Waiting to run
2024-07-21 14:38:05 -06:00
daz
7387edbbb3
Add more input parameters for dependency-graph generation
...
- dependency-graph-include-projects
- dependency-graph-exclude-projects
- dependency-graph include-configurations
- dependency-graph-exclude-configurations
2024-07-19 17:22:07 -06:00
daz
9e459adb11
Add 'dependency-graph-report-dir' input parameter
2024-07-19 17:21:10 -06:00
daz
238a3da6f4
Remove tests for deprecated features
2024-07-19 15:15:03 -06:00
daz
4576973cce
Test provision with more Gradle versions
...
Include Gradle 8.8 since it is the pre-installed version on Windows runners.
2024-07-19 14:05:33 -06:00
daz
5d7c18409c
Use pre-installed Gradle when version matches
...
By executing Gradle on the PATH, we can avoid downloading and installing
a Gradle version that is already available on the runner.
Fixes #270
2024-07-19 13:46:56 -06:00
daz
de6862d826
Use bash to ensure env vars are expanded
2024-07-19 12:59:38 -06:00
daz
917439d87d
Always set the GRADLE_USER_HOME env var
2024-07-19 11:55:34 -06:00
daz
a77cb2b0f8
Add test for no cache-cleanup with config-cache hit
2024-07-18 22:25:59 -06:00
daz
3083f01451
Use new cache-cleanup param in integtest
2024-07-17 22:47:46 -06:00
daz
27dea2df09
Allow better control over cache-cleanup
...
Adds new 'cache-cleanup' parameter with 3 settings: 'never', 'on-success' and 'always'.
This gives users more control over whether cache cleanup should occur.
Fixes #71
2024-07-17 20:36:33 -06:00
daz
a025cbe7ec
Don't run test on windows
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-integ-test / determine-suite (push) Has been cancelled
CI-update-dist / update-dist (push) Has been cancelled
CI-integ-test / dependency-graph (push) Has been cancelled
CI-integ-test / dependency-submission (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
2024-07-16 22:43:22 -06:00
daz
9a57bcca96
Add test for combining setup-gradle and dependency-submission
2024-07-16 21:15:30 -06:00
daz
22818445b3
Restrict download-and-submit to selected file
2024-07-16 21:15:29 -06:00
daz
87bf5ca2ea
Update DV plugin versions that were missed by automation
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-05 11:33:00 -06:00
daz
4022faad7e
Fix integ-test-cache-cleanup.yml for running on act
2024-06-28 13:21:54 -06:00
daz
1da1cc97d5
Rename Develocity secret
CI-integ-test / sample-kotlin-dsl (push) Blocked by required conditions
CI-integ-test / sample-gradle-plugin (push) Blocked by required conditions
CI-check-and-unit-test / check-format-and-unit-test (push) Waiting to run
CI-codeql / Analyze (javascript-typescript) (push) Waiting to run
CI-init-script-check / test-init-scripts (push) Waiting to run
CI-integ-test / restore-gradle-home (push) Blocked by required conditions
CI-integ-test / build-distribution (push) Blocked by required conditions
CI-integ-test / action-inputs (push) Blocked by required conditions
CI-integ-test / build-scan-publish (push) Blocked by required conditions
CI-integ-test / cache-cleanup (push) Blocked by required conditions
CI-integ-test / caching-config (push) Blocked by required conditions
CI-integ-test / dependency-graph (push) Blocked by required conditions
CI-integ-test / dependency-submission (push) Blocked by required conditions
CI-integ-test / dependency-submission-failures (push) Blocked by required conditions
CI-integ-test / execution-with-caching (push) Blocked by required conditions
CI-integ-test / execution (push) Blocked by required conditions
CI-integ-test / develocity-injection (push) Blocked by required conditions
CI-integ-test / provision-gradle-versions (push) Blocked by required conditions
CI-integ-test / restore-configuration-cache (push) Blocked by required conditions
CI-integ-test / restore-containerized-gradle-home (push) Blocked by required conditions
CI-integ-test / restore-custom-gradle-home (push) Blocked by required conditions
CI-integ-test / determine-suite (push) Waiting to run
CI-integ-test / restore-java-toolchain (push) Blocked by required conditions
CI-integ-test / toolchain-detection (push) Blocked by required conditions
CI-integ-test / wrapper-validation (push) Blocked by required conditions
CI-update-dist / update-dist (push) Waiting to run
2024-06-27 18:49:52 -06:00
Inaki Villar
5f1c5827bf
handle missing access token
2024-06-14 16:44:06 -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
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
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
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
11eaed9738
Avoid Java 8 since it is not available on MacOS runners
2024-04-25 20:17:16 +01:00
daz
a772c14b33
Avoid updating real dependency graph in tests
2024-04-25 11:19:43 +01: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
eef9b10930
Bump Develocity and CCUD plugin versions
2024-04-17 19:08:51 -06:00
Marcono1234
8be796e9fa
Update link to 'update checksums' workflow
2024-04-16 10:06:09 -06:00
daz
0325d99e52
Workflow fixes
...
- Fix typo in 'paths-ignore'
- Add back 'buildDistribution' to demo job summary
2024-04-12 10:34:50 -06:00
daz
5893d44739
Use fixed job name for cache restore
2024-04-12 00:38:28 -06:00
daz
fb14e0ee5b
Skip the 'download-dist' step for full integ-test
...
After the '[bot] update dist directory' commit, we run a full test suite.
This will now use the content from the 'dist' directory, rather than
regenerating this content in the test.
2024-04-12 00:24:44 -06:00
daz
0261d93071
Switch back to unique cache entries with full integ-test
2024-04-11 23:00:25 -06:00
daz
7d97cfadb0
Avoid most workflows when only 'dist' has changed
2024-04-11 22:54:09 -06:00
daz
ebf9707dff
Use a bot token to generate "Update dist" commit
...
This will permit workflows to run when this commit is applied.
- Avoid running ci-update-dist for modifications to dist directory (no recursion)
- Run full-suite only in response to bot updates.
2024-04-11 22:44:13 -06:00
daz
0627979b9c
Only allow one integ-test at a time per branch
2024-04-11 22:44:13 -06:00
daz
62557f3635
Enable wrapper validation with setup-gradle action
2024-04-11 11:56:55 -06:00
daz
39cecc54d0
Add wrapper-validation workflows
2024-04-11 08:39:21 -06:00
daz
3252e655d0
Ensure each integ-test gets a unique cache-key-prefix
2024-04-10 20:07:14 -06:00