Tekton Pipeline release v0.37.0 "Foldex Frost" #5010
afrittoli
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🎉 TaskRun Matrices, Indexing of Array Results and many fixes and improvements! 🎉
-Docs @ v0.37.0
-Examples @ v0.37.0
Installation one-liner
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:
Upgrade Notices
🚨 Action required: Deprecated
Conditions
has been removed. Existing pipelines usingConditions
will need to be updated.Changes
Features
TaskRuns
#4990)A
PipelineTask
with aMatrix
is fanned out into parallelTaskRuns
which are executed in parallel.The TaskRunImagePullFailed logic now covers sidecars, and the error message includes the step name and the image
The default maximum count of
TaskRuns
orRuns
from a givenMatrix
is 256. Users can configure this value for their installations.✨ TEP-0090: Add Matrix Package (TEP-0090: Add Matrix Package #4934)
✨ [TEP-0076]Support Results Array Indexing ([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.
✨ [TEP-0075] Validate task result variable of object type ([TEP-0075] Validate task result variable of object type #4878)
✨ [TEP-0075] Validate against using the whole object in task steps ([TEP-0075] Validate against using the whole object in task steps #4861)
✨ TEP-0090: Matrix - Implement
isRunning
(TEP-0090: Matrix - ImplementisRunning
#4981)✨ TEP-0090: Matrix - Implement
isSuccessful
(TEP-0090: Matrix - ImplementisSuccessful
#4980)✨ TEP-0090: Failure Strategies - Remove Fail Fast (TEP-0090: Failure Strategies - Remove Fail Fast #4972)
✨ TEP-0090: Get Names of
TaskRuns
(TEP-0090: Get Names ofTaskRuns
#4958)✨ TEP-0090: Add
TaskRuns
toResolvedPipelineRunTask
and implementisFailure
(TEP-0090: AddTaskRuns
toResolvedPipelineRunTask
and implementisFailure
#4951)✨ TEP-0090: Indicate Resolved PipelineRunTask is Matrixed (TEP-0090: Indicate Resolved PipelineRunTask is Matrixed #4945)
✨ TEP-0090: Split up ResolvePipelineRunTask (TEP-0090: Split up ResolvePipelineRunTask #4943)
Backwards incompatible changes
In current release:
PipelineRun.Spec.ServiceAccountNames
field. #4988)Removes deprecated
PipelineRun.Spec.ServiceAccountNames
field; usePipelineRun.Spec.TaskRunSpecs
instead.TaskRun.Status.ResourceResults.ResourceRef
field #4977)Removes deprecated
TaskRun.Status.ResourceResults.ResourceRef
field; useTaskRun.Status.ResourceResults.ResourceName
instead.action required: Deprecated
conditions
in pipelines removed. Existing pipelines usingconditions
will need to be updated.Fixes
Only use step containers for limitrange default request calculations
Fixed a bug where invalid expressions were not invalidated in
Pipeline Results
.Fixed a bug where static strings where not invalidated in
Pipeline Results
.🐛 Cleanup: remove potential goroutine leakages in taskrun (Cleanup: remove potential goroutine leakages in taskrun #4936)
🐛 Terminate TaskRun when Pod fails due to ImagePullBackOff. (Terminate TaskRun when Pod fails due to ImagePullBackOff. #4921)
🐛 Assume task not skipped if the run is associated (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
🔨 TEP-0090: Refactor GetChildReferences (TEP-0090: Refactor GetChildReferences #4940)
🔨 TEP-0090: Refactor GetTaskRunsStatus (TEP-0090: Refactor GetTaskRunsStatus #4939)
🔨 TEP-0090: Refactor ResolvePipelineRunTask (TEP-0090: Refactor ResolvePipelineRunTask #4938)
🔨 Clean up the git-init base Dockerfile and Task. (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.
🔨 Add dependabot config. (Add dependabot config. #4915)
🔨 Fix test cases for validatePipelineParameterVariables function (Fix test cases for validatePipelineParameterVariables function #4901)
🔨 Use informer for pod get/list instead of talking to API server. (Use informer for pod get/list instead of talking to API server. #4740)
Use informer instead of API server for Pod Get/List.
isFailure
docstring (TEP-0090: Add details toisFailure
docstring #4970)TaskRunNames
in tests (TEP-0090: Sort slice ofTaskRunNames
in tests #4969)TaskRunName
is not used ingetTaskRunStatus
(TEP-0090:TaskRunName
is not used ingetTaskRunStatus
#4967)Conditions
from deprecations table (RemoveConditions
from deprecations table #4946)Parameters
replaced ImplicitParameters
(PropagatedParameters
replaced ImplicitParameters
#4994)PipelineRun
timeouts is in Beta (PipelineRun
timeouts is in Beta #4993)isRunning
(TEP-0090: TestisRunning
#4975)isSuccessful
(TEP-0090: TestisSuccessful
#4974)isFailure
includesisCancelled
(TEP-0090:isFailure
includesisCancelled
#4973)Docs
Thanks
Thanks to these contributors who contributed to v0.37.0!
Extra shout-out for awesome release notes:
This discussion was created from the release Tekton Pipeline release v0.37.0 "Foldex Frost".
Beta Was this translation helpful? Give feedback.
All reactions