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

ci: configure konflux build #541

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

ci: configure konflux build #541

wants to merge 8 commits into from

Conversation

bruno-fs
Copy link
Contributor

What's included

konflux configuration adjusted to have all required checks passing on Red Hat Enterprise Contract.
With these changes, the same Containerfile can be used for upstream and downstream builds.

How to test

make sure both konflux checks in this PR are passing.

Check the build

export IMAGE=$(kubectl get component discovery-ui -o json | jq '.status.lastPromotedImage' -r)

export IMAGE="quay.io/redhat-user-workloads/discovery-tenant/discovery/discovery-ui:on-pr-$(git log --format="%H" -1)"

kubectl get secret imagerepository-for-discovery-ui-image-pull -o json | jq '.data[] | @base64d | fromjson | {auths: (.auths // .)}' > /tmp/auth.json
podman pull ${IMAGE} --authfile /tmp/auth.json 
# then run the following (assuming quipucords/discovery is running through default installer)
podman run -p 9999:9999 -e QUIPUCORDS_APP_PORT=9999 -e QUIPUCORDS_SERVER_URL:-host.containers.internal:9443 -it $IMAGE

Example

...

Updates issue/story

Relates to JIRA: DISCOVERY-708
DISCOVERY-708

Official pre-fetching (cachi2) support for dnf packages doesn't exist
yet. Even when that support comes, given the need of lockfiles,
it is not clear if dnf update will ever be supported.
With default values pointing for upstream values.
@bruno-fs
Copy link
Contributor Author

/retest

1 similar comment
@bruno-fs
Copy link
Contributor Author

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant