Repository navigation
BUILD-12158 Opt in to resolving dependencies through the JFrog Edge - #350
Conversation
7bc53f3 to
aab4ffd
Compare
aab4ffd to
9f03af6
Compare
- repox-url defaults to https://repox.jfrog.io. Callers opt in to the Edge with repox-url: https://repox-internal.dev.sonar.build. - The resolve token follows repox-url: SaaS tokens from development/artifactory on vault.sonar.build, Edge tokens from development/artifactory-edge-dev on vault.dev.sonar.build. - The build-* actions always deploy, publish and record build info on https://repox.jfrog.io. Gradle resolves through ARTIFACTORY_RESOLVE_URL so its deploy steps keep ARTIFACTORY_URL on SaaS. - promote always uses https://repox.jfrog.io and no longer takes repox-url. - README: document the Edge opt-in.
45500e3 to
8089712
Compare
|
bwalsh434
left a comment
There was a problem hiding this comment.
LGTM! Discussed with Hedi in our morning sync
Code Review ✅ Approved 8 closed / 8 findings🔴 High risk · Removing promote’s repox-url input changes a public interface across dependency workflows. Resolves dependencies through the JFrog Edge as opt-in, with resolve tokens following the selected ✅ 8 closed✅ Bug: Dropping dev-Vault derivation silently breaks dev/Edge Maven callers
✅ Quality: New vault-url input not documented in README input tables
✅ Edge Case: timeout-seconds is not a wall-clock bound; wait can run ~20 minutes
✅ Quality: Probe endpoint differs from the one the PR describes
✅ Quality: build-yarn resolve token not switched to the edge-dev Vault engine
...and 3 more closed from earlier reviews Verification Repos 1 inspectedFunctional validation No results Rules No rules evaluated Cross-repo 1 repository inspected 0 open impacts
Auto-approval Not enabledOptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |



BUILD-12158
Summary
Resolving dependencies through the JFrog Edge becomes opt-in. By default nothing changes: every action resolves, deploys and promotes on SaaS Repox.
config-*,build-*: Maven mirror, Gradle, npm, pip, uv, Poetry)repox-url: https://repox.jfrog.iorepox-url: https://repox-internal.dev.sonar.buildbuild-*)https://repox.jfrog.iohttps://repox.jfrog.iopromote)https://repox.jfrog.iohttps://repox.jfrog.iorepox-url: with SaaS,development/artifactory/token/...onvault.sonar.build, as on master. With the Edge, a token issued by the Edge fromdevelopment/artifactory-edge-dev/token/...onvault.dev.sonar.build(re-terraform-aws-vault#9735).repox-deploy-urlis removed. Thebuild-*actions always deploy, publish and record build info onhttps://repox.jfrog.io, with deploy tokens fromvault.sonar.build. Gradle resolves throughARTIFACTORY_RESOLVE_URLso its deploy steps can keepARTIFACTORY_URLon SaaS.https://repox.jfrog.io; itsrepox-urlinput is removed, since the Edge is read-only.dev.sonar.buildfor deploy and promote tokens.repox-internal.dev.sonar.buildis only reachable from runners inside the SonarSource network.Test plan
@BUILD-12158withrepox-url: https://repox-internal.dev.sonar.build: dependencies resolve from the Edge with Edge-issued tokens; artifacts deploy and promote onrepox.jfrog.io.repox-urlresolves fromrepox.jfrog.iowith tokens fromvault.sonar.build.