Repository navigation
HDDS-17109. Make Develocity remote usage optional - #11627
Conversation
chihsuan
left a comment
There was a problem hiding this comment.
Thanks for the patch! @adoroszlai Looks good overall, left a few small questions inline.
Also, should we add MAVEN_ARGS to repeat-acceptance.yml too?
| under the License. | ||
|
|
||
| --> | ||
| <develocity |
There was a problem hiding this comment.
Just curious, could develocity-asf.xml only hold the overrides, since the configs are merged? Happy either way.
There was a problem hiding this comment.
Makes sense. Tested with the same command as in description.
| <fileFingerprints>false</fileFingerprints> | ||
| <buildLogging>false</buildLogging> | ||
| <testLogging>false</testLogging> | ||
| <resourceUsage>false</resourceUsage> |
There was a problem hiding this comment.
Should we set resourceUsage to true in develocity-asf.xml? I noticed master CI scans include CPU and memory charts today, but this false may carry over through the config merge.
There was a problem hiding this comment.
Added. I couldn't find a way to see the effective value (as opposed to the cache, which has the debug setting). /proc/cpuinfo etc. are read once with both values, so not sure what this does.
There was a problem hiding this comment.
Per the docs, it controls the CPU / Memory / Disk / Network charts in the scan's Performance tab, e.g. https://develocity.apache.org/s/ze3mlrultacfs/performance. I think we can check the next master scan after the merge.
|
Thanks @chihsuan for the review. |
What changes were proposed in this pull request?
.mvn/develocity.xmlcurrently enables:apache/ozone): publishing build scans and saving to remote build cacheRemote Develocity server is set to the ASF's instance.
Changes proposed:
.mvn/develocity-asf.xml.mvn/develocity.xml, which only enables local build cache, nothing else.mvn/develocity-asf.xmlin CI via CLI optionsDevelopers can opt-in to using ASF's Develocity using the same options.
Benefits:
https://issues.apache.org/jira/browse/HDDS-17109
How was this patch tested?
Verified that local cache is enabled by default, but remote cache is not:
Verified remote cache is enabled via the property used in CI workflows:
CI:
https://github.com/adoroszlai/ozone/actions/runs/39220897550