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

Migrate to Develocity build cache connector #13387

Merged

Conversation

jprinet
Copy link
Contributor

@jprinet jprinet commented Feb 15, 2024

Goal

Simplify cache management with the Develocity cache connector

Requirements

Make sure the access key used in CI workflows has the ci-agent role

Changes

  • Change cache connector type
  • Remove cache credentials
  • Remove cache URL

@CLAassistant
Copy link

CLAassistant commented Feb 15, 2024

CLA assistant check
All committers have signed the CLA.

@@ -78,14 +78,9 @@ jobs:
echo "" >> $GITHUB_OUTPUT
echo "buildCache {" >> $GITHUB_OUTPUT
echo " local { enabled = System.getenv('CI') != 'true' }" >> $GITHUB_OUTPUT
echo " remote(HttpBuildCache) {" >> $GITHUB_OUTPUT
echo " remote(gradleEnterprise.buildCache) {" >> $GITHUB_OUTPUT
echo " push = System.getenv('CI') == 'true'" >> $GITHUB_OUTPUT
Copy link
Contributor Author

@jprinet jprinet Feb 15, 2024

Choose a reason for hiding this comment

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

Does the push flag need to be enabled only when GRADLE_ENTERPRISE_ACCESS_KEY is present?
Like in here

@puneetbehl puneetbehl merged commit 7bc852a into grails:6.1.x Feb 20, 2024
9 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