Skip to content

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

Pre-release
Pre-release
Compare
Choose a tag to compare
@afrittoli afrittoli released this 25 Mar 17:17

πŸŽ‰ Beta Release Candidate 3 πŸŽ‰

This is the third release towards Beta and includes bug fixes for issues discovered after RC2 went out. This is planned to be the final release before we formally declare Beta ready.

🚨 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-rc3
-Examples @ v0.11.0-rc3

Changes

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.

Features

  • ✨ Add proxy parameters to Git PipelineResources (#2215)

Fixes

  • πŸ› Panic in controller when step fails before image digest exporter (#2222)
  • πŸ› Fix copying description also during upgrade (#2247)
  • πŸ› Add checking for duplicate declared resources (#2266)
  • πŸ› Fix re-applying v1beta1 TaskRun failing (#2285)

Misc

  • πŸ”¨ Add builder for resource description (#2224)
  • πŸ”¨ Creds-init writes to fixed location when HOME override is disabled (#2180)
  • πŸ”¨ Introduce v1beta1 e2e go tests (#2252)
  • πŸ”¨ Add the git resource ref to the ResourceResult for git resources. (#2238)

Docs

  • πŸ“– Add a Workspaces doc (#2230)
  • πŸ“– Improve the clarity and flow in Workspaces documentation. (#2256)
  • πŸ“– Fix unavailable link in document (#2271)
  • πŸ“– Adds "commented" website front matter to docs (#2283)

Thanks

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