Commits on Source 10

  • bot-githubaction's avatar
    Update known wrapper checksums · 399f0d30
    bot-githubaction authored
    399f0d30
  • Louis Jacomet's avatar
    Update known wrapper checksums (#1075) · 1cff18a4
    Louis Jacomet authored
    Automatically generated pull request to update the known wrapper
    checksums.
    1cff18a4
  • Daz DeBoer's avatar
    Combined dependency updates (#1105) · 35eba4f1
    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: default avatardependabot[bot] <[email protected]>
    Co-authored-by: default avatarClaude Opus 5.5 <[email protected]>
    Co-authored-by: default avatardependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: default avatarbot-githubaction <[email protected]>
    35eba4f1
  • bot-githubaction's avatar
    [bot] Update dist directory · 65a6ba9f
    bot-githubaction authored
    65a6ba9f
  • Daz DeBoer's avatar
    bf742696
  • Jérôme Prinet's avatar
    Merge commit from fork · dcf6f72a
    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.
    dcf6f72a
  • bot-githubaction's avatar
    [bot] Update dist directory · 8da46b53
    bot-githubaction authored
    8da46b53
  • Inaki Villar's avatar
    Authenticate CI to Develocity with workload identity · 8e84bbf0
    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: default avatarInaki Villar <[email protected]>
    8e84bbf0
  • Iñaki Villar's avatar
    Authenticate CI to Develocity with workload identity (#1109) · c8a326d8
    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
    c8a326d8
  • bot-githubaction's avatar
    Bump Gradle Wrapper from 9.8.2 to 9.9.0. · 05924fd9
    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: default avatarbot-githubaction <[email protected]>
    05924fd9
Loading
Loading