donat opened a new pull request, #23711:
URL: https://github.com/apache/kafka/pull/23711

   Publishes a Develocity Build Scan for each image the `docker_build_and_test` 
and `docker_official_image_build_and_test` workflows build. A new `Setup 
Docker` step runs the Develocity Docker build agent beside the build, using the 
`setup-docker` action from `gradle/develocity-actions`. The agent captures what 
reaches BuildKit, so the Dockerfiles and the build commands stay as they are.
   
   The scans go to develocity.apache.org under the `kafka` project, with the 
`DEVELOCITY_ACCESS_KEY` secret the Gradle builds already use. The build scripts 
pass `--build-arg DEVELOCITY_PROJECT_ID=kafka`, which names the scans. They 
build from a copy of the context outside the git work tree, so without it a 
scan has no project name.
   
   Documentation for the action: 
https://github.com/gradle/develocity-actions#setup-docker-action
   
   Testing: both workflows were dispatched on a mirror of trunk against a test 
Develocity server, and each published one scan for its image.
   
   `gradle/develocity-actions/setup-docker` is not on the ASF actions allowlist 
yet. It has to be added in https://github.com/apache/infrastructure-actions 
before these workflows can run it.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to