Migrate to OSS Community Develocity Instance#11845
Open
jprinet wants to merge 2 commits into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Author
|
tagging you @kiview for visibility 👋 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate to the OSS Community Develocity Instance
This PR migrates Develocity Build Scan® and Build Cache support
for this project to the OSS Community Develocity Instance at
https://community.develocity.cloud under project ID
testcontainers.What this PR changes
settings.gradleto point athttps://community.develocity.cloudwith project IDtestcontainersand adds IP address obfuscationdevelocity-gradle-pluginto4.4.1andcommon-custom-user-data-gradle-pluginto2.6.0insettings.gradleGRADLE_ENTERPRISE_ACCESS_KEY→DEVELOCITY_ACCESS_KEYin all GitHub Actions workflow filesStep 1 — Get an access key for
community.develocity.cloudBuild Scan publishing and Build Cache writes from CI need a Develocity access key.
GitHub Actions), and copy the generated key. Keep this tab open until you complete Step 2 — the key is only shown once.Step 2 — Set the GitHub Actions secret on this repository
CI uses a repository secret named
DEVELOCITY_ACCESS_KEYto authenticate tocommunity.develocity.cloud.GRADLE_ENTERPRISE_ACCESS_KEYif present — but note the name must change toDEVELOCITY_ACCESS_KEY).DEVELOCITY_ACCESS_KEYcommunity.develocity.cloud=PASTE_THE_ACCESS_KEY_FROM_STEP_1_HERE(thecommunity.develocity.cloud=prefix is required — this is the most common point of failure).Step 3 — Provision an access key for local builds
Developers building locally should run:
./gradlew provisionDevelocityAccessKeyNote on the CI run on this PR
This PR was prepared from a fork. Forks can't read repository secrets, so the workflow run on this PR cannot publish to
community.develocity.cloudeven after setting the secret. To get CI verification before merging, push the branchbuild/migrate-to-oss-community-develocity-instanceto a temporary branch on the main repo and re-run.