-
Notifications
You must be signed in to change notification settings - Fork 128
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
introspect image type and add bundle validation #1533
base: main
Are you sure you want to change the base?
Conversation
A |
/ok-to-test |
22bf9e3
to
88824b1
Compare
@arewm Done - All of the new inputs are optional, so there are no required parameters to note in the migration doc. MIGRATION.md has been added. I think I got all ShellCheck and yamllint complaints as well. |
Oh! We do not currently have the ability to specify a non-breaking version bump. Since this is not a breaking change, should we just keep the task version consistent? |
I think I'd prefer to leave it as an increment given the underlying logic has changed. I would assume that users can also rollback to 0.1 if something in the 0.2 implementation isn't working for them, which seems useful to me. Open either way. |
Also, there are new results here - but no removed results. Not sure if that helps justify a 0.2. |
88824b1
to
61cb86f
Compare
61cb86f rebases off of main. |
@dirgim @hongweiliu17 , you reviewed the initial preflight task. Would you be able to help review this update as well? |
61cb86f
to
e38256a
Compare
e38256a
to
29ad54d
Compare
29ad54d rebases off of main again. |
What's the status here? |
When can we get this merged so that my scratch-based operator-bundle image won't be tested as if it's a UBI9-based container? https://issues.redhat.com/browse/RHIDP-4220?focusedId=26086287&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-26086287 |
Slack support workflow initiated for this PR in #konflux-users: |
/lgtm |
/ok-to-test |
Signed-off-by: Jose R. Gonzalez <[email protected]>
910e051
to
ef17f7d
Compare
/ok-to-test |
Related to KFLUXBUGS-1638- This pull request modifies the ecosystem check such that it should no longer fail (or need to be worked around) if the built image is an operator bundle.
The original scope for this issue was to detect the image was a bundle and then skip the remaining checks. I went ahead and added a bundle validation call just because it seemed within reach (see KONFLUX-178). If this implementation is not desirable, I'm happy to return to the original scope (i.e. detect the image is a bundle, then skip the ecosystem application image checks).
Before:
check container
) can't find what it's expecting.Now:
check operator
orcheck container
, respectively) unless explicitly set as a Task parameter.operator-sdk bundle validate
called on them. The operatoframework optional suite is called with k8s version set to 1.22. This is modifiable via Task parameters, but seemed like a reasonable default for now to match pre-existing pipelines doing similar things.preflight check container
)Notable:
preflight check operator
can be executed against the input image (I.e. when a disposable cluster and catalog becomes available).