Tekton Pipeline release v0.54.0 "Korat Bender"
π Reusable Steps via StepActions, Param Enums, HTTP Resolver! π
-Docs @ v0.54.0
-Examples @ v0.54.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.54.0/release.yaml
Attestation
The Rekor UUID for this release is 24296fb24b8ad77a6a820444f8789f9b68835a66c6c0ad3cecabee051b9af0c824b04baf1b57433c
Obtain the attestation:
REKOR_UUID=24296fb24b8ad77a6a820444f8789f9b68835a66c6c0ad3cecabee051b9af0c824b04baf1b57433c
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.54.0/release.yaml
REKOR_UUID=24296fb24b8ad77a6a820444f8789f9b68835a66c6c0ad3cecabee051b9af0c824b04baf1b57433c
# 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.54.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
-
β¨ TEP-0142: Surface step results via sidecar logs (#7414)
Surface step results via sidecar logs
-
β¨ TEP-0142: Introduce StepResults in Steps, StepActions (#7382)
Introduce StepResults in Steps for StepAction's Result storage.
-
β¨ TEP-0142: Surface step results via termination message (#7349)
Surface step results via termination message
-
β¨ TEP-0142: Introduce Value in TaskResults (#7347)
StepActions: Introduce Value in TaskResults
-
β¨ [TEP-0142] Add VolumeMounts to StepAction (#7340)
Users can define VolumeMounts in StepAction, the VolumeMounts Name should use string param reference to the params passed to the StepAction.
-
β¨ [TEP-0144] Validate PipelineRun for Param Enum (#7338)
Implement Param Enum validation for PipelineRuns. Param Enum is supported per TEP-0144
-
β¨ [TEP-0142] Add SecurityContext (#7337)
Users can declare SecurityContext in StepAction.
-
β¨ TEP-0142: Add support for params between Step and StepActions (#7332)
Completes support for params in StepActions.
-
β¨ [TEP-0144] Validate TaskRun for Param Enum (#7326)
Implement Param Enum validation for TaskRuns
-
β¨ [TEP-0142] Remote Resolution for StepAction (#7321)
Support Remote Resolution for StepAction
-
β¨ TEP-0142: Introduce Params and Results into StepActions CRD (#7317)
Introduces params and results into the StepAction CRD.
-
β¨ Add credentials to HTTP resolver (#7315)
The http resolver supports passing username and password for fetching URLs with basic credentials
-
β¨ [TEP-0144] Add enum API field (#7289)
Add
Enum
API field -
β¨ TEP-0142: Introduce StepAction referencing syntax in Steps (#7284)
Introduces referencing syntax for StepAction in Steps
-
β¨ [TEP-0144] Add feature flag and doc placeholder (#7279)
Add
enable-param-enum
feature flag to gate the use ofParam.Enum
API field -
β¨ TEP-0142: Referencing StepActions in Steps (#7271)
Enables referencing of StepActions in Steps if the feature flag "enable-step-actions: true" is set.
-
β¨ Add a simple HTTP resolver (#7250)
A new HTTP resolver is now available, it will let you resolve a http(s) URL to fetch a task or pipeline from.
-
β¨ Let the user pass a secret via a parameter for SCM API operations when using the git API resolver (#7239)
User are now able to pass a secret referencing token (or a tokenKey) for a SCM operation on the git resolver instead of using the global one from the configmap.
-
β¨ [TEP-0142] Support default resolver for Ref to remote StepAction (#7345)
-
β¨ TEP-0142: Add syntax for providing params to StepActions (#7334)
-
β¨ [TEP-0142] Add ResolverRef to Ref (#7322)
Fixes
-
π change bundle resolver to use secret instead of service account (#7331)
action required: Bundle resolve uses secret to pull bundle Tasks/Pipelines from private registry instead of Service Account. Please update your bundle resolver ref to use secret.
-
π fix: the pr may lose finallyStartTime when pipeline controller is not synchronized to all current state (#7186)
Reset the finallyStartTime field when one or more final tasks have been created and the current finallyStartTime is empty.
-
π fix: panic may occur when calculating the final task timeout waiting time (#7188)
Misc
- π¨ Cleanup v1beta1 reference in pipelinerun reconciler (#7395)
- π¨ fix: move getFeatureFlagsBaseOnAPIFlag from custom_task_test to another file (#7393)
- π¨ chore: pkg import only once (#7348)
- π¨ [TEP-0142] Refactor extractStepActions (#7328)
- π¨ Fix capitalization inconsistency in reconciler (#7318)
- π¨ remove GetUnsignedTask helper function and use var in each file (#6799)
- π¨ Bump k8s.io/client-go from 0.27.7 to 0.27.8 in /test/custom-task-ctrls/wait-task-beta (#7377)
- π¨ Bump github.com/tektoncd/pipeline from 0.53.0 to 0.53.1 in /test/custom-task-ctrls/wait-task-beta (#7368)
- π¨ Use a maintained action for "changed files" (#7364)
- π¨ Replace ubi9/ubi-minimal with busybox image (#7363)
- π¨ Add direnv support with boilerplate (#7344)
- π¨ Bump github.com/spiffe/spire-api-sdk from 1.8.1 to 1.8.4 (#7343)
- π¨ Bump github.com/jenkins-x/go-scm from 1.14.14 to 1.14.20 (#7339)
- π¨ Bump github.com/sigstore/sigstore from 1.7.4 to 1.7.5 (#7311)
- π¨ Bump github.com/tektoncd/pipeline from 0.52.1 to 0.53.0 in /test/custom-task-ctrls/wait-task-beta (#7305)
- π¨ Bump github.com/containerd/containerd from 1.7.7 to 1.7.8 (#7303)
- π¨ removed repeated word how-to-write-a-resolver.md (#7302)
- π¨ Fix git resolver example (#7299)
- π¨ Bump github.com/sigstore/sigstore/pkg/signature/kms/hashivault from 1.7.4 to 1.7.5 (#7288)
- π¨ Bump github.com/golangci/golangci-lint from 1.54.2 to 1.55.1 in /tools (#7283)
- π¨ Bump github.com/go-git/go-git/v5 from 5.9.0 to 5.10.0 (#7281)
- π¨ Bump sigs.k8s.io/yaml from 1.3.0 to 1.4.0 (#7280)
- π¨ Bump github.com/google/cel-go from 0.12.6 to 0.18.1 (#7253)
- π¨ Update ko to go 1.20 in release task (#7341)
- π¨ Disable HTTP/2 by updating knative/pkg (#7324)
Docs
- π Improve migration documentation (#7389)
- π docs: update upper limit for layers in a bundle (#7355)
- π fixed issue #7282 changed broken link from release-pipeline-nightly.yaml to release-pipeline.yaml (#7306)
- π Update release with v0.53.0 LTS (#7301)
Thanks
Thanks to these contributors who contributed to v0.54.0!
- β€οΈ @Dhruval7878
- β€οΈ @Exar04
- β€οΈ @JeromeJu
- β€οΈ @QuanZhang-William
- β€οΈ @Yongxuanzhang
- β€οΈ @afrittoli
- β€οΈ @chitrangpatel
- β€οΈ @chmouel
- β€οΈ @cugykw
- β€οΈ @dependabot[bot]
- β€οΈ @khrm
- β€οΈ @mlschmithorst
- β€οΈ @pratap0007
- β€οΈ @testwill
- β€οΈ @vdemeester
- β€οΈ @vivekBoii
Extra shout-out for awesome release notes:
- π @QuanZhang-William
- π @Yongxuanzhang
- π @chitrangpatel
- π @chmouel
- π @cugykw
- π @khrm