[ https://issues.apache.org/jira/browse/KAFKA-16978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Krish Vora updated KAFKA-16978: ------------------------------- Description: Steps to release Docker Official Image as post-release process: # {*}Prepare Docker Official Image Source{*}: Provide the image type and kafka version to {{Docker Prepare Docker Official Image Source}} workflow. It will generate a artifact containing the static Dockerfile and assets for that specific version. Download the same from the workflow. {code:java} For example, image_type: jvm kafka_version: kafka_version_for_docker_official_image{code} 2. *Extract docker official image artifact:* * Run the {{docker/extract_docker_official_image_artifact.py}} script, by providing it the path to the downloaded artifact. Ensure that this creates a new directory under {{{}docker/docker_official_images/kafka_version{}}}. * {code:java} For example, python extract_docker_official_image_artifact.py --path_to_downloaded_artifact=path/to/downloaded/artifact {code} * Commit these changes to AK trunk. 3. *Remove any versions for which Docker Official Images should not be supported IF ANY* * If there any versions for which Docker Official Images should not be supported, remove the corresponding directories under {{{}docker/docker_official_images{}}}. * Commit these changes to AK trunk. 4. *Docker Official Image Build and Test* Provide the image type and kafka version to {{Docker Official Image Build Test}} workflow. It will generate a test report and CVE report that can be shared with the community, if need be, {code:java} For example, image_type: jvm kafka_version: kafka_version_for_docker_official_image{code} 5. *Generate and merge/release the PR for Docker Official Images repo* * Run the {{docker/generate_kafka_pr_template.py}} script from trunk, by providing it the image type. Update the existing entry. * {code:java} For example, python generate_kafka_pr_template.py --image-type=jvm {code} * Copy this to raise a new PR in [Docker Hub's Docker Official Repo|https://github.com/docker-library/official-images/tree/master/library/kafka] , which modifies the exisiting entry. was: Steps to release Docker Official Image as post-release process: # {*}Prepare Docker Official Image Source{*}: Provide the image type and kafka version to {{Docker Prepare Docker Official Image Source}} workflow. It will generate a artifact containing the static Dockerfile and assets for that specific version. Download the same from the workflow. {code:java} image_type: jvm kafka_version: kafka_version_for_docker_official_image{code} 2. *Extract docker official image artifact:* * Run the {{docker/extract_docker_official_image_artifact.py}} script, by providing it the path to the downloaded artifact. Ensure that this creates a new directory under {{{}docker/docker_official_images/kafka_version{}}}. * For example, python extract_docker_official_image_artifact.py --path_to_downloaded_artifact=path/to/downloaded/artifact * Commit these changes to AK trunk. 3. *Remove any versions for which Docker Official Images should not be supported IF ANY* * If there any versions for which Docker Official Images should not be supported, remove the corresponding directories under {{{}docker/docker_official_images{}}}. * Commit these changes to AK trunk. 4. *Docker Official Image Build and Test* Provide the image type and kafka version to {{Docker Official Image Build Test}} workflow. It will generate a test report and CVE report that can be shared with the community, if need be, {code:java} For example, image_type: jvm kafka_version: kafka_version_for_docker_official_image{code} 5. *Generate and merge/release the PR for Docker Official Images repo* * Run the {{docker/generate_kafka_pr_template.py}} script from trunk, by providing it the image type. Update the existing entry. * For example, python generate_kafka_pr_template.py --image-type=jvm * Copy this to raise a new PR in [Docker Hub's Docker Official Repo|https://github.com/docker-library/official-images/tree/master/library/kafka] , which modifies the exisiting entry. > Apache Kafka 3.7.0 Docker Official Image release > ------------------------------------------------ > > Key: KAFKA-16978 > URL: https://issues.apache.org/jira/browse/KAFKA-16978 > Project: Kafka > Issue Type: Task > Reporter: Krish Vora > Priority: Major > > Steps to release Docker Official Image as post-release process: > # {*}Prepare Docker Official Image Source{*}: > Provide the image type and kafka version to {{Docker Prepare Docker Official > Image Source}} workflow. It will generate a artifact containing the static > Dockerfile and assets for that specific version. Download the same from the > workflow. > {code:java} > For example, > image_type: jvm > kafka_version: kafka_version_for_docker_official_image{code} > > 2. *Extract docker official image artifact:* > * Run the {{docker/extract_docker_official_image_artifact.py}} script, by > providing it the path to the downloaded artifact. Ensure that this creates a > new directory under {{{}docker/docker_official_images/kafka_version{}}}. > * > {code:java} > For example, > python extract_docker_official_image_artifact.py > --path_to_downloaded_artifact=path/to/downloaded/artifact {code} > * Commit these changes to AK trunk. > > 3. *Remove any versions for which Docker Official Images should not be > supported IF ANY* > * If there any versions for which Docker Official Images should not be > supported, remove the corresponding directories under > {{{}docker/docker_official_images{}}}. > * Commit these changes to AK trunk. > > 4. *Docker Official Image Build and Test* > Provide the image type and kafka version to {{Docker Official Image Build > Test}} workflow. It will generate a test report and CVE report that can be > shared with the community, if need be, > {code:java} > For example, > image_type: jvm > kafka_version: kafka_version_for_docker_official_image{code} > > 5. *Generate and merge/release the PR for Docker Official Images repo* > * Run the {{docker/generate_kafka_pr_template.py}} script from trunk, by > providing it the image type. Update the existing entry. > * > {code:java} > For example, > python generate_kafka_pr_template.py --image-type=jvm {code} > * Copy this to raise a new PR in [Docker Hub's Docker Official > Repo|https://github.com/docker-library/official-images/tree/master/library/kafka] > , which modifies the exisiting entry. -- This message was sent by Atlassian Jira (v8.20.10#820010)