Tekton Pipeline release v0.52.0 "California Spangled Optimus"
π Task and Pipeline Resolver Metrics, API Specifications for pipelines-in-pipelines π
-Docs @ v0.52.0
-Examples @ v0.52.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.52.0/release.yaml
Attestation
The Rekor UUID for this release is 24296fb24b8ad77aede6ff3c84da87cdeda75e9dcf779abc736bf5423b8a4151bad8193f0c76dd15
Obtain the attestation:
REKOR_UUID=24296fb24b8ad77aede6ff3c84da87cdeda75e9dcf779abc736bf5423b8a4151bad8193f0c76dd15
rekor-cli get --uuid $REKOR_UUID --format json | jq -r .Attestation | jq .
Verify that all container images in the attestation are in the release file:
RELEASE_FILE=https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.52.0/release.yaml
REKOR_UUID=24296fb24b8ad77aede6ff3c84da87cdeda75e9dcf779abc736bf5423b8a4151bad8193f0c76dd15
# Obtains the list of images with sha from the attestation
REKOR_ATTESTATION_IMAGES=$(rekor-cli get --uuid "$REKOR_UUID" --format json | jq -r .Attestation | jq -r '.subject[]|.name + ":v0.52.0@sha256:" + .digest.sha256')
# Download the release file
curl "$RELEASE_FILE" > release.yaml
# For each image in the attestation, match it to the release file
for image in $REKOR_ATTESTATION_IMAGES; do
printf $image; grep -q $image release.yaml && echo " ===> ok" || echo " ===> no match";
done
Changes
Features
- β¨ Add taskrun/pipelinerun gauge metrics around resolving respective tasks/pipelines (#7094)
New gauge metrics are introduced that count the number of TaskRuns waiting for resolution of any Tasks they reference, as well as count the number of PipelineRuns waiting on Pipeline resolution, and lastly count the number of PipelineRuns waiting on Task resolution for their underlying TaskRuns.
- β¨ [TEP-0056]: Initial set of API refactors pertinent to Pipelines in Pipelines (#7055)
Added PipelineRef and PipelineSpec fields to PipelineTask, in lieu of TEP-0056
Fixes
- π fix: clean results when taskrun retries (#7126)
The taskrun will clean up the last task results before retrying.
- π Validate beta features for inline pipelines and tasks (#7079)
Bug fix: validate beta features in inline tasks/pipelines in the same way as referenced tasks/pipelines
- π Remove results annotations filtering (#7108)
- π fix an issue with
InvalidMatrixParameterTypes
along with updating the matrix example with additional validations (#7064)
Misc
- π¨ Add configmap for tracing config (#6897)
Tracing endpoint configuration is now moved from environment variable to the configmap config-tracing
. Tracing can be now configured dynamically without needing to restart the controller. Refer the example configuration provided as part of the ConfigMap for the configuration options and format.
- π¨ Clean up getting substitution expressions (#7121)
- π¨ DEVELOPMENT: missing newline escape on shell example (#7107)
- π¨ Cleanup: Move PipelineRun Reasons to pkg/apis (#7102)
- π¨ cleaning up provenance from pipelineRun (#7091)
- π¨ eventForObjectWithCondition -> EventForObjectWithCondition (#7052)
- π¨ remove GetUnsignedPipeline helper function and use var in each file (#6800)
- π¨ Bump github.com/containerd/containerd from 1.7.3 to 1.7.6 (#7130)
- π¨ Bump github.com/spiffe/spire-api-sdk from 1.7.1 to 1.7.2 (#7129)
- π¨ Bump k8s.io/apimachinery from 0.27.1 to 0.27.6 in /test/custom-task-ctrls/wait-task-beta (#7119)
- π¨ Bump k8s.io/client-go from 0.27.1 to 0.27.6 in /test/custom-task-ctrls/wait-task-beta (#7118)
- π¨ Bump k8s.io/api from 0.27.1 to 0.27.6 in /test/custom-task-ctrls/wait-task-beta (#7117)
- π¨ Bump k8s.io/api from 0.26.7 to 0.26.9 in /test/custom-task-ctrls/wait-task-beta (#7114)
- π¨ Bump k8s.io/client-go from 0.25.11 to 0.25.14 in /test/custom-task-ctrls/wait-task-beta (#7112)
- π¨ Bump google.golang.org/grpc from 1.56.2 to 1.58.1 (#7111)
- π¨ Bump github.com/jenkins-x/go-scm from 1.13.13 to 1.14.14 (#7089)
- π¨ Bump github.com/sigstore/sigstore from 1.7.1 to 1.7.3 (#7087)
- π¨ Bump github.com/tektoncd/pipeline from 0.49.0 to 0.51.0 in /test/custom-task-ctrls/wait-task-beta (#7061)
- π¨ Bump google.golang.org/protobuf from 1.30.0 to 1.31.0 (#6913)
Docs
- π add docs for emitting object results (#7120)
- π fix docs and add max-result-size optional feature flag (#7110)
- π Fix the link to alpha-features in docs (#7075)
Thanks
Thanks to these contributors who contributed to v0.52.0!
- β€οΈ @Yongxuanzhang
- β€οΈ @bhujangr
- β€οΈ @cugykw
- β€οΈ @dependabot[bot]
- β€οΈ @gabemontero
- β€οΈ @jerop
- β€οΈ @khrm
- β€οΈ @kmjayadeep
- β€οΈ @lbernick
- β€οΈ @lvnvn
- β€οΈ @melnikalex
- β€οΈ @pritidesai
- β€οΈ @vbatts
Extra shout-out for awesome release notes:
- π @bhujangr
- π @cugykw
- π @gabemontero
- π @kmjayadeep
- π @lbernick