Tekton task build type label checks Package

Policies to verify that a Tekton build task definition has the required build type label.

Package Name

  • build_labels

Rules Included

Build task has build type label

Confirm the build task definition has the required build type label.

  • Rule type: FAILURE

  • FAILURE message: The required build label '%s' is missing

  • Code: build_labels.build_type_label_set

  • Source

Build task has label

Confirm that the build task definition includes at least one label.

  • Rule type: FAILURE

  • FAILURE message: The task definition does not include any labels

  • Code: build_labels.build_task_has_label

  • Source