v0.43.0
版本发布时间: 2022-12-22 22:26:02
tektoncd/pipeline最新发布版本:v0.63.0(2024-08-31 02:58:24)
🎉 Larger Results, Custom Tasks Beta, V1 CRDs, Improved Retries, and Environment Variables in PodTemplate 🎉
-Docs @ v0.43.0 -Examples @ v0.43.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.43.0/release.yaml
Attestation
The Rekor UUID for this release is 24296fb24b8ad77ab5c2fccf5d8344332332d06ae5cc99d8daa86744b122e3a4a875b8842315d884
Obtain the attestation:
REKOR_UUID=24296fb24b8ad77ab5c2fccf5d8344332332d06ae5cc99d8daa86744b122e3a4a875b8842315d884
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.43.0/release.yaml
REKOR_UUID=24296fb24b8ad77ab5c2fccf5d8344332332d06ae5cc99d8daa86744b122e3a4a875b8842315d884
# 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.43.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
-
:sparkles: TEP-0127-: Larger results using sidecar logs - Always enforce ReservedSidecarName validation (#5877) Always enforce ReservedSidecarName validation check regardless of what the
results-from
feature flag is set to. -
:sparkles: TEP-0114: Enable Custom Tasks in Pipelines by Default (#5858) Custom Tasks in Pipelines are enabled by default. To disable, set
enable-custom-tasks
feature flag"false"
. -
:sparkles: TEP-0121: Adds a new field for TaskRun (#5842) API change: new
Retries
field inv1beta1.TaskRun
andv1.TaskRun
. -
:sparkles: TEP-0127: Larger results using sidecar logs - parsing sidecar logs to extract results (#5840) Parsing sidecar logs to extract results into the task run CRD.
-
:sparkles: TEP-0127: make stdout and stderror paths readable (#5838) Make stdout and stderr files readable by all.
-
:sparkles: TEP-0127: Larger results using sidecar logs - entrypoint, sidecar binary and injecting results sidecar (#5834) Implemented sidecar binary and entrypoint related changes.
-
:sparkles: TEP-0114: Add support for PipelineRun reconciler to create CustomRuns (#5832) Custom task runs created from PipelineRuns can now be v1beta1.CustomRuns instead of v1alpha1.Runs, if the "custom-task-version" feature flag is set to "v1beta1", instead of the default "v1alpha1". Note that custom task controllers would need to be updated to listen for *v1beta1.CustomRun instead of *v1alpha1.Run in order to respond to v1beta1.CustomRuns.
-
:sparkles: TEP-0127: Larger results using sidecar logs - feature flags and cluster-roles (#5828) Implemented feature flags to enable larger results using sidecar logs.
-
:sparkles: [TEP-0091] Add VerificationPolicy types to configure public keys (#5714) VerificationPolicy is added as a v1alpha1 type to enable users to config public keys for trusted resources. Please refer to https://github.com/tektoncd/pipeline/blob/main/docs/trusted-resources.md for more details
-
:sparkles: TEP-0101 PodTemplate should support environment variables. (#5699) PodTemplate can be used to update environment variables globally as well as PipelineRun and TaskRun level. Added new configuration option default-forbidden-env to disallow specified environment variables from being updated via podTemplate.
-
:sparkles: TEP-0127: Larger results using sidecar logs: Validation, documentation and examples (#5695) Admission webhook validation to ensure that the reserved sidecar name is not used by the user, user documentation and larger results TaskRun and PipelineRun examples.
-
:sparkles: Add a PipelineRun Example for Creating a Wait CustomRun (#5906)
-
:sparkles: TEP-0121: Retries - Reconciler Implementation (#5844)
-
:sparkles: TEP-0114: Migrate the testing Wait Task to reconcile on v1beta1.CustomRun (#5815)
Fixes
-
:bug: string results that can be parsed as json should not fail (#5814)
Task can emit string type results that can be parsed as json.
-
:bug: Fix apiVersion assignment in ChildReference Conversion (#5854)
-
:bug: TEP-0121: Modify metrics recorder for TaskRun Retries (#5853)
-
:bug: Add v1 clients for examples_test (#5799)
-
:bug: Add PipelineRunStatus Conversion (#5797)
-
:bug: ref: prompt for specific error fields (#5682)
Misc
-
:hammer: TEP-0127: Larger Results via Sidecar Logs - Cleanup (#5843) Moved config to enable access to sidecar logs into a different folder.
-
:hammer: TEP-0114: Add FilterFuncs for CustomRun (#5822) Add FilterFuncs for custom task controllers using CustomRuns
-
:hammer: Change all ducktype status to v1 (#5809) API changes: swap all duckv1beta1 status to duckv1 status
-
:hammer: V1 CRD release (#5579) Releases v1 CRD for task, taskrun, pipeline and pipelinerun. Served v1 CRDs are included in this release for users as a preview, and also for users to start preparing for the migration. v1 is served but CLI, Dashboard, Chains etc support won't be available until the following release. v1 will be the official version starting with the next release when it has been released as the storage version.
-
:hammer: Fix Wrong Condition Reason When Fails to Stop Sidecars for A Finished TaskRun (#5901)
-
:hammer: Sorted linters -- because neatness counts. (#5898)
-
:hammer: [pkg/remote] clean up ioutil (#5895)
-
:hammer: Enabled the
whitespace
linter. (#5889) -
:hammer: [pkg/termination] cleanup io/ioutil (#5885)
-
:hammer: Replaced
deadcode
linter withunused
linter. (#5881) -
:hammer: [pkg/pullrequest] cleanup ioutil for new go version (#5880)
-
:hammer: [pkg/credentials] clean up io/ioutil package (#5879)
-
:hammer: [pkg/entrypoint] remove ioutil for new go version (#5878)
-
:hammer: Stop Metric Recorder Listing TaskRuns When Records Data (#5876)
-
:hammer: Added govet to our Golang linter suite (#5871)
-
:hammer: Increases Test Coverage on GetSkippedTasks() (#5856)
-
:hammer: Align the naming when referring to a TaskRun in comments in taskrun_types.go (#5847)
-
:hammer: Remove return error in GetTaskFunc and GetPipelineFunc (#5826)
-
:hammer: Refactor events to decouple k8s event and cloud event (#5817)
-
:hammer: Bump github.com/containerd/containerd from 1.6.12 to 1.6.14 (#5908)
-
:hammer: Bump github.com/jenkins-x/go-scm from 1.11.35 to 1.12.3 (#5905)
-
:hammer: Bump github.com/containerd/containerd from 1.6.10 to 1.6.12 (#5855)
-
:hammer: Bump golang.org/x/crypto from 0.3.0 to 0.4.0 (#5845)
-
:hammer: Bump golang.org/x/oauth2 from 0.2.0 to 0.3.0 (#5839)
-
:hammer: Add embedded-status to config-feature-flags.yaml (#5825)
-
:hammer: Bump go.uber.org/zap from 1.23.0 to 1.24.0 (#5816)
-
:hammer: Add TaskRunStatus Conversion (#5794)
-
:hammer: Bump github.com/sigstore/sigstore from 1.4.5 to 1.4.6 (#5792)
-
:hammer: Bump google.golang.org/grpc from 1.50.1 to 1.51.0 (#5774)
-
:hammer: Skip TestGitResolver_API on other archs (#5713)
-
:hammer: [test] clean up io/ioutil package (#5894)
Docs
-
:book: Update releases for v0.42.0 (#5789) Update releases file for v0.42.0
-
:book: Fix typo (#5787) Fix typo
-
:book: docs: fixing wrong matrix syntax in some places (#5911)
-
:book: Added documentation for local golangci-lint use. (#5900)
-
:book: TEP-0127: Add "Larger Results via Sidecar Logs" to alpha features (#5888)
-
:book: fix errant backtick in TOC link (#5860)
-
:book: TEP-0114: Migration Doc for Custom Task Beta Promotion (#5850)
-
:book: Add TaskRuns and Runs Status migration deprecation fields (#5811)
-
:book: TEP-0114: Clarify that
CustomRun
is the beta version ofRun
(#5801)
Thanks
Thanks to these contributors who contributed to v0.43.0!
- :heart: @HonkingGoose
- :heart: @JeromeJu
- :heart: @ScrapCodes
- :heart: @XinruZhang
- :heart: @Yongxuanzhang
- :heart: @abayer
- :heart: @bendory
- :heart: @chitrangpatel
- :heart: @cugykw
- :heart: @dependabot[bot]
- :heart: @dlbewley
- :heart: @jerop
- :heart: @my-git9
- :heart: @pritidesai
- :heart: @vdemeester
Extra shout-out for awesome release notes:
- :heart_eyes: @HonkingGoose
- :heart_eyes: @JeromeJu
- :heart_eyes: @ScrapCodes
- :heart_eyes: @XinruZhang
- :heart_eyes: @Yongxuanzhang
- :heart_eyes: @abayer
- :heart_eyes: @chitrangpatel
- :heart_eyes: @jerop
- :heart_eyes: @pritidesai
1、 release.notags.yaml 108.62KB
2、 release.yaml 108.71KB