Tekton Pipeline release v0.28.0 "Siberian Hadaly"
π Metrics options, better LimitRange
support, marking Pod
as Terminating and implicit parameters π
-Docs @ v0.28.0
-Examples @ v0.28.0
Installation one-liner
kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.28.0/release.yaml
β οΈ Known Issues
- #4483 Implicit parameter mapping incorrectly passes params from the top-level
Pipeline
orPipelineRun
totaskRef
Pipeline Tasks. Mapping should only occur from top-level resource to Pipeline Tasks with in-linetaskSpec
. This issue only affects users withenable-api-fields: alpha
in thefeature-flags
ConfigMap
stored in thetekton-pipelines
namespace.
Changes
Features
- β¨ Support activeDeadlineSeconds for Tekton pods π¦ (#4217)
Set activeDeadlineSeconds
on Tekton's Pod so that they are considered Terminating for Kubernetes.
This helps supporting ResourceQuota a bit better as now Tekton Pipeline's pod are considered terminating and thus can be using a specific scoped ResourceQuota for those.
- β¨ Allow in param/result names via subscript. (#4215)
Parameter and result names may now contain .
and be referenced via the subscript operator (e.g. $(params["foo.bar"])
- β¨ Add Configuration for Metrics Cardinality Simplification (#4201)
Metrics tags/labels type on taskrun/pipelinerun and task/pipeline can be eliminated metrics using configmap. Also, the type of metrics for duration - histogram or gauge/last value, can also be configured.
- β¨ Attempt to lookup cached entrypoint by digest, if possible (#4188)
Attempt to avoid incurring a rate limited image pull to lookup cached image entrypoints, if we can avoid it.
- β¨ Revamp how pipeline supports Limitranges (#4176)
Support fully LimitRange by taking into account the Min
, Max
, Default
and DefaultRequest
fields as well as the MaxLimitRequestRatio
) to define the coherent Requests and Limits on the Pod.
- β¨ Add Cancelled Pipelinerun metrics (#4144)
Add Cancelled Pipelinerun metrics
- β¨ Add script mode support to windows tasks (#4128)
Add script mode support for windows Tasks/Pipelines
-
β¨ Implement implicit parameter resolution. (#4127)
- Tasks can now accept more parameters than are actually used.
- Parameters can now be implicitly propagated to inlined specs (alpha feature flag must be enabled) -
e.g. an inlined Task can access parameters of its parent PipelineRun without
needing to explicitly define each param.
Backwards incompatible changes
In current release:
-
π¨ The default value for the new Step
onError
alpha feature has changed its name fromfail
tostopAndFail
. #4151. Note: this only affects user ofv0.27.0
as this behavior change was backported intov0.27.1
. -
π Patch vendor/ apimachinery to work on 1.22 (#4164)
Backport adding Subresource field to ManagedField entries in our vendor/
folder to make tektoncd/pipeline work on k8s 1.22
- π Propagate Pipeline name label to PipelineRun (#4163)
pipeline name label is propagated to pipelinerun, even when the pipelinerun is pending or cancelled
- π Set the scripts dir to readonly after init (#4161)
Mount script workspace as readonly
- π Fix Concurrency issue in the metrics (#4222)
- π Un-randomize TestConvertScripts_WithBreakpoint_OnFailure (#4197)
- π Configure
user.name
ingit_test.go
run
method. (#4192) - π Don't modify the lister cache's copy. (#4180)
- π Switch from -Z to -w (#4178)
Misc
- π¨ Remove the pkg/jsonpath library. (#4208)
The package pkg/jsonpath
has been removed. This does not effect anyone using tektoncd/pipeline directly, but may break users importing this code as a library during an update. We're unaware of any usage of this package right now.
The constants defined for the Tekton specific labels now include GroupName(tekton.dev) in the definition, for example:
Before this change:
const TaskLabelKey = "/task"
After this change:
const TaskLabelKey = GroupName + "/task"
If you are importing these constants in your application from the pipeline source, you don't need to add GroupName anymore.
-
π¨ (cleanup) use skipping reason instead of existence of variables (#4147)
-
π¨ Poll for the status of Runs (#4213)
-
π¨ Add controller flag to turn off built-in resolution (#4168)
Introduce experimental flag to disable built-in resolution behaviour of the taskrun and pipelinerun reconcilers.
- π¨ Add metadata to our publish task for Tekton Chains to observe & sign (#4156)
Tekton Pipelines releases are now signed by Tekton Chains.
- π¨ Use an Informer to list LimitRanges π₯Ό (#4234)
- π¨ Remove unnecessary replace directives in go.mod (#4229)
- π¨ Skipping the CI secret sauce π¦ (#4221)
- π¨ Bump github.com/cloudevents/sdk-go to v2.5.0 (#4216)
- π¨ Switch the linter from golint to revive, and fix warnings. (#4212)
- π¨ Make
NewRecorder
a proper singleton (#4210) - π¨ Don't rely on condition ordering. (#4209)
- π¨ Remove the gosec Makefile target. (#4207)
- π¨ Bump golangci-lint to v1.42.0 from v1.30.0. (#4206)
- π¨ Bump the go-scm, docker/cli and docker/docker libraries. (#4205)
- π¨ Adjust the way
{pipeline,task}run
metrics are surfaced. (#4204) - π¨ Bump the version of K8s clients and knative/pkg (#4198)
- π¨ Improve the logging in pkg/git testing (#4191)
- π¨ Deduplicate timeout constants. (#4189)
- π¨ Add CE Client to dynamic injection (#4183)
- π¨ Adjust several log lines (#4182)
- π¨ Fix a small copy/pasta typo (#4181)
- π¨ pkg/entrypoint: clean after running tests (#4175)
- π¨ Remove confusing comment (β_β (#4171)
- π¨ Update to latest knative.dev/pkg (#4170)
- π¨ Replace snooze with NewRequeueKey (#4131)
Docs
- π Document Pipeline's use of Pod termination messages (#4226)
Our developer docs now include more details on how Tekton Pipelines uses Pod termination messages to communicate information between Task pods and the Tekton Pipelines controller.
- π Add docs and examples for Windows (#4138)
- π Docs for Metrics Configuration (#4218)
- π Add doc links for 0.27.2 and 0.27.3 (#4203)
- π Update readme with release 0.27.1 links (#4162)
- π Update docs with 0.27.0 info (#4152)
Thanks
Thanks to these contributors who contributed to v0.28.0!
- β€οΈ @06kellyjac
- β€οΈ @DrWadsy
- β€οΈ @aiden-deloryn
- β€οΈ @bobcatfish
- β€οΈ @dlorenc
- β€οΈ @imjasonh
- β€οΈ @jerop
- β€οΈ @khrm
- β€οΈ @mattmoor
- β€οΈ @pritidesai
- β€οΈ @sbwsg
- β€οΈ @sm43
- β€οΈ @vdemeester
- β€οΈ @wlynch
Extra shout-out for awesome release notes:
- π @06kellyjac
- π @DrWadsy
- π @aiden-deloryn
- π @bobcatfish
- π @dlorenc
- π @imjasonh
- π @jerop
- π @khrm
- π @mattmoor
- π @pritidesai
- π @sbwsg
- π @sm43
- π @vdemeester
- π @wlynch