tektoncd/pipeline

Should it be possible to create a `Pipeline` without any `Task` ?

Offen

#7.375 geöffnet am 16.11.2023

 (4 Kommentare) (1 Reaktion) (1 zugewiesene Person)Go (1.943 Forks)auto 404
area/apigood first issuehelp wantedkind/question

Repository-Metriken

Stars
 (9.013 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 9T 3h) (137 gemergte PRs in 30 T)

Beschreibung

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 ?

Contributor Guide