github tektoncd/pipeline v0.52.0
Tekton Pipeline release v0.52.0 "California Spangled Optimus"

latest releases: v0.65.1, v0.62.5, v0.65.0...
13 months ago

🎉 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:

Don't miss a new pipeline release

NewReleases is sending notifications on new releases.