Skip to content

TEP-0056: Pipelines in Pipelines. Timeout propagation to child PipelineRuns. #10178

Description

@twoGiants

Feature request

Propagate timeouts from the parent PipelineRun to child PipelineRuns. Currently, per-PipelineTask timeout is not applied to the child PipelineRun. The child runs with its own default timeouts.

This includes:

  • Map PipelineTask.timeout to timeouts.pipeline on the child PipelineRun
  • Update docs/pipelines-in-pipelines.md known limitations section and documentation

See TEP-0056: Timeouts.

Use case

A parent Pipeline needs to enforce a time limit on a child Pipeline that runs integration tests:

tasks:
  - name: integration-tests
    timeout: "0h30m0s"
    pipelineRef:
      name: integration-test-pipeline

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/featureCategorizes issue or PR as related to a new feature.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions