-
Notifications
You must be signed in to change notification settings - Fork 250
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
Embed pipeline in pipelinerun on start #726
Comments
/kind feature I think it would be good to talk about it at the tuesday meeting.. |
This sounds very similar to what exists for TaskRuns, but its use case is for a different purpose. There is a |
I am 👍 on this. As @sthaha asked during the WG, maybe we could even embedded the
@siamaksade what do you think ? |
That is very useful. Would make |
I think this can be closed because of tektoncd/pipeline#2489 and tektoncd/pipeline#2444. |
When a pipelinerun references a pipeline and the pipeline definition changes after pipelinerun execution, it's impossible to know how the pipeline looked like at the time when pipelinerun was started. Specially when the pipelinerun fails.
Embedding the pipeline via
pipelineSpec
in the pipelnerun when starting pipelines viatkn p start
would eliminate this problem and shows the exact pipeline definition at the exact time when the pipeline run was executed.This behavior could be the default behaviour but allow for a user to enforce referencing a pipeline via a flag e.g.
-force-pipeline-ref
, if there is a use-case for it.The text was updated successfully, but these errors were encountered: