Is your feature request related to a problem? Please describe.
I know there's been recent work to expose running checks on both containers, and operators (see #809), which I've found useful when attempting to simplify our openshift/operator release flow. Unfortunately there doesn't seem to be any way to actually submit the results, as the work to move most of the flow to /internal has progressed. There also seems to be some discussion about packaging the results to be able to be submitted without internet access.
Describe the solution you'd like.
containerCheck.Run returns runtime.Results. And the ResultSubmitter returned by
|
func ResolveSubmitter(pc PyxisClient, projectID, dockerconfig, logfile string) ResultSubmitter { |
requires nearly all of the data that
NewCheck can accept, given the variadic options that can be sent.
Exposing some ability to submit the results of checks seems like a logical step that could be taken to allow users the ability to integrate preflight checks fully into a custom release flow.
Describe alternatives you've considered.
There do not seem to be alternatives outside of running the preflight binary.
Is your feature request related to a problem? Please describe.
I know there's been recent work to expose running checks on both containers, and operators (see #809), which I've found useful when attempting to simplify our openshift/operator release flow. Unfortunately there doesn't seem to be any way to actually submit the results, as the work to move most of the flow to
/internalhas progressed. There also seems to be some discussion about packaging the results to be able to be submitted without internet access.Describe the solution you'd like.
containerCheck.Run returns
runtime.Results. And theResultSubmitterreturned byopenshift-preflight/internal/lib/lib.go
Line 13 in 3560a24
Exposing some ability to submit the results of checks seems like a logical step that could be taken to allow users the ability to integrate preflight checks fully into a custom release flow.
Describe alternatives you've considered.
There do not seem to be alternatives outside of running the preflight binary.