v0.13.0
v0.13.0 Release 🎉
tkn
v0.13.0 is a major release that adds compatibility with TektonCD Pipeline 0.16.3 and TektonCD Triggers 0.8.2.
This release of tkn
adds consistency between tkn clustertask start
and tkn task start
commands. In v0.13.0, tkn clustertask start
now features the --prefix-name
and --use-taskrun
options available with tkn task start
. The --prefix-name
option will allow users to specify a prefix for TaskRun names created with clustertask start. --use-taskrun
allows users to start TaskRuns using runtime information used in a previous TaskRun.
v0.13.0 also offers convenience features around using describe commands. For describe commands for ClusterTask, TaskRun, Pipeline, and PipelineRun, if only one resource is available in a namespace or on a cluster, describe commands will auto select and describe the single resource so a name argument doesn't need to be passed.
#1092 introduces a fix to allow users who do not have permissions to list deployments on a Kubernetes cluster the ability to still run tkn version
since version information is available via pipeline, triggers, and dashboard deployments.
As part of dealing with the deprecation of test builders in the TektonCD pipeline project, the deprecated test builders have been added to the cli repository in #1177 to help the project more gracefully move away from using test builders for unit tests for tkn
. We ask that developers not build around these test builders as they will be removed as more tests are converted to using structs of Tekton resources.
ChangeLog 📋
Features ✨
- #1154 Enable auto-select support in ClusterTask/TaskRun if only one is present
- #1179 Use --prefix-name option for tkn clustertask start
- #1191 Bump pipeline and triggers dep
- #1187 Enable auto-select support in pipelineDescribe if only one pipeline is present
- #1190 Enable auto select support in PipelineRunDescribe if only one PipelineRun Present
Fixes 🐛
- #1092 Modify tkn version to accept namespace as ldflag and flag
- #1185 Cancelling a pipelinerun which failed with
Failed(Cancelled)
throws an error - #1186 Fix deployment fetch issue for multiple namespaces
Misc 🔨
- #1167 Update Condition Tests from Test Builders to Structs
- #1173 Update README Versions for v0.12.1
- #1176 Artwork/Logo added to the top of the README.
- #1172 Fix rpm build for release
- #1168 Update ClusterTask Tests from Test Builders to Structs
- #1177 tests: import pipeline internal builders
- #1182 Update PipelineResource Tests from Test Builders to Structs
- #1183 Remove release-note block indentation in PR template