Skip to content

Tekton Pipeline release v0.52.0 "California Spangled Optimus"

Compare
Choose a tag to compare
@tekton-robot tekton-robot released this 20 Sep 21:48

πŸŽ‰ 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!

Extra shout-out for awesome release notes: