tektoncd/pipeline

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

开放

#7,375 创建于 2023年11月16日

 (4 条评论) (1 个反应) (1 位负责人)Go (1,943 个派生)auto 404
area/apigood first issuehelp wantedkind/question

仓库指标

星标
 (9,013 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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 ?

贡献者指南