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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
🎉 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
Conditionshas been removed. Existing pipelines usingConditionswill need to be updated.Changes
Features
TaskRuns#4990)A
PipelineTaskwith aMatrixis fanned out into parallelTaskRunswhich 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
TaskRunsorRunsfrom a givenMatrixis 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
TaskRunstoResolvedPipelineRunTaskand implementisFailure(TEP-0090: AddTaskRunstoResolvedPipelineRunTaskand 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.ServiceAccountNamesfield. #4988)Removes deprecated
PipelineRun.Spec.ServiceAccountNamesfield; usePipelineRun.Spec.TaskRunSpecsinstead.TaskRun.Status.ResourceResults.ResourceReffield #4977)Removes deprecated
TaskRun.Status.ResourceResults.ResourceReffield; useTaskRun.Status.ResourceResults.ResourceNameinstead.action required: Deprecated
conditionsin pipelines removed. Existing pipelines usingconditionswill 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
ThreadsPerControllerto 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.
isFailuredocstring (TEP-0090: Add details toisFailuredocstring #4970)TaskRunNamesin tests (TEP-0090: Sort slice ofTaskRunNamesin tests #4969)TaskRunNameis not used ingetTaskRunStatus(TEP-0090:TaskRunNameis not used ingetTaskRunStatus#4967)Conditionsfrom deprecations table (RemoveConditionsfrom deprecations table #4946)Parametersreplaced ImplicitParameters(PropagatedParametersreplaced ImplicitParameters#4994)PipelineRuntimeouts is in Beta (PipelineRuntimeouts is in Beta #4993)isRunning(TEP-0090: TestisRunning#4975)isSuccessful(TEP-0090: TestisSuccessful#4974)isFailureincludesisCancelled(TEP-0090:isFailureincludesisCancelled#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