Tekton Pipeline release v0.11.0-rc2 "Ragdoll Norby"
Pre-releaseπ 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 apply
ing 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 andworkingDir
of Steps will change in the next releaseTekton currently overwrites the
HOME
environment variable in a Step's container to always be/tekton/home
and theworkingDir
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!
- β€οΈ @cccfeng
- β€οΈ @chanseokoh
- β€οΈ @nikhil-thomas
- β€οΈ @piyush-garg
- β€οΈ @sbwsg
- β€οΈ @skaegi
- β€οΈ @spomorski
- β€οΈ @vdemeester