Skip to content

Releases: tektoncd/cli

v0.19.0

08 Jun 11:22
Compare
Choose a tag to compare

v0.19.0 Release 🎉

This release of tkn CLI adds compatibility with pipelines v0.24 and triggers v0.14 releases. In this release, we have improved the tkn start command with asking for params values if no default, optional workspaces support, better workspace flag docs and validation error fixes for param with type not defined. tkn hub check-upgrade command available now for checking upgrades available in tasks and install, upgrade etc subcommands will act based on pipeline version installed. For scripting and automation purpose, --component flag has been added in tkn version command to get a specific component version and tkn logs command have --prefix-flase flag to disable printing the task and step name.

Changelog 📋

Features ✨

  • Tkn task start will interactively ask for params value if not default specified and not passed #1180
  • Tkn pipeline start will interactively ask for params value if not default specified and not passed #1379
  • Tkn clustertask start will interactively ask for params value if not default specified and not passed #1376
  • Lookup plugins in current path if not in plugins dir #1366
  • Add support for optional workspaces in start command #1377
  • Bump Hub dependency with new features like tkn hub check-upgrade command and other refacor #1369
  • Add --component flag to tkn version command for specific component version #1093
  • Add a flag --prefix=false to not print the taskname/step prefix when showing logs #1304
  • Bump tektoncd/pipeline to v0.24.1 #1381
  • Bump tektoncd/triggers to v0.14.1 #1382

Fixes 🐛

  • Fix validation aror if any param has not type defined and is passed using -f flag #1069
  • Consistent and details description for workspace flag in start commands #1354
  • Replace maze.io/x/duration with its redirect #1384

Misc 🔨

  • Update tests to use builders instead of structs #1367
  • Fixes e2e test for ClusterTask #1375
  • Bump plumbing dep to fix CI #1374
  • Fix RPM spec file #1380

Thanks ❤️

v0.18.0

26 Apr 18:15
v0.18.0
Compare
Choose a tag to compare

v0.18.0 Release 🎉

This release adds pipelines v0.23.0, triggers v0.13.0, introduces a brand new bundle command to produce tekton bundle, now tkn auto select resource if only one available with describe commands, there is now skipped task section in pipelinerun describe commands, with some other fixes/improvements.

Changelog 📋

Features ✨

  • Introduce a tkn bundle push command to produce Tekton bundles #1312
  • Add a bundle pull command to fetch tekton bundle contents #1328
  • Adds version in describe command of task #1317
  • Added Scoop & PowerShell install on Windows #1330
  • Auto-select TriggerTemplate/TriggerBinding/ClusterTriggerBinding in describe command if only one is present #1356
  • Add section of Skipped tasks in tkn pr describe #1311
  • Add support for tkn clustertask logs #1333
  • Auto-select EventListener in describe if only one is present #1353

Fixes 🐛

  • Fix parseParam with empty array #1309
  • Fix clustertask start command with --last flag#1332
  • Print status in tkn p start if it is not nil #1338
  • Fix eventListener test with latest minimal triggers permissions #1340
  • Fix clustertask describe and delete, task lastrun #1341
  • Fixes the bundle push and list commands to conform to the bundle spec. #1344
  • Fix eventlistener describe command crashing without template #1348

Misc 🔨

  • Update README with the version of supported RPMs distros #1349
  • Add framework usage to get kubeconfig and cluster params support #1310
  • Update plumbing dep to pin gke version #1358
  • Bump pipeline trigger #1360

Thanks ❤️

v0.17.2

12 Apr 22:17
Compare
Choose a tag to compare

v0.17.2 Bug Fix Release 🎉

tkn v0.17.2 is a patch release fixing bug happening in the tkn eventlistener describe command for an eventlistener that does not have a template and also not showing details of trigger ref with minor formatting improvements in output.

ChangeLog 📋

Fixes 🐛

#1348 Fix eventlistener describe command crashing without template

Thanks ♥️

v0.17.1

31 Mar 11:01
Compare
Choose a tag to compare

v0.17.1 Bug Fix Release 🎉

tkn v0.17.1 is a patch release fixing bugs occurring with Pipeline version 0.22.0 for using tkn ct/t start command with --last, tkn ct describe not showing taskruns and tkn ct delete --trs not deleting related taskruns. This also fixes the nil status of pipeline resource getting printed in tkn p start command for creating a pipeline resource interactively.

ChangeLog 📋

Fixes 🐛

#1341 Fix clustertask describe and delete, task lastrun
#1338 Print status in tkn p start if it is not nil
#1332 Fix clustertask start command with --last flag

Thanks ♥️

v0.17.0

12 Mar 07:10
v0.17.0
Compare
Choose a tag to compare

v0.17.0 Release 🎉

This release adds pipelines v0.22.0, triggers v0.12.0, and K8s v0.19.7, this release is mostly a dependencies bump with some other fixes.

Changelog 📋

Features ✨

  • nix/nixos install notes #1305

Fixes 🐛

  • Fix crash with pipeline describe when using inline taskSpec #1303
  • Fix eventListener e2e test with new RBAC permissions #1313
  • Fix Typos 🧑‍💻 #1318

Misc 🔨

  • update deps - k8s deps are now v0.19.7 #1298
  • Use tkn create pipeline in release.sh #1306
  • Rename master branch to main 🧙 #1316
  • Bump triggers and pipeline to latest releases 🥍 #1320
  • master -> main in release.sh #1321
  • fix release script #1322 #1323 #1324

Thanks ❤️

v0.16.0

09 Feb 08:31
Compare
Choose a tag to compare

v0.16.0 Release 🎉

This release of tkn CLI adds compatibility with pipelines v0.20.1 and triggers v0.11.2. In this release, the auto-completion feature has been reworked with the bump in the cobra library version, adding support for PowerShell, fish, etc also, and giving errors on unexpected shell passed and multiple shells passed together. Support for logs of retried taskruns has also been added and --clustertask flag for deleting all taskruns related to the clustertask along with other bug fixes like tkn version not working without kubeconfig.

Changelog 📋

Features ✨

  • Drop fork of cobra and use latest cobra library #1268
  • Adapt new completion system based on new library version #1268
  • Add support for showing logs of retried taskruns #1262
  • Add support for --clustertask flag with tkn tr delete #1279

Fixes 🐛

  • Fix tkn version not working without kubeconfig #1277
  • tkn completion command will give an error for unexpected arg and more than one arg #1287
  • Update taskrun tests from test builders to structs #1292
  • Update task tests from test builders to structs #1289

Misc 🔨

  • Refactor e2e test script and fix for security contrained environent #1276
  • Do not use tkn version as a check during debian build #1272
  • Fixing clustertask e2e tests #1149
  • Use python3 binary for rpmbuild #1271
  • Add information about homebrew in README #1293
  • Update triggers e2e according to spec changes in latest version #1292
  • Bump pipeline dep to v0.20.1 #1297
  • Bump triggers dep to v0.11.2 #1300

Thanks ❤️

v0.15.0

17 Dec 11:08
v0.15.0
14165a2
Compare
Choose a tag to compare

v0.15.0 Release 🎉

tkn v0.15.0 is a major release that adds compatibility with TektonCD Pipeline v0.19.0, TektonCD Triggers v0.10.2 and K8s v0.19.

This release of tkn has now a basic support for plugins in $HOME/.config/tkn/plugins, for example if the user pass the command tkn plugin foo it will be passed as $HOME/.config/tkn/plugins/tkn-plugin foo.

This release has the latest hub binary which comes with new commands like info, install, reinstall, upgrade and downgrade.

A few more features, and bug fixes, and a final deprecation of the -c flags.

ChangeLog 📋

Features ✨

Fixes 🐛

Deprecation 🧹

Misc 🔨

Thanks ❤️

v0.14.0

16 Nov 14:45
v0.14.0
Compare
Choose a tag to compare

v0.14.0 Release 🎉

tkn v0.14.0 is a major release that adds compatibility with TektonCD Pipeline 0.18.0, TektonCD Triggers 0.9.1 and K8s v0.18.9

This release of tkn has integrated the Hub commands, user can now get and search catalog. Logs command for EventListener is also available now.

tkn v0.14.0 have updated OSX instruction to install from the brew. It now has --all-namespaces for all the list sub-commands user can now list a resource in all the namespaces. This also maintains consistency while referring tekton resource in user-facing messages.

Deprecation Notice ⚠️

  • The -c shorthand for tkn version check is deprecated and will be removed in v0.15.0.

ChangeLog 📋

Features ✨

  • #1196 Update OSX instruction to install from brew 🍻
  • #1192 Add EventListener Logs Command
  • #1198 Bump Knative/K8s dependencies
  • #1189 Refactor PipelineRun and TaskRun Cancel Error Based on Condition Status
  • #1203 Integrate Hub commands into tkn
  • #1224 Change --nocolour to --no-color
  • #1221 Updates Hub Dependency
  • #1232 Deprecate -c Shorthand for tkn version --check
  • #1225 Bump pipeline and triggers deps
  • #1234 Add --all-namespaces flag to tkn triggerbinding list command
  • #1236 Add --all-namespaces flag to tkn eventlistener list command
  • #1235 Add --all-namespaces flag to TriggerTemplate List subcommand
  • #1241 Add --all-namespaces flag to tkn condition list command
  • #1244 Add --no-headers flag to tkn clustertask list command
  • #1243 Add --no-headers flag to tkn clustertriggerbinding list command
  • #1238 Make sure we target LTS for ubuntus
  • #1251 bump pipleine dependency to v0.18.0

Fixes 🐛

  • #1208 Common Way of Referring to Tekton Resources in User Facing Messages: EventListener
  • #1211 Common Way of Referring to Tekton Resources in User Facing Messages: TriggerBinding
  • #1210 Common Way of Referring to Tekton Resources in User Facing Messages: ClusterTriggerBinding
  • #1209 Common Way of Referring to Tekton Resources in User Facing Messages: Condition
  • #1213 Common Way of Referring to Tekton Resources in User Facing Messages: TriggerTemplate
  • #1201 Avoid Use of Previous TaskRunSpecStatus and PipelineRunSpecStatus with Start Commands
  • #1207 tkn pr describe failing in pr with conditions
  • #1217 Fix Alignment of Usage
  • #1227 Do Not Delete ClusterTask TaskRuns with --task Flag
  • #1237 Fix APIversion not shown on describe commands
  • #1245 fix function name typo

Misc 🔨

  • #1194 Update README to v0.13.0
  • #1197 Reorganize Release Process Docs and Add Details
  • #1205 Remove Assertions to Help with Debugging EventListener e2e Failures
  • #1215Update readme for 0.13.1 and fix lint task
  • #1214 Fix unit test failures with go 1.15
  • #1218 Document NO_COLOR and Edit README Headers
  • #1249 Remove EventListener Log Output Assertion from e2e Tests
  • #1252 Makefile: remove darwin/386 from cross target

Thanks ❤️

v0.13.1

21 Oct 09:07
Compare
Choose a tag to compare

v0.13.1 Bug Fix Release 🎉

tkn v0.13.1 is a patch release fixing bugs raised after 0.13.0 release for using start command with --last, --use-pipelinerun and --use-taskrun with canceled pipelinerun/taskrun. This also fixes the pipelinerun describe command failing for failed pipelinerun with conditions

ChangeLog 📋

Fixes 🐛

#1201 Avoid Use of Previous TaskRunSpecStatus and PipelineRunSpecStatus with Start Commands
#1207 tkn pr describe failing in pr with conditions

Thanks ♥️

v0.13.0

30 Sep 18:35
v0.13.0
Compare
Choose a tag to compare

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

Thanks ❤️