Skip to content
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

bitnami/compat - usrmerge usrsbin 1 #44759

Merged
merged 4 commits into from
Mar 31, 2025

Conversation

a-crate
Copy link
Member

@a-crate a-crate commented Mar 6, 2025

No description provided.

@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Mar 6, 2025
@a-crate a-crate force-pushed the usrmerge-usrsbin-bitnami-compat-1 branch from f3fefae to 7b5f38b Compare March 6, 2025 01:23
@smoser
Copy link
Member

smoser commented Mar 6, 2025

Looks like this needs coreutils also. build of 7b5f38b [log] died after 13m 43s like:

running test pipeline for subpackage keycloak-bitnami-compat
...
failed to test package: unable to build guest: 
  unable to generate image: installing apk packages: 
  installing packages: 
   installing coreutils (ver:9.6-r30 arch:x86_64): 
     unable to install files for pkg coreutils: 
     unable to install symlink from usr/sbin/chroot -> usr/bin/coreutils: 
       symlink usr/bin/coreutils 
          /tmp/melange-guest-288107741-keycloak-bitnami-compat/usr/sbin/chroot: file exists

@a-crate
Copy link
Member Author

a-crate commented Mar 6, 2025

This has coreutils: 642a67d but I never bumped the epoch so it didn't build, oops.

@a-crate a-crate force-pushed the usrmerge-usrsbin-bitnami-compat-1 branch 5 times, most recently from 18855d0 to bd03ae4 Compare March 6, 2025 22:18
@a-crate a-crate force-pushed the usrmerge-usrsbin-bitnami-compat-1 branch 3 times, most recently from 7c37334 to 27f870e Compare March 25, 2025 16:59
Copy link
Contributor

octo-sts bot commented Mar 25, 2025

⚠️ EXPERIMENTAL

Please use 👍 or 👎 on this comment to indicate if you agree or disagree with the recommendation.

To provide more detailed feedback please comment on the recommendation prefixed with /ai-verify:

e.g. /ai-verify partially helpful but I also added bash to the build environment

Gen AI suggestions to solve the build error:

• Detected Error: "./bitnami/kafka/3.9/debian-12 does not exist"

• Error Category: Configuration/Version

• Failure Point: Bitnami compatibility layer setup in subpackage kafka-bitnami-compat-3.9

• Root Cause Analysis: The build is failing because it cannot find the Bitnami compatibility files for Kafka 3.9 in the expected path. This likely means that Bitnami hasn't yet created compatibility files for Kafka 3.9 in their containers repository.

• Suggested Fix:

  1. Check the available versions in bitnami/containers repository
  2. Modify the version-path in the bitnami/compat section to use the latest available 3.6 version:
- uses: bitnami/compat
  with:
    image: kafka
    version-path: 3.6/debian-12

• Explanation: The error occurs because Bitnami hasn't yet updated their containers repository to support Kafka 3.9. Using the latest available stable version (3.6) will provide the necessary compatibility files while maintaining functionality, as the basic structures between minor versions typically remain similar.

• Additional Notes:

  • Bitnami typically lags behind Apache Kafka releases in their container updates
  • The compatibility layer mainly provides script mappings and directory structures
  • Using 3.6 compatibility files should work with 3.9 as the core functionality remains similar
  • Monitor the Bitnami containers repository for when 3.9 support is added

• References:

@octo-sts octo-sts bot added the ai/skip-comment Stop AI from commenting on PR label Mar 25, 2025
@a-crate a-crate force-pushed the usrmerge-usrsbin-bitnami-compat-1 branch 6 times, most recently from ec73ee5 to f2acc8f Compare March 25, 2025 20:21
zmarano and others added 3 commits March 31, 2025 09:50
Handles usrmerge for packages who only install to /usr/sbin because of this pipeline. This is:

* contour
* etc
* kafka
* keycloak
* kubernetes-event-exporter
* logstash
* mc
* memcached
* minio
* mlflow
* pgpool
* postgres
* prometheus
* prometheus-pushgateway
* rabbitmq-server
* repmgr
* spark
* zookeeper

Signed-off-by: Amelia Crate <[email protected]>
Signed-off-by: Amelia Crate <[email protected]>
@smoser smoser force-pushed the usrmerge-usrsbin-bitnami-compat-1 branch from f2acc8f to 0d0baae Compare March 31, 2025 13:51
@smoser smoser force-pushed the usrmerge-usrsbin-bitnami-compat-1 branch from 0d0baae to 73ba642 Compare March 31, 2025 15:47
@smoser
Copy link
Member

smoser commented Mar 31, 2025

We dropped grafana-operator from this PR.

@a-crate a-crate marked this pull request as ready for review March 31, 2025 16:00
@a-crate a-crate requested a review from a team as a code owner March 31, 2025 16:00
@smoser smoser enabled auto-merge (squash) March 31, 2025 16:04
@smoser smoser merged commit 248025b into wolfi-dev:main Mar 31, 2025
22 checks passed
MickeyPvX pushed a commit to MickeyPvX/wolfi-dev-os that referenced this pull request Apr 1, 2025
Signed-off-by: Amelia Crate <[email protected]>
Co-authored-by: zach-marano <[email protected]>
Co-authored-by: Dimitri John Ledkov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ai/skip-comment Stop AI from commenting on PR bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants