Skip to content

Pipeline start creates only one resource #456

@siamaksade

Description

@siamaksade

The following pipeline has 2 resources one of type git and another image but the start flow skips the image resource and starts the pipeline immediately after creating the git resource, which causes the pipelinerun to fail with missing resources:

$ tkn pipeline start petclinic-s2i-pipeline
no pipeline resource of type "git" found in namespace: pipelines-demo
please create new "git" resource
? Enter a name for a pipeline resource : petclinic-git
? Enter a value for url :  https://github.com/spring-projects/spring-petclinic
? Enter a value for revision :
New git resource "petclinic-git" has been created
resource status {}

Pipelinerun started: petclinic-s2i-pipeline-run-5bkp4
Showing logs...
PipelineRun pipelines-demo/petclinic-s2i-pipeline-run-5bkp4 doesn't bind Pipeline pipelines-demo/petclinic-s2i-pipeline's PipelineResources correctly: PipelineRun bound resources didn't match Pipeline: Didn't provide required values: [app-image]

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions