diff --git a/docs/pipeline-api.md b/docs/pipeline-api.md index 9f003a59f47..03a2600b863 100644 --- a/docs/pipeline-api.md +++ b/docs/pipeline-api.md @@ -1323,12 +1323,12 @@ string

Combination (map[string]string alias)

-

Combination holds a single combination from a Matrix with key as param.Name and value as param.Value

+

Combination is a map, mainly defined to hold a single combination from a Matrix with key as param.Name and value as param.Value

Combinations ([]github.com/tektoncd/pipeline/pkg/apis/pipeline/v1.Combination alias)

-

Combinations holds a list of combination for a given Matrix

+

Combinations is a list of combinations

ConfigSource

@@ -8189,12 +8189,12 @@ int32

Combination (map[string]string alias)

-

Combination holds a single combination from a Matrix with key as param.Name and value as param.Value

+

Combination is a map, mainly defined to hold a single combination from a Matrix with key as param.Name and value as param.Value

Combinations ([]github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1.Combination alias)

-

Combinations holds a list of combination for a given Matrix

+

Combinations is a list of combination

ConfigSource

@@ -8968,7 +8968,11 @@ feature gate is enabled.

(Appears on:TaskRunStatusFields)

-

PipelineResourceResult used to export the image name and digest as json

+

PipelineResourceResult is used to write key/value pairs to TaskRun pod termination messages. +The key/value pairs may come from the entrypoint binary, or represent a TaskRunResult. +If they represent a TaskRunResult, the key is the name of the result and the value is the +JSON-serialized value of the result. +TODO(#6197): Rename this struct

@@ -9006,6 +9010,8 @@ string diff --git a/hack/verify-codegen.sh b/hack/verify-codegen.sh index e91c2915408..c0e9c0eb9cd 100755 --- a/hack/verify-codegen.sh +++ b/hack/verify-codegen.sh @@ -37,15 +37,20 @@ cp -aR "${REPO_ROOT_DIR}/pkg" "${TMP_DIFFROOT}" mkdir -p "${TMP_DIFFROOT}/vendor" cp -aR "${REPO_ROOT_DIR}/vendor" "${TMP_DIFFROOT}" +mkdir -p "${TMP_DIFFROOT}/docs" +cp -aR "${REPO_ROOT_DIR}/docs" "${TMP_DIFFROOT}" + "${REPO_ROOT_DIR}/hack/update-codegen.sh" echo "Diffing ${REPO_ROOT_DIR} against freshly generated codegen" ret=0 diff -Naupr "${REPO_ROOT_DIR}/pkg" "${TMP_DIFFROOT}/pkg" || ret=1 diff -Naupr "${REPO_ROOT_DIR}/vendor" "${TMP_DIFFROOT}/vendor" || ret=1 +diff -Naupr "${REPO_ROOT_DIR}/docs/pipeline-api.md" "${TMP_DIFFROOT}/docs/pipeline-api.md" || ret=1 # Restore working tree state rm -fr "${REPO_ROOT_DIR}/pkg" rm -fr "${REPO_ROOT_DIR}/vendor" +rm -fr "${REPO_ROOT_DIR}/docs" cp -aR "${TMP_DIFFROOT}"/* "${REPO_ROOT_DIR}" if [[ $ret -eq 0 ]]
+

ResourceName may be used in tests, but it is not populated in termination messages. +It is preserved here for backwards compatibility and will not be ported to v1.