Pipeline definition sanity checks Package
Policies to confirm the Tekton Pipeline definition has the expected kind.
Rules Included
Pipeline definition has expected kind
Confirm that the pipeline definition has the kind "Pipeline".
-
Rule type: FAILURE
-
FAILURE message:
Unexpected kind '%s' for pipeline definition -
Code:
basic.expected_kind
Pipeline definition has expected kind (v2)
Confirm that the pipeline definition has the kind "Pipeline".
-
Rule type: FAILURE
-
FAILURE message:
Unexpected kind '%s' for pipeline definition -
Code:
basic.expected_kind_v2 -
Effective from:
2027-01-11T00:00:00Z
Pipeline definition is an object
Confirm the pipeline definition is a JSON/YAML object.
-
Rule type: FAILURE
-
FAILURE message:
Pipeline definition must be a JSON/YAML object -
Code:
basic.input_format -
Effective from:
2027-01-11T00:00:00Z