Skip to content

chore: stop building kcat image #1124

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2025
Merged

chore: stop building kcat image #1124

merged 2 commits into from
May 21, 2025

Conversation

dervoeti
Copy link
Member

@dervoeti dervoeti commented May 21, 2025

Description

We have an image sdp/kcat and also sdp/kafka-testing-tools, which seems to contain kcat (and nothing else really).
sdp/kafka-testing-tools is used in a kuttl test for kafka-operator.
As far as I see, the published sdp/kcat image is not used anywhere. The image neither has our usual labels nor an entrypoint.

I don't see a reason why we publish the kcat image or why anyone would use it (kafka-testing-tools seems to be the proper image that contains kcat since it has labels and an entrypoint), it looks like it's just an intermediate image that was published for some reason.

The plan is: Keep all the current sdp/kcat images around, just to be safe, but stop building new ones for upcoming releases, mainly to avoid confusion because we currently have two images that essentially contain the same thing (kcat and kafka-testing-tools). So this PR just removes the Github Action that publishes sdp/kcat.
This should be mentioned in the release notes.

Also: Fixed a bug in .scripts/update_readme_badges.sh that broke the pre-commit checks in this case (number of columns at the end was hardcoded).

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

bake --product <product> --image-version <stackable-image-version>
kind load docker-image <image-tagged-with-the-major-version> --name=<name-of-your-test-cluster>

See the output of bake to retrieve the image tag for <image-tagged-with-the-major-version>.

@dervoeti dervoeti force-pushed the chore/stop-building-kcat branch from ed741e4 to c34a98d Compare May 21, 2025 10:57
@dervoeti dervoeti added release/25.7.0 release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action. labels May 21, 2025
@dervoeti dervoeti force-pushed the chore/stop-building-kcat branch 4 times, most recently from d330452 to c06b5e6 Compare May 21, 2025 13:09
Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is more

$ rg kcat --hidden
...
.github/workflows/build_kafka.yaml
16:      - kcat/**

.github/workflows/build_kafka-testing-tools.yaml
16:      - kcat/**

@dervoeti dervoeti force-pushed the chore/stop-building-kcat branch from c06b5e6 to 2216303 Compare May 21, 2025 13:13
@dervoeti
Copy link
Member Author

there is more

$ rg kcat --hidden
...
.github/workflows/build_kafka.yaml
16:      - kcat/**

.github/workflows/build_kafka-testing-tools.yaml
16:      - kcat/**

Good catch, adjusted it!

@dervoeti dervoeti requested a review from razvan May 21, 2025 13:17
@dervoeti dervoeti moved this to Development: In Review in Stackable Engineering May 21, 2025
Copy link
Member

@razvan razvan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@dervoeti dervoeti added this pull request to the merge queue May 21, 2025
Merged via the queue into main with commit 0ebe644 May 21, 2025
3 checks passed
@dervoeti dervoeti deleted the chore/stop-building-kcat branch May 21, 2025 13:20
dervoeti added a commit that referenced this pull request May 23, 2025
* chore: stop building kcat image

* fix: adjust kafka / kafka-testing-tools watched paths
@lfrancke lfrancke moved this from Development: In Review to Development: Done in Stackable Engineering May 26, 2025
@lfrancke lfrancke moved this from Development: Done to Acceptance: In Progress in Stackable Engineering May 26, 2025
github-merge-queue bot pushed a commit that referenced this pull request May 27, 2025
* feat: include source code of components / migrate some components to patchable

* chore(deps): update docker/dockerfile docker tag to v1.15.1 (#1120)

| datasource | package           | from   | to     |
| ---------- | ----------------- | ------ | ------ |
| docker     | docker/dockerfile | 1.10.0 | 1.15.1 |

* chore: Update pre-commit dependencies (#1123)

* chore(kafka): update images for release 25.7.0 (#1117)

* remove 3.7.1 and 3.8.0

* add 4.0.0

* update changelog

* bump to java 23 for kafka 4.0.0

* fix kcat image name

* chore: stop building kcat image (#1124)

* chore: stop building kcat image

* fix: adjust kafka / kafka-testing-tools watched paths

* chore: changelog / hadolint fix

* fix: missing patchable config for protobuf

* Update hadoop/Dockerfile

Co-authored-by: Malte Sander <[email protected]>

* chore: move chmod to builder step

* fix: spark build

---------

Co-authored-by: Stacky McStackface <[email protected]>
Co-authored-by: Lars Francke <[email protected]>
Co-authored-by: Razvan-Daniel Mihai <[email protected]>
Co-authored-by: Malte Sander <[email protected]>
@lfrancke
Copy link
Member

Can you please add release notes?

@dervoeti
Copy link
Member Author

Release note

BREAKING: The oci.stackable.tech/sdp/kcat image has been discontinued starting with SDP 25.7. Use oci.stackable.tech/sdp/kafka-testing-tools instead, which includes kcat. Existing oci.stackable.tech/sdp/kcat images for previous SDP releases remain available.

@lfrancke lfrancke moved this from Acceptance: In Progress to Done in Stackable Engineering May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/25.7.0 release-note/action-required Denotes a PR that introduces potentially breaking changes that require user action.
Projects
Development

Successfully merging this pull request may close these issues.

3 participants