Skip to content

Publish build scans to develocity.apache.org and update Develocity plugins - #1723

Open
clayburn wants to merge 1 commit into
apache:masterfrom
clayburn:develocity-plugin-update
Open

clayburn wants to merge 1 commit into
apache:masterfrom
clayburn:develocity-plugin-update

Conversation

@clayburn

Copy link
Copy Markdown
Contributor

Supersedes #1714 and #1718, combining both and bringing the plugin versions up to current.

What this does

  • Migrates from ge.apache.org to develocity.apache.org (the ASF retired the old host)
  • com.gradle.enterprise 3.13.1 → com.gradle.develocity 4.5.1
  • com.gradle.common-custom-user-data-gradle-plugin 1.10 → 2.8.0
  • Migrates the gradleEnterprise {} DSL to develocity {}, including publishAlways() / publishIfAuthenticated()publishing.onlyIf { it.authenticated }
  • Drops the explicit build scan capture configuration so the default capture configuration applies, matching apache/groovy
  • Sets projectId = "samza" so builds are attributed to Samza on the shared ASF instance
  • CI now exports DEVELOCITY_ACCESS_KEY from the DEVELOCITY_ACCESS_KEY secret

…ugins

The ASF migrated its Develocity instance from ge.apache.org to
develocity.apache.org, and the Gradle Enterprise plugin was renamed to
Develocity in 3.17. This migrates Samza to the new server and updates
both plugins to current releases:

  com.gradle.enterprise 3.13.1 -> com.gradle.develocity 4.5.1
  com.gradle.common-custom-user-data-gradle-plugin 1.10 -> 2.8.0

The DSL changes that accompany the rename:

  gradleEnterprise {}                        -> develocity {}
  publishAlways() + publishIfAuthenticated() -> publishing.onlyIf { it.authenticated }

The explicit build scan capture configuration is dropped so that the
default capture configuration applies, matching apache/groovy.

A projectId of "samza" is set so builds are attributed to the Samza
project on the shared ASF instance, matching apache/kafka and
apache/groovy.

The CI workflow exports DEVELOCITY_ACCESS_KEY from the
DEVELOCITY_ACCESS_KEY secret. The plugin no longer reads
GRADLE_ENTERPRISE_ACCESS_KEY, and DEVELOCITY_ACCESS_KEY is the secret
name ASF INFRA provisions for develocity.apache.org.

Remote build cache configuration is unchanged.

Supersedes apache#1714 and apache#1718.
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.

1 participant