github tektoncd/pipeline v0.28.1
Tekton Pipeline release v0.28.1 "Siberian Hadaly"

latest releases: v0.62.3, v0.63.0, v0.62.2...
2 years ago

🎉 onError with workspaces, enforcing step timeout, and documentation for disabling ref resolution 🎉

-Docs @ v0.28.1
-Examples @ v0.28.1

Installation one-liner

kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.28.1/release.yaml

Backwards incompatible changes

In current release:

  • 🚨 Breaking change in the controller signatures

Breaking signature change in taskrun.NewController and pipelinerun.NewController to take advantage of pipeline.NewFlagOptions(flag.CommandLine) to reduce churn due to flag changes:

New Signature:

func NewController(opts *pipeline.Options) func(context.Context, configmap.Watcher) *controller.Impl {...}

Old signature:

func NewController(namespace string, conf ControllerConfiguration) func(context.Context, configmap.Watcher) *controller.Impl {...}

Fixes

  • 🐛 V0.28 Cherry-Pick: disable resolution flag, onError with workspaces, enforce step timeout, and refactor controllers (#4263)

    • Fixing a bug where the specified step timeout was lost and not propagated to the entrypoint. This fix enforces the step timeout.

    • Fixing a bug where onError was not honored in presence of a workspace. Now, onError can be set to continue to ignore a step error in a task with a workspace.

    • Documented a controller flag that disables ref resolution in pipelineruns and taskruns.

    • (New in v0.28.1, will be part of v0.29.0) Downstream consumers of taskrun.NewController and pipelinerun.NewController will have to fix a breaking signature change; however, they can now take advantage of pipeline.NewFlagOptions(flag.CommandLine) to reduce churn due to flag changes.

Thanks

Thanks to these contributors who contributed to v0.28.1!

Extra shout-out for awesome release notes:

Don't miss a new pipeline release

NewReleases is sending notifications on new releases.