containerbuildsystem/koji-containerbuild

Check build result in createContainer

mmilata opened this issue · 0 comments

Currently createContainer is marked as closed, even when the OpenShift build fails. Then buildContainer checks if the build was successful, which is its only interaction with OpenShift.

Can the check be moved to createContainer so that it's marked as failed when the build fails? The current behaviour is a bit confusing.

Furthermore, if only one of those tasks interacted with OpenShift it would unbreak the use case where koji builders in single channel talk to different OpenShift instances.

Related to #8.