github tektoncd/pipeline v0.62.0
Tekton Pipeline release v0.62.0 "Birman HAL LTS"

latest releases: v0.65.0, v0.62.4, v0.59.4...
3 months ago

🎉 Ignore Task Failure Promoted and native sidecars adopted with k8s 1.29 🎉

-Docs @ v0.62.0
-Examples @ v0.62.0

Installation one-liner

kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.62.0/release.yaml

Attestation

The Rekor UUID for this release is 24296fb24b8ad77adbcee63512553d756997c4c7efad2e1163023bda8bd9ddecafde859fcb4ebb11

Obtain the attestation:

REKOR_UUID=24296fb24b8ad77adbcee63512553d756997c4c7efad2e1163023bda8bd9ddecafde859fcb4ebb11
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.62.0/release.yaml
REKOR_UUID=24296fb24b8ad77adbcee63512553d756997c4c7efad2e1163023bda8bd9ddecafde859fcb4ebb11

# 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.62.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

  • ✨ access taskRun reason in addition to status in finally task (#8127)

Access reason in addition to the status using $(tasks.taskName.reason)

  • ✨ Capture Remote StepAction Location in TaskRun Status (#8106)

Capture Remote StepAction Location in TaskRun Status

  • ✨ Add isBuildArtifact field to Artifacts (#8103)

Add isBuildArtifact field to Artifacts.

  • ✨ Promote Tasks to beta (#8090)

Promote Ignore Task Failure to Beta

  • ✨ feat(K8s native sidecar): Add support for Kubernetes native Sidecars (#8052)

Introducing a feature to adopt Kubernetes-native sidecars, which designates sidecar containers as initContainers. This prevents the need to pull and replace a nop image, leading to faster termination of the sidecars without unnecessary pod errors. Set enable-kubernetes-sidecar to true for Kubernetes 1.29 and later to take advantage of this feature.

  • ✨ kind/feat: passing artifacts between tasks (#7978)

Support passing artifacts between tasks in a pipeline

  • ✨ feat: introduce when expressions to steps (#7746)

introduce when expressions to steps.

  • ✨ [TEP-0094] Promote taskrun.spec's stepSpecs and sidecarSpecs to beta (#8006)

Fixes

  • 🐛 fix(pipelinerun): block pipelinerun spec updates once the pipelinerun has started (#8149)

Fix: Once a PipelineRun is created, most of the fields in the spec is not allowed to be updated; only status can be updated.

  • 🐛 fix(taskrun): block taskrun spec updates once the taskrun has started (#8147)

Fix: Once a TaskRun is created, most of the fields in the spec is not allowed to be updated; only status and statusMessage can be updated.

  • 🐛 DryRunValidate returns the mutated object (#8108)

DryRunValidate returns the mutated object

  • 🐛 Fix step action force replacing with default param (#8102)

Fix incorrect param type passed to stepaction makes it use default value

  • 🐛 Perform matrix results validation on only result ref params (#8089)

Perform matrix results validation on only result ref params

  • 🐛 Fix error message when a PipelineRun param is missing (#8072)

Improved error string when a param is missing from a PipelineRun

  • 🐛 fix:when debug.breakpoints.onFailure is an empty string, redundant volumes appear (#7788)

debug.breakpoints.onFailure is not allowed to be set to an empty string.

Misc

  • 🔨 Switch the image from docker.io to gcr mirror (#8146)
  • 🔨 Bump github/codeql-action from 3.25.12 to 3.25.13 (#8144)
  • 🔨 Bump step-security/harden-runner from 2.8.1 to 2.9.0 (#8143)
  • 🔨 Bump the all group in /tekton with 2 updates (#8142)
  • 🔨 Bump github.com/containerd/containerd from 1.7.18 to 1.7.20 (#8139)
  • 🔨 Bump k8s.io/client-go from 0.27.15 to 0.27.16 in /test/custom-task-ctrls/wait-task-beta (#8138)
  • 🔨 Bump k8s.io/code-generator from 0.29.6 to 0.29.7 (#8137)
  • 🔨 Bump tekton-releases/dogfooding/koparse from e6641f2 to 0535413 in /tekton in the all group across 1 directory (#8135)
  • 🔨 Bump the all group across 1 directory with 4 updates (#8134)
  • 🔨 use tagged images to take advantage of the least expensive default image pull policy (#8133)
  • 🔨 Bump k8s.io/api from 0.27.15 to 0.27.16 in /test/custom-task-ctrls/wait-task-beta (#8132)
  • 🔨 Bump k8s.io/apimachinery from 0.29.6 to 0.29.7 (#8131)
  • 🔨 Bump actions/dependency-review-action from 4.3.3 to 4.3.4 (#8125)
  • 🔨 Bump github/codeql-action from 3.25.11 to 3.25.12 (#8124)
  • 🔨 Bump actions/upload-artifact from 4.3.3 to 4.3.4 (#8104)
  • 🔨 Released patch release: v0.59.2 (#8098)
  • 🔨 Bump go.opentelemetry.io/otel from 1.27.0 to 1.28.0 (#8092)
  • 🔨 Bump the all group in /tekton with 4 updates (#8087)
  • 🔨 Bump github/codeql-action from 3.25.10 to 3.25.11 (#8085)
  • 🔨 chore: remove unsupported configurations ScopeWhenExpressionsToTask (#8078)
  • 🔨 Create release v0.61.0. (#8077)
  • 🔨 Bump the all group in /tekton with 4 updates (#8075)
  • 🔨 Bump tj-actions/changed-files from 44.5.2 to 44.5.5 (#8074)
  • 🔨 Bump github.com/spiffe/spire-api-sdk from 1.9.6 to 1.10.0 (#8073)
  • 🔨 Using image with "full" reference in tests (#8070)
  • 🔨 Bump github.com/jenkins-x/go-scm from 1.14.34 to 1.14.37 (#8032)
  • 🔨 Correct error message to differentiate the cause (#8027)

Docs

  • 📖 Update min kubernetes version in the install doc (#8122)
  • 📖 document failureIgnored (#8111)
  • 📖 update the doc since the onError is now promoted (#8109)

Thanks

Thanks to these contributors who contributed to v0.62.0!

Extra shout-out for awesome release notes:

Don't miss a new pipeline release

NewReleases is sending notifications on new releases.