Loading
Sign in before continuing.
Commits on Source 35
-
bot-githubaction authored
-
Gašper Kojek authored
This PR bumps references to Develocity Gradle plugin from 4.5.1 to 4.6.0.
-
bot-githubaction authored
-
Louis Jacomet authored
Automatically generated pull request to update the known wrapper checksums.
-
Daz DeBoer authored
Combines several open bot PRs into one: - Bump Gradle Wrapper from 9.7.1 to 9.8.2 (squashed): closes #1098, closes #1099, closes #1100, closes #1101, closes #1102 - Bump the github-actions group (`init-integ-test` action): closes #1096 - Bump references to Develocity Gradle plugin from 4.6.0 to 4.6.1: closes #1103 - Bump the npm-dependencies group with 10 updates: closes #1097 Notes: - `nock` moves from 14 to 15, a major version bump. Tests that intercept HTTP requests are the most likely to break. - Local `npm run build` (prettier + eslint + esbuild) passes under node 24.22.1. Locally, jest passed 490/491. The one failure is `fetches wrapper jar checksums for snapshots`, which hits the live services.gradle.org API and timed out at 60s on a slow connection. I didn't check whether it also fails on `main`, so CI will settle it. Also included: - Switch the solutions Develocity server URL from `ge.solutions-team.gradle.com` to `solutions.develocity.cloud`. The old host now 308-redirects to the new one. `@actions/http-client` strips the `Authorization` header on a cross-host redirect, so the short-lived token request failed with a 401, which broke all the Develocity injection integ tests.
🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by:dependabot[bot] <[email protected]> Co-authored-by:
Claude Opus 5.5 <[email protected]> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
-
Daz DeBoer authored
-
Jérôme Prinet authored
A dependency graph file downloaded from another workflow run may come from an untrusted fork. Passing the parsed file whole to octokit.request() let keys such as 'url' override the request destination and leak the token.
-
bot-githubaction authored
-
Inaki Villar authored
The npm builds and the demo job summary used the long-lived DV_SOLUTIONS_ACCESS_KEY. They now mint a GitHub OIDC token for solutions.develocity.cloud. The npm agent reads DEVELOCITY_ACCESS_KEY directly, so for it the token is exchanged for a short-lived Develocity access token first. Signed-off-by:Inaki Villar <[email protected]>
-
Iñaki Villar authored
## Changes Moves the workflows that publish to solutions.develocity.cloud from the long-lived `DV_SOLUTIONS_ACCESS_KEY` to GitHub OIDC tokens, using Develocity workload identity. - **`ci-check-and-unit-test.yml` and `ci-update-dist.yml`**: the Develocity npm agent reads `DEVELOCITY_ACCESS_KEY` directly, and an OIDC token can't be used there. A pre-step mints the OIDC token and exchanges it at `/api/auth/token?expiresInHours=2`, the call setup-gradle makes, for a short-lived Develocity access token. The npm steps read it from `steps.develocity-oidc.outputs.token-access-key`. - **`demo-job-summary.yml`** (`develocity-access-key-set` job): a pre-step mints the OIDC token and passes it to `setup-gradle` as `develocity-access-key` in `host=token` form. setup-gradle exchanges it, the same as it does with an access key. Each job gets `id-token: write`. Pull requests from forks get no OIDC token, just as they get no secrets today: the step warns and exits cleanly, and the builds run unauthenticated. ## Not in this PR `suite-integ-test-other.yml` still passes `DV_SOLUTIONS_ACCESS_KEY` to `integ-test-inject-develocity.yml`. Those jobs test setup-gradle's own access-key handling: swapping a classic access key for a short-lived token, the `GRADLE_ENTERPRISE_ACCESS_KEY` variant, and not leaking the key when the exchange fails. Feeding them an OIDC token would still run the exchange, but would stop covering the classic access-key path. Should they keep a long-lived key on purpose? ## Verification - [x] CI-check-and-unit-test on this PR ([run 41095618008](https://github.com/gradle/actions/actions/runs/41095618008)): green, the OIDC token is exchanged, and the npm agent published Build Scans to solutions.develocity.cloud, for example [ejvi6m5cprrhg](https://solutions.develocity.cloud/s/ejvi6m5cprrhg) and [goncdygtosovo](https://solutions.develocity.cloud/s/goncdygtosovo) - [x] Demo Job Summary dispatched on this branch ([run 41095628373](https://github.com/gradle/actions/actions/runs/41095628373)), `develocity-access-key-set` job: green, setup-gradle logs `Requesting short-lived Develocity access token for solutions.develocity.cloud` with no warning. The sample project publishes to scans.gradle.com, as before. - [ ] CI-update-dist runs only on `main`/release branches and commits `dist`, so it is verified after merge
-
Iñaki Villar authored
The Develocity injection integration tests no longer use the long-lived DV_SOLUTIONS_ACCESS_KEY. The jobs that publish Build Scans pass a GitHub OIDC token as the access key, which setup-gradle exchanges for a short-lived token like any access key. The short-lived token failure job uses a fake access key.
-
Iñaki Villar authored
Use the same pre-step as #1109 instead of a composite action, drop the extra exchange check and the fake access key.
-
bot-githubaction authored
Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.8.2 to 9.9.0. Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.8.2 to 9.9.0. Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.8.2 to 9.9.0. Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.8.2 to 9.9.0. Release notes of Gradle 9.9.0 can be found here: https://docs.gradle.org/9.9.0/release-notes.html
-
bot-githubaction authored
Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
bot-githubaction authored
Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.9.0 to 9.9.1. Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.9.0 to 9.9.1. Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.8.2 to 9.9.1. Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html
-
Iñaki Villar authored
Bump Gradle Wrapper from 9.9.0 to 9.9.1. Release notes of Gradle 9.9.1 can be found here: https://docs.gradle.org/9.9.1/release-notes.html
-
Iñaki Villar authored
## Changes Follow-up to #1109. That PR left `suite-integ-test-other.yml` on `DV_SOLUTIONS_ACCESS_KEY`. `integ-test-inject-develocity.yml` now gets a GitHub OIDC token, in `solutions.develocity.cloud=<token>` form, from the same pre-step as #1109. The token goes where the access key went before: - **`inject-develocity`**: the `DEVELOCITY_ACCESS_KEY` / `GRADLE_ENTERPRISE_ACCESS_KEY` env var, set per matrix entry through `$GITHUB_ENV` - **`inject-develocity-with-access-key`**: the `develocity-access-key` input - **`inject-develocity-short-lived-token-failed`**: both env vars and the input - **`inject-develocity-with-access-key-from-input-actions`**: the `DEVELOCITY_ACCESS_KEY` env var setup-gradle exchanges the OIDC token at `/api/auth/token` the same way it exchanges an access key. The `DEVELOCITY_ACCESS_KEY` secret is removed from the reusable workflow. `id-token: write` is granted along the chain: `ci-integ-test*.yml` → `suite-integ-test-other.yml` → the jobs. Fork PRs are already skipped for these jobs. Part of gradle/dv#74660. After this merges, nothing in gradle/actions uses `DV_SOLUTIONS_ACCESS_KEY`. ## Verification - [ ] CI-integ-test on this PR: `develocity-injection` jobs green, Build Scans published to solutions.develocity.cloud
-
Bot Githubaction authored
Updates the develocity-injection init script to the latest reference script content from https://github.com/gradle/develocity-ci-injection.
-
Eric Haag authored
-
Eric Haag authored
-
Eric Haag authored
Updates the develocity-injection init script to the latest reference script content from https://github.com/gradle/develocity-ci-injection.
-
bot-githubaction authored
Release notes of Gradle 9.9.3 can be found here: https://docs.gradle.org/9.9.3/release-notes.html Signed-off-by:
bot-githubaction <[email protected]>