knative / build

A Kubernetes-native Build resource.
Apache License 2.0
575 stars 159 forks source link

Can we restart build when the build complete #580

Closed zxDiscovery closed 5 years ago

zxDiscovery commented 5 years ago

Expected Behavior

The knative/build can restart the completed build.

Actual Behavior

I always delete the current complete build and re-apply this build to restart the build in knative.

So I just want to know does the knative/build has the feature to restart the build?

/cc @ImJasonH

shashwathi commented 5 years ago

@zxDiscovery : There is no restart of build. For restart user has to either delete and apply knative/Build or create another Build

zxDiscovery commented 5 years ago

@shashwathi , Thanks. Do we have a plan to do a restart feature for build?

shashwathi commented 5 years ago

@zxDiscovery : I do not think so. cc @ImJasonH

imjasonh commented 5 years ago

No, for now you just have to delete and re-create the build. Pipelines has a plan to enable retries (https://github.com/tektoncd/pipeline/issues/221)