shipwright-io / build

Shipwright - a framework for building container images on Kubernetes
https://shipwright.io
Apache License 2.0
639 stars 109 forks source link

Support Git revision in BuildRun status #205

Open zhangtbj opened 4 years ago

zhangtbj commented 4 years ago

We should also store the Git revision in BuildRun status so that the end user can know which commit he used to build image.

There are two options:

So we can discuss which one is better, or any other suggestion?

SaschaSchwarze0 commented 4 years ago

+1 for status where also the output image should go to. The buildSpec.source.revision should be the input that we get from the user through the build cr that he creates. He might have specified a branch name as revision there and we should not confuse him by changing this value.

sbose78 commented 4 years ago

Yes, let's keep it in the status