v0.37.0
版本发布时间: 2022-06-22 05:19:05
tektoncd/pipeline最新发布版本:v0.63.0(2024-08-31 02:58:24)
🎉 TaskRun Matrices, Indexing of Array Results and many fixes and improvements! 🎉
-Docs @ v0.37.0 -Examples @ v0.37.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.37.0/release.yaml
Attestation
The Rekor UUID for this release is c0d23d6ad406973f9559f3ba2d1ca01f84147d8ffc5b8445c224f98b9591801d
🚨 There is a temporary issue with Rekor, which means the attestation cannot be retrieved from Rekor right now. The attestation is available in the OCI registry 🚨
Obtain the attestation:
cosign download attestation gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/controller@sha256:2a5239e0e458134870db8541008f358618a35d24247044a0041ab9ecb9ab2413 | jq -r .payload | base64 -D | jq .
Upgrade Notices
-
🚨 Action required: Deprecated
Conditions
has been removed. Existing pipelines usingConditions
will need to be updated. -
⚠️ The nightly git-init base image is no longer build, it is deprecated in favor of ghcr.io/distroless/git.
Changes
Features
- :sparkles: TEP-0090: Fan Out (#4990)
A PipelineTask
with a Matrix
is fanned out into parallel TaskRuns
which are executed in parallel.
- :sparkles: Complete implementation of image pull failure handling (#4952)
The TaskRunImagePullFailed logic now covers sidecars, and the error message includes the step name and the image
- :sparkles: TEP-0090: Matrix - Concurrency Control (#4947)
The default maximum count of TaskRuns
or Runs
from a given Matrix
is 256. Users can configure this value for their installations.
-
:sparkles: TEP-0090: Add Matrix Package (#4934)
-
:sparkles: [TEP-0076]Support Results Array Indexing (#4911)
Support indexing array results substitution as an alpha feature.
A task can specify a type to produce array result, such as:
results: - name: array-results type: array description: The array results
And the task script can populate result in an array form with:
echo -n "["hello","world"]" | tee $(results.array-results.path)
and we can refer to the array results elements via index in param like: params: - name: foo value: "$(tasks.task1.results.array-results[1])"
This feature is part of the TEP-0076.
-
:sparkles: [TEP-0075] Validate task result variable of object type (#4878)
-
:sparkles: [TEP-0075] Validate against using the whole object in task steps (#4861)
-
:sparkles: TEP-0090: Matrix - Implement
isRunning
(#4981) -
:sparkles: TEP-0090: Matrix - Implement
isSuccessful
(#4980) -
:sparkles: TEP-0090: Failure Strategies - Remove Fail Fast (#4972)
-
:sparkles: TEP-0090: Get Names of
TaskRuns
(#4958) -
:sparkles: TEP-0090: Add
TaskRuns
toResolvedPipelineRunTask
and implementisFailure
(#4951) -
:sparkles: TEP-0090: Indicate Resolved PipelineRunTask is Matrixed (#4945)
-
:sparkles: TEP-0090: Split up ResolvePipelineRunTask (#4943)
Backwards incompatible changes
In current release:
- :rotating_light: Remove deprecated field. (#4988)
Removes deprecated PipelineRun.Spec.ServiceAccountNames
field; use PipelineRun.Spec.TaskRunSpecs
instead.
- :rotating_light: Remove deprecated field (#4977)
Removes deprecated TaskRun.Status.ResourceResults.ResourceRef
field; use TaskRun.Status.ResourceResults.ResourceName
instead.
- :rotating_light: Remove deprecated Conditions CRD/functionality (#4942)
action required: Deprecated conditions
in pipelines removed. Existing pipelines using conditions
will need to be updated.
Fixes
- :bug: LimitRange calculation should only split Requests for Step Containers (#4996)
Only use step containers for limitrange default request calculations
- :bug: Validation for invalid Task Result expressions in Pipeline Result (#4956)
Fixed a bug where invalid expressions were not invalidated in Pipeline Results
.
- :bug: Validation for Task Result expressions in Pipeline Result (#4941)
Fixed a bug where static strings where not invalidated in Pipeline Results
.
-
:bug: Cleanup: remove potential goroutine leakages in taskrun (#4936)
-
:bug: Terminate TaskRun when Pod fails due to ImagePullBackOff. (#4921)
-
:bug: Assume task not skipped if the run is associated (#4583)
Fixes controller with the high value of ThreadsPerController
to report the correct status of PipelineRun, which contains Finally tasks.
Misc
-
:hammer: TEP-0090: Refactor GetChildReferences (#4940)
-
:hammer: TEP-0090: Refactor GetTaskRunsStatus (#4939)
-
:hammer: TEP-0090: Refactor ResolvePipelineRunTask (#4938)
-
:hammer: Clean up the git-init base Dockerfile and Task. (#4765)
The nightly git-init base image is no longer build, it is deprecated in favor of ghcr.io/distroless/git.
-
:hammer: Add dependabot config. (#4915)
-
:hammer: Fix test cases for validatePipelineParameterVariables function (#4901)
-
:hammer: Use informer for pod get/list instead of talking to API server. (#4740)
Use informer instead of API server for Pod Get/List.
- :hammer: Fix typo in embedded statuses listing in alpha features (#4995)
- :hammer: Add details to
isFailure
docstring (#4970) - :hammer: Sort slice of
TaskRunNames
in tests (#4969) - :hammer:
TaskRunName
is not used ingetTaskRunStatus
(#4967) - :hammer: GetTaskRunName/GetRunName: Use constants to check Kind (#4959)
- :hammer: Clarify naming in resolution tests (#4950)
- :hammer: Unexport RPRT member functions used within resources pkg only (#4949)
- :hammer: Remove
Conditions
from deprecations table (#4946) - :hammer: Fix the release pipeline (#5004)
- :hammer: Add wlynch to entrypoint OWNERS (#4999)
- :hammer: Add the release-note-none to dependabot (#4997)
- :hammer: Propagated
Parameters
replaced ImplicitParameters
(#4994) - :hammer:
PipelineRun
timeouts is in Beta (#4993) - :hammer: Add Andrew Bayer as a Pipeline Maintainer (Welcome Back!) (#4991)
- :hammer: Test
isRunning
(#4975) - :hammer: Test
isSuccessful
(#4974) - :hammer:
isFailure
includesisCancelled
(#4973) - :hammer: dependabot: remove vendor keys (#4948)
- :hammer: Fix TestTaskRunRetry for k8s 1.22.9 and later (#4944)
- :hammer: Add label dependabot PRs ok-to-test… (#4935)
- :hammer: tekton: remove build-base-image from pipeline (#4932)
- :hammer: .github: update pull-request template (#4929)
- :hammer: Add tests for failing remote resolution of Pipelines and Tasks (#4886)
- :hammer: Remove duplicate code for validating params types and defaults (#4872)
- :hammer: [TEP-0075] Extract out the validation of object keys (#4867)
Docs
- :book: Add local private registry setup doc with kind (#4606)
Thanks
Thanks to these contributors who contributed to v0.37.0!
- :heart: @SaschaSchwarze0
- :heart: @Yongxuanzhang
- :heart: @abayer
- :heart: @afrittoli
- :heart: @chitrangpatel
- :heart: @chuangw6
- :heart: @devholic
- :heart: @jerop
- :heart: @kerthcet
- :heart: @lbernick
- :heart: @mattmoor
- :heart: @skaegi
- :heart: @vaikas
- :heart: @vdemeester
- :heart: @vsinghai
- :heart: @wlynch
Extra shout-out for awesome release notes:
- :heart_eyes: @SaschaSchwarze0
- :heart_eyes: @Yongxuanzhang
- :heart_eyes: @abayer
- :heart_eyes: @chitrangpatel
- :heart_eyes: @chuangw6
- :heart_eyes: @devholic
- :heart_eyes: @jerop
- :heart_eyes: @kerthcet
- :heart_eyes: @mattmoor
- :heart_eyes: @skaegi
- :heart_eyes: @vaikas
- :heart_eyes: @vsinghai
- :heart_eyes: @wlynch
1、 release.notags.yaml 78.09KB
2、 release.yaml 78.16KB