Skip to content

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.

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 apache:6.1.x Feb 20, 2024
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