Skip to content

Migrate to the OSS Community Develocity Instance - #3085

Merged
trask merged 1 commit into
open-telemetry:mainfrom
cdsap:dv/migrate-to-oss-community-develocity-instance
Sep 1, 2026
Merged

Migrate to the OSS Community Develocity Instance#3085
trask merged 1 commit into
open-telemetry:mainfrom
cdsap:dv/migrate-to-oss-community-develocity-instance

Conversation

@cdsap

@cdsap cdsap commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Migrate to the OSS Community Develocity Instance

OpenTelemetry's dedicated Develocity instance (https://develocity.opentelemetry.io) is being
retired in favour of the shared OSS Community Develocity Instance at
https://community.develocity.cloud, which Develocity (Gradle Inc.) runs for OSS projects.
Build Scans and the remote build cache keep working exactly as they do today — only the host
changes, and builds are now associated with the OpenTelemetry project on the shared instance.

What this PR changes

  • settings.gradle.kts: develocityServer now points at https://community.develocity.cloud.
  • settings.gradle.kts: adds projectId = "OpenTelemetry" so Build Scans and cache entries are
    scoped to the OpenTelemetry project on the shared instance.

Nothing else changes: the CI workflows already read DEVELOCITY_ACCESS_KEY from secrets, so no
workflow edits are needed. Build Scan publishing, remote cache push, and the
build-scan.txt output all behave as before.

Action required before/when merging

The DEVELOCITY_ACCESS_KEY secret must be updated, because the access key format is
<host>=<key> and the host is changing:

DEVELOCITY_ACCESS_KEY = community.develocity.cloud=<access-key-for-the-community-instance>

Access keys for the OpenTelemetry CI service account on community.develocity.cloud have been
provisioned by the Develocity team and shared with the maintainers out of band. If the secret
still carries the develocity.opentelemetry.io= prefix after this PR merges, the key is silently
ignored: CI builds will publish no Build Scans and will not push to the remote cache.

Because the secret is shared across the OpenTelemetry JVM repositories, the cleanest sequence is
to update the (org-level) secret and merge the per-repository PRs together.

Related PRs

This is part of the OpenTelemetry migration to the Community Instance. Companion PRs:

Questions

Happy to adjust anything here — feel free to ping me on this PR or in the CNCF Slack.

@cdsap
cdsap requested a review from a team as a code owner August 31, 2026 21:34
Copilot AI lite review requested due to automatic review settings August 31, 2026 21:34
@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 31, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: cdsap / name: Inaki Villar (d4330d6)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates this repository’s Gradle Develocity configuration to use the shared OSS Community Develocity instance, keeping Build Scans and remote build cache behavior aligned with the prior setup while changing the server host and scoping data to the OpenTelemetry project.

Changes:

  • Point Develocity server configuration at https://community.develocity.cloud.
  • Set projectId = "OpenTelemetry" so scans/cache entries are scoped to the OpenTelemetry project on the shared instance.
Suppressed comments (1)

settings.gradle.kts:34

  • isRemoteBuildCachePushEnabled is currently gated on DEVELOCITY_ACCESS_KEY being non-empty, but the access key format is <host>=<key>. After switching develocityServer to community.develocity.cloud, a still-non-empty but wrong-host key (e.g., still prefixed with the old host) will cause the build to (a) disable the local build cache on main and (b) enable remote cache push even though Develocity will ignore the key for this server. Consider checking that the access key contains an entry for the configured server host and using that boolean consistently for server/projectId, build scans, and remote cache push.
val develocityServer = "https://community.develocity.cloud"
val isCI = System.getenv("CI") != null
val develocityAccessKey = System.getenv("DEVELOCITY_ACCESS_KEY") ?: ""
val isRemoteBuildCachePushEnabled = isCI && develocityAccessKey.isNotEmpty()
val shouldDisableLocalBuildCache =

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@trask
trask added this pull request to the merge queue Sep 1, 2026
Merged via the queue into open-telemetry:main with commit 3f41f17 Sep 1, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants