-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
FR: Allow pipeline resources to be declared as optional #1710
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
Comments
3 tasks
/assign pritidesai |
/kind feature |
tekton-robot
added
the
kind/feature
Categorizes issue or PR as related to a new feature.
label
Dec 10, 2019
ghost
mentioned this issue
Dec 10, 2019
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Dec 19, 2019
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduced a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Dec 19, 2019
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduced a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Dec 19, 2019
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduced a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Dec 19, 2019
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduced a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Dec 19, 2019
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduced a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 6, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 15, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineTaskInputResource and PipelineTaskOutputResource by default a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: inputs: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 21, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 21, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
3 tasks
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 21, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 21, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 22, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 23, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
pritidesai
added a commit
to pritidesai/pipeline
that referenced
this issue
Jan 23, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR tektoncd#1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes tektoncd#1710
tekton-robot
pushed a commit
that referenced
this issue
Feb 3, 2020
Pipeline inputs and outputs are considered required, there is no way today to mark them optional. This change introduces a new field called optional as part of the PipelineDeclaredResource similar to previous PR #1601, by default optional is set to false and a resource is required. To mark any resource optional, set optional to true: apiVersion: tekton.dev/v1alpha1 kind: Pipeline metadata: name: pipeline-build-image spec: resources: - name: workspace type: git optional: true tasks: - name: check-workspace Closes #1710
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
We have an issue (#812) and PR (#1601) to allow
Task
authors to declare resources as optional. We need the same support forPipeline
authors.Actual Behavior
Resources can not be declared as optional in a
Pipeline
.The text was updated successfully, but these errors were encountered: