tektoncd/pipeline

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

Aberta

#7.375 aberto em 16 de nov. de 2023

 (4 comentários) (1 reação) (1 responsável)Go (1.943 forks)auto 404
area/apigood first issuehelp wantedkind/question

Métricas do repositório

Stars
 (9.013 estrelas)
Métricas de merge de PR
 (Mesclagem média 9d 3h) (137 fundiu PRs em 30d)

Description

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 ?

Guia do colaborador