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

Fix Hive upstream image building #2547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abraverm
Copy link
Contributor

Fedora development container is no longer working with the changes in Dockerfile, this change allows one to build Hive images without logging in to registry.ci.openshift.org.

@openshift-ci openshift-ci bot requested review from dlom and suhanime January 20, 2025 17:46
@abraverm
Copy link
Contributor Author

retest

@abraverm
Copy link
Contributor Author

/retest

@abraverm
Copy link
Contributor Author

Copy link
Member

@2uasimojo 2uasimojo left a comment

Choose a reason for hiding this comment

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

Thanks Alex!

Couple grammar nits, but just unhold if you don't care :)

/hold
/lgtm

@@ -1,6 +1,11 @@
.PHONY: all
all: vendor update test build

# These images needs to be synced with the default values in the Dockerfile.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# These images needs to be synced with the default values in the Dockerfile.
# These images need to be synced with the default values in the Dockerfile.

This approach is much faster than a full container build as it uses a base OS image, and binaries compiled on your host OS and then added to the container. *At present this is best suited for Fedora 33+.*
If you cannot login to registry.ci.openshift.org, a temporary solution is to use
public images during build and test. At the time of writing, the following public images
does the trick.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
does the trick.
do the trick.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 20, 2025
@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 20, 2025
@abraverm
Copy link
Contributor Author

abraverm commented Jan 20, 2025

Thanks @2uasimojo , I will fix them. Beside that, I'm trying to confirm an issue that I have stumbled upon and I'm not yet sure if it is due to my own environment setup or this change. The containers, built with upstream images, fail to start with this error: /lib/x86_64-linux-gnu/libc.so.6: version 'GLIBC_2.32' not found.
The workaround that works for me is to build the images with CGO_ENABLED=0, as suggested here: docker-library/official-images#14857
What are your thoughts on disabling CGO?

@2uasimojo
Copy link
Member

Thanks @2uasimojo , I will fix them. Beside that, I'm trying to confirm an issue that I have stumbled upon and I'm not yet sure if it is due to my own environment setup or this change. The containers, built with upstream images, fail to start with this error: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.32' not found. The workaround that works for me is to build the images with CGO_ENABLED=0`, as suggested here: docker-library/official-images#14857 What are your thoughts on disabling CGO?

I know CGO is Important™, but I can't remember exactly why, or whether it's supposed to be on or off, or what. Trying to find out. Also working on the konflux thing with @celebdor -- will override if necessary.

Let's do this until we've at least got an answer on the CGO thing...

/lgtm cancel

Copy link
Contributor

openshift-ci bot commented Jan 20, 2025

@abraverm: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 20, 2025
Copy link
Contributor

openshift-ci bot commented Jan 20, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: abraverm
Once this PR has been reviewed and has the lgtm label, please ask for approval from 2uasimojo. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants