-
Notifications
You must be signed in to change notification settings - Fork 112
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
As developer, I'd like to see build spec snapshot for each buildrun #151
Comments
We should have this! |
I also think that's good use-case to tackle. And, we can use |
I had some discussions in kube community: I think it is also a good point:
For this requirement, I also agree that annotation is better:
So I also suggest to use an annotation in buildrun like this:
And also save both build and buildrun as Annotations in generated Tekton taskrun. |
@zhangtbj thanks! I think we have a good plan to implement this feature. :-) |
Hi @sbose78 , BTW, do you also agree to use the annotation (we can define the name as |
Yes! |
BTW: Tekton just did the same for TaskSpec/TaskRun and stored the TaskSpec in |
Hi @SaschaSchwarze0 , an interesting finding, I am not sure why they choose to store the TaskSpec in the status, but Andrea and Simon are all come from IBM. Can you please help ask them in PR or slack to know why they choose the store in the Thanks! |
Putting things in the status is a more strongly typed way of doing things. I would image a Kubernetes or Openshift UI to easy render the corresponding Task that way. Either way, it doesn't hurt us to begin with adding it in an annotation for now. API changes needs to slow and we'll thought out :) |
Hi @sbose78 , Some news. :) I talked with multiple teams and got some feedbacks, that they think status is better for this case:
I talked with @qu1queee and @SaschaSchwarze0 , we agreed to switch to How about you? @sbose78 and @otaviof ? :) Thanks all! |
Let's go for |
This was done already, closing |
So far the design is buildrun CR has buildRef property which refers a build CR. And developer could create multiple buildrun CRs based on one build CR. The problem is developer could update build CR to change configuration in anytime. That means if developer want to check a buildrun status, then developer could not get build information, as build CR may update by someone else already.
Proposal:
@sbose78 @zhangtbj your thought ?
The text was updated successfully, but these errors were encountered: