kagarwal06 commented on PR #15048:
URL: https://github.com/apache/kafka/pull/15048#issuecomment-1877080323

   > I saw that but the action only allows me to pick a branch or tag. Ideally 
I'd like to run it on the pull request.
   
   Hi @mimaison , thanks for the feedback.
   
   The dockerisation of Apache Kafka follows the following process
   - Accepts a signed Kafka tarball link.
   - Expects the presence of both the `.asc` file and `key` for tarball 
verification. This verification process is implemented in the 
[Dockerfile](https://github.com/apache/kafka/blob/trunk/docker/jvm/Dockerfile#L78-L83).
   
   The `docker_build_test.py`, utilized in GitHub Actions as well, takes an 
Apache Kafka tarball URL, supplies it to the Dockerfile, builds the Docker 
image, and runs tests on it. This approach is valuable during Release Candidate 
(RC) testing, allowing us to verify the Docker image by providing the Apache 
Kafka RC link along with the necessary `.asc` file and the `key`.
   
   However, in the context of pull requests, especially when changes impact the 
Apache Kafka codebase and the docker path (as in the current PR), testing 
requires a signed tarball with the associated `keys` and `.asc` file. 
Presently, our pipeline is not designed for this use-case.
   
   **NOTE:** We have locally tested the above changes by building the Apache 
Kafka and uploading the tarball to S3 and commenting out the tarball 
verification code in the Dockerfile.


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to