-
Notifications
You must be signed in to change notification settings - Fork 121
Webhooks extension PipelineRun sometimes doesn't have PipelineResources ready in time #240
Comments
Can't reproduce this in 30 webhook push events 🤔 suggesting this not hold up our upcoming release but something we should certainly look into (I'm using a particularly slow OpenShift cluster as I believe @dibbles was when importing resources and noticed this problem) |
Can't reproduce this despite valiant efforts - if someone can please reopen this 😄 |
Asked about this in Slack, @dibyom mentioned tektoncd/pipeline#1324 as a potential solution and Andrew's noticed this too for Jenkins X happening I'm gonna reopen this |
/assign |
@ncskier yep |
We don't have |
Fixes tektoncd#240 PR tektoncd/pipeline#1324 makes it possible to embed PipelineResourceSpecs into a PipelineRun. This PR updates our PipelineRuns and TaskRuns to use an embedded PipelineResourceSpec. So, we will no longer encounter race conditions between the PipelineResources and PipelineRun/TaskRun. The Gopkg.toml file was updated to use revision 8871979dfc08fb65ae544c6ad2de83f8bab617b0 of tektoncd/pipeline, so we can ensure PR 1324 will be available.
PR ready, but holding on this issue. See this comment. |
Closing this off, we now run Trigger templated code through our managed EventListener, we could update our pipeline examples in the hotel (embedding the resource in the PipelineRun spec) but that's completely separate from this really and can be done whenever we like, closing |
Expected Behavior
PipelineRuns should be reliably constructed and kicked off
Actual Behavior
Suffers from tektoncd/dashboard#469 also, it's not 100% of the time though (committed again and I didn't see the issue)
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: