Attila Doroszlai created HDDS-17109:
---------------------------------------

             Summary: Make Develocity remote usage optional
                 Key: HDDS-17109
                 URL: https://issues.apache.org/jira/browse/HDDS-17109
             Project: Apache Ozone
          Issue Type: Task
          Components: build
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


{{.mvn/develocity.xml}} currently enables:
- local and remote build cache lookup
- build scan collection
- if authenticated (GitHub CI in {{apache/ozone}}): publishing build scans and 
saving to remote build cache

Remote Develocity server is set to the ASF's instance.

Changes proposed:
- move existing config file to {{.mvn/develocity-asf.xml}}
- create new {{.mvn/develocity.xml}}, which only enables local build cache, 
nothing else
- use {{.mvn/develocity-asf.xml}} in CI via CLI options

Developers can opt-in to using ASF's Develocity using the same options.

Benefits:
- avoid unintended usage of remote cache, which may falsify "reproducible 
build" results (e.g. in 
[reproducible-central|https://github.com/jvm-repo-rebuild/reproducible-central])
- avoid local overhead and server-side load of remote cache lookups for builds 
that cannot possibly be cached there (e.g. company internal builds)
- avoid overhead of data collection for builds whose scan will never get 
published



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to