Skip to content

Tekton Pipeline release v0.11.0-rc2 "Ragdoll Norby"

Pre-release
Pre-release
Compare
Choose a tag to compare
@afrittoli afrittoli released this 11 Mar 15:42

πŸŽ‰ Beta Release Candidate 2 πŸŽ‰

This is the second release towards Beta and includes bug fixes for issues discovered after RC1 went out. There will be at least one more release candidate before the actual Beta.

🚨 If you are upgrading from an older version of Tekton you may need to delete your existing tekton-pipeline deployments before applying the 0.11 release candidates.

🚨 Submitting v1alpha1 Tasks more than once can now result in errors. Submitting a v1alpha1 Task once will work but submitting the same Task again will fail. To work around this problem use kubectl replace instead of apply or first delete the Task and then re-apply it.

This is a side-effect of the way Tekton internally upgrades Tasks from v1alpha1 to v1beta1. This issue will affect any Task that includes inputs.params or inputs.resources. On submission Kubernetes will return an error such as error when applying patch [...] validation failed: expected exactly one, got both: inputs.params, params.

🚨 Please also note that the minimum version of Kubernetes required to run Tekton is now 1.15.

-Docs @ v0.11.0-rc2
-Examples @ v0.11.0-rc2

Changes

Features

  • ✨ Add description field to Spec (#2089)

Deprecation Notices (Same as RC1)

  • 🚨 PipelineResources are not moving to Beta with Tekton's other types

    PipelineResources have been a source of some contention within the Tekton community over the past several months. While the abstraction they expose does provide some value they can often be difficult to understand, hard to debug when they go wrong, and are far too limited in number and scope. For these reasons and more we do not plan to promote PipelineResources into Beta and will instead provide a documented migration path for users that does not use the type at all. Towards this goal we have already introduced a git-clone Task to the Tekton Catalog that provides exactly the same behaviour as the Git PipelineResource and we plan to introduce similar Tasks for all of the other existing PipelineResource types as well.

    See the git-clone Task in the catalog.

  • 🚨 The $HOME env var and workingDir of Steps will change in the next release

    Tekton currently overwrites the HOME environment variable in a Step's container to always be /tekton/home and the workingDir field of the Step's image to always be /workspace. This behaviour is problematic when a container depends on those values to be something specific for it to run correctly.

    In this release we are leaving Tekton's default behaviour alone but have introduced a new ConfigMap, named feature-flags, that allows you to disable it. In the next release we plan to flip this behaviour so that it is opt-in rather than opt-out. At some point in the future we plan to remove support for this overwriting behaviour entirely. (#2044).

Backwards incompatible changes (Same as RC1)

In current release:

  • 🚨 The minimum required version of Kubernetes is now 1.15

    Bump kubernetes to 1.16.5 and knative/pkg to release-0.12 (#1894)

  • 🚨 Submitting v1alpha1 Tasks more than once can now result in errors. Submitting a v1alpha1 Task once will work but submitting the same Task again will fail.

Fixes

  • πŸ› Remove result initcontainer (#2175)
  • πŸ› SetDefaults for embedded specs (Pipeline, Task) πŸ₯„ (#2162)
  • πŸ› Fix to FieldError fields name for duplicate param names and associated unit tests (#2195)
  • πŸ› Fixes Task workspaces marshalling (#2200)
  • πŸ› Handle the case of multiple versions of a status (#2194)

Misc

  • πŸ”¨ Invalid Sink URI CloudEvent test sometimes includes quotes (#2166)

Docs

  • πŸ“– Rewrite the Pipelines tutorial for clarity and flow. (#2068)
  • πŸ“– Update some more example links and move task results example (#2148)
  • πŸ“– Document Task Results maximum size (#2167)
  • πŸ“– Update install instructions on OpenShift (#2169)
  • πŸ“– Add params section to Pipelinerun doc (#2173)
  • πŸ“– Fix pipeline spelling bug in developers/readme.md (#2184)
  • πŸ“– Update docs to use v1beta1
  • πŸ“– Remove MiniShift from install documentation (#2189)
  • πŸ“– Fix broken markdown links in our doc (#2205)
  • πŸ“– Spelling fixes in our doc (#2206)

Thanks

Thanks to these contributors who contributed to v0.11.0-rc2!