tektoncd/pipeline
Should it be possible to create a `Pipeline` without any `Task` ?
Aperta
#7375 aperta il 16 nov 2023
area/apigood first issuehelp wantedkind/question
Metriche repository
- Star
- (9013 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Given the following Pipeline, should it fail to create or succeed ? It is documented that tasks are required, so possible, it should fail to create. As of today, it does not.
apiVersion: tekton.dev/v1beta1
kind: Pipeline
metadata:
name: testing
namespace: default
spec:
params:
- name: abc
type: string
- description: ku
name: abc1
type: string
A follow-up question is: A Pipeline with no Task but one or more finally Task, should it fail to create or succeed ?