Skip to content

Chains support for CustomRuns #1210

@bennett-white

Description

@bennett-white

Not sure if this would be considered a bug or feature request.

Currently, Chains will not process on pipelines that contain CustomRuns. If this is not supported by design, I could not find any documentation on the subject. Ideally, this is either supported or documented.

The pipelines I am working with use CustomRuns to set github commit statuses. After implementing Tekton Chains, my pipelines without these CustomRuns are processed properly, but those with them produce the error Unable to get reconciled status of taskrun <customrun task name> within pipelinerun in the chains-controller.

Notes for consideration:
SLSA L2 requires isolated builds. So I do not think CustomRuns would satisfy this requirement due to logic typically running in the same pod. However, I think I could make the argument that in my use case, the CustomRun is not part of the "build pipeline".

SLSA L1, on the other hand, requires provenance and I think Chains should be able to provide that for all types of Runs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/roadmapIssues that are part of the project (or organization) roadmap (usually an epic)

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions