MyGit

v0.62.0

tektoncd/pipeline

版本发布时间: 2024-07-26 07:24:17

tektoncd/pipeline最新发布版本:v0.63.0(2024-08-31 02:58:24)

🎉 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 reason in addition to the status using $(tasks.taskName.reason)

Capture Remote StepAction Location in TaskRun Status

Add isBuildArtifact field to Artifacts.

Promote Ignore Task Failure to Beta

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.

Support passing artifacts between tasks in a pipeline

introduce when expressions to steps.

Fixes

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

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

Perform matrix results validation on only result ref params

Improved error string when a param is missing from a PipelineRun

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

Misc

Docs

Thanks

Thanks to these contributors who contributed to v0.62.0!

Extra shout-out for awesome release notes:

相关地址:原始地址 下载(tar) 下载(zip)

1、 release.notags.yaml 129.56KB

2、 release.yaml 129.62KB

查看:2024-07-26发行的版本