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 #539

Closed
wants to merge 8 commits into from
Closed

ci: configure konflux build #539

wants to merge 8 commits into from

Conversation

bruno-fs
Copy link
Contributor

@bruno-fs bruno-fs commented Jan 14, 2025

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

@bruno-fs
Copy link
Contributor Author

/retest

@bruno-fs bruno-fs force-pushed the disco-708 branch 4 times, most recently from f951969 to 2f23f11 Compare January 14, 2025 20:56
@bruno-fs
Copy link
Contributor Author

/retest

@bruno-fs bruno-fs force-pushed the disco-708 branch 2 times, most recently from c1b3591 to 1d6d877 Compare January 14, 2025 22:45
@bruno-fs bruno-fs marked this pull request as ready for review January 15, 2025 19:44
@bruno-fs bruno-fs changed the title ci: configure konflux ci: configure konflux build Jan 15, 2025
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

@bruno-fs bruno-fs closed this Jan 16, 2025
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