Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Gradle Enterprise to Develocity #1031

Merged
merged 10 commits into from
Jan 11, 2024

Conversation

welandaz
Copy link
Member

@welandaz welandaz commented Jan 9, 2024

No description provided.

@welandaz welandaz linked an issue Jan 9, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Jan 9, 2024

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment

No Gradle build results detected.

3 similar comments
Copy link

github-actions bot commented Jan 9, 2024

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment

No Gradle build results detected.

Copy link

github-actions bot commented Jan 9, 2024

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment

No Gradle build results detected.

Copy link

github-actions bot commented Jan 9, 2024

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment

No Gradle build results detected.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Co-authored-by: Guy Brand <guy@guymas.ch>
@welandaz welandaz requested a review from guylabs January 9, 2024 19:07
Copy link

github-actions bot commented Jan 9, 2024

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: failing-build-with-comment-on-failure
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
kotlin-dsl no-a-real-task 8.5 Build Scan PUBLISHED

Copy link

github-actions bot commented Jan 9, 2024

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
kotlin-dsl build 8.5 Build Scan PUBLISHED

Copy link
Member

@bigdaz bigdaz left a comment

Choose a reason for hiding this comment

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

Looks good in general.
The develocity-injection test is failing: I'm pretty sure this is due to the incorrect secret name being used in integ-test-inject-develocity.yml.
My only other comment is regarding the use of develocity.gradle.org as the example URL in the README.

DEVELOCITY_URL: https://ge.solutions-team.gradle.com
DEVELOCITY_PLUGIN_VERSION: 3.16.1
DEVELOCITY_CCUD_PLUGIN_VERSION: 1.12.1
DEVELOCITY_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
Copy link
Member

Choose a reason for hiding this comment

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

I'm pretty sure this needs to be secrets.DEVELOCITY_ACCESS_KEY, since that's the name of the secret as passed to this workflow.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, fixed

README.md Outdated
GRADLE_ENTERPRISE_PLUGIN_VERSION: 3.16.1
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_KEY }} # Required to publish scans to ge.gradle.org
DEVELOCITY_INJECTION_ENABLED: true
DEVELOCITY_URL: https://develocity.gradle.org
Copy link
Member

Choose a reason for hiding this comment

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

Are we planning to rename this server soon? As far as I can tell it's still ge.gradle.org.
Since this is just an example, perhaps we should instead use something like https://develocity.your-server.com rather than a real-world server.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think having a dummy server like https://develocity.your-server.com is much preferred here as this is just an example.
I've updated this accrodingly.

README.md Outdated
| DEVELOCITY_ENFORCE_URL | | enforce the configured Develocity URL over a URL configured in the project's build; set to _true_ to enforce publication of build scans to the configured Develocity URL |
| DEVELOCITY_PLUGIN_VERSION | :white_check_mark: | the version of the [Develocity Gradle plugin](https://docs.gradle.com/enterprise/gradle-plugin/) to apply |
| DEVELOCITY_CCUD_PLUGIN_VERSION | | the version of the [Common Custom User Data Gradle plugin](https://github.com/gradle/common-custom-user-data-gradle-plugin) to apply, if any |
| DEVELOCITY_PLUGIN_REPOSITORY_URL | | the URL of the repository to use when resolving the Develocity and CCUD plugins; the Gradle Plugin Portal is used by default |
Copy link
Member

Choose a reason for hiding this comment

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

I'd like to rename this to GRADLE_PLUGIN_REPOSITORY_URL, since it makes no sense to have different env vars to configure the plugin portal for the DV plugins and the dependency-graph plugin.
I'll take care of this in a subsequent change, if necessary.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agree, changed

@welandaz welandaz requested a review from bigdaz January 10, 2024 11:20
Copy link

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: failing-build-with-comment-on-failure
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
kotlin-dsl no-a-real-task 8.5 Build Scan PUBLISHED

Copy link

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
kotlin-dsl build 8.5 Build Scan PUBLISHED

welandaz and others added 4 commits January 10, 2024 16:56
- Use `develocity.your-server.com` consistently in examples
- Remove access key from example, since it's unrelated to the actual DV injection
  (And the access key name remains at `GRADLE_ENTERPRISE_ACCESS_KEY`)
GE plugin 3.16.1 still expects the access key to be provided
via the `GRADLE_ENTERPRISE_ACCESS_KEY` env var.
@bigdaz bigdaz self-assigned this Jan 11, 2024
Copy link

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: successful-build-with-always-comment
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
kotlin-dsl build 8.5 Build Scan PUBLISHED

Copy link

Job Summary for gradle-build-action

Demo adding Build Scan® comment to PR :: failing-build-with-comment-on-failure
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
kotlin-dsl no-a-real-task 8.5 Build Scan PUBLISHED

@bigdaz bigdaz merged commit 932abbb into main Jan 11, 2024
67 checks passed
@bigdaz bigdaz deleted the welandaz/gradle-enterprise-to-develocity branch January 11, 2024 03:30
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.

Adapt for Develocity rebrand
3 participants