Skip to content

Releases: tektoncd/cli

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 ❤️

v0.12.1

16 Sep 09:48
v0.12.1
793513d
Compare
Choose a tag to compare

tkn v0.12.1 is a minor release fixing slow API operations on OpenShift (and maybe others) servers.

ChangeLog 📋

Fixes

  • #1158 Fix slowness in executing tkn commands

Thanks ♥️

v0.12.0

27 Aug 17:58
v0.12.0
Compare
Choose a tag to compare

v0.12.0 Release 🎉

tkn v0.12.0 is a major release that adds compatibility with TektonCD Pipeline 0.15.2 and TektonCD Triggers 0.7.0.

Describe command enhancements include the ability to see Results and Workspaces for the following resources: Pipeline, Task, ClusterTask, PipelineRun, and TaskRun.

Enhancements to start commands include the ability to start ClusterTasks interactively through tkn clustertask start (#1051), a --use-param-defaults flag for tkn clustertask start that uses param defaults if no value is declared through a --param flag, and the ability to use a PodTemplate definition defined in a remote or local file with all start commands (#1088).

To help with issues around debugging EventListeners, an AVAILABLE column has been added to tkn eventlistener list to denote whether an EventListener has deployed successfully.

Please see all additional features and bug fixes in the notes below, and thank you to all contributors to v0.12.0.

ChangeLog 📋

Features ✨

  • #1076 Display results in the output of task/taskrun describe command
  • #1051 ClusterTask start interactive mode
  • #1105 Display Results in the output of ClusterTask describe command
  • #1088 Add Ability to Specify PodTemplate for TaskRun/PipelineRun
  • #1110 Display results in the output of pipeline/pipelinerun describe command
  • #1094 Add --use-param-defaults option for tkn clustertask start
  • #1129 Bump pipeline dep to v0.15.2
  • #1131 Bump triggers dep to v0.7.0
  • #1121 Display workspaces in tkn task/clustertask/taskrun describe command
  • #1109 Modify --use-param-defaults flag for pipeline start command and add e2e test
  • #1142 Display Workspaces in the output of pipeline/pipelinerun describe command

Fixes 🐛

  • #1101 Add New Line for No ClusterTasks found Output
  • #1124 Add Check for Timeout Status for PipelineRun and TaskRun Cancel
  • #1117 Fix the display of 0 Value for Timeout with tkn tr/pr describe
  • #1126 pkg/suggestions: print help and error out
  • #1127 pkg/suggestions: no help on subcommand errors
  • #1098 Add EventListener Status with tkn eventlistener list
  • #1130 Consistent Error Messaging for Triggers Commands
  • #1123 Throw error when deleting tr/pr with non-existing task/pipeline
  • #1134 Copy Over PipelineRun and TaskRun Spec for --last and use run Options
  • #1141 Refactor status formatting
  • #1144 Refactor taskrun description

Misc 🔨

  • #1044 Reorganise cli E2E folder structure
  • #1108 Add Triggers Installation for e2e Tests

Thanks ❤️

v0.11.0

24 Jul 15:28
v0.11.0
Compare
Choose a tag to compare

v0.11.0 Release 🎉

TektonCD CLI 0.11.0 is a major release that adds compatibility with TektonCD
Pipeline 0.14.2 and TektonCD Triggers 0.6.1 with support for finally task logs,
volumeClaimTemplate support with --workspace flag in start commands, support
for providing default params using --use-param-default flag with start
commands and many more along with bug fixes pipelinerun logs, describe
commands etc, incomplete log message in start commands

Along with this release, ppc64le arch binary release will also be available.
We have deprecated the --namespace flag with clustertask and clustertriggerbinding
which will be removed in next release.

Deprecation Notice ⚠️

  • The --namespace or -n flag for all cluster-wide command has been marked deprecated. It will be removed in the next release.

ChangeLog 📋

Features ✨

#1014 Add support for embedded trigger binding to EventListener describe co…
#1010 Command Suggestion for Incorrect Subcommands
#1052 Add ppc64le to cross targets
#1049 Bump to tektoncd/pipeline v0.14.0
#1058 Bump to use tektoncd/triggers v0.6.0
#1059 Enables auto selection of task for describe command if only one task is present
#1060 Bump to tektoncd/triggers v0.6.1
#1036 Add --use-param-defaults option for tkn task start
#1073 Bump to tektoncd/pipeline v0.14.2
#1066 Support VolumeClaimTemplates with --workspace for tkn start Commands
#1077 adds finally logs in pipelinerun

Fixes 🐛

#1028 fix go lint errors from 1.27 upgrade
#1026 Remove Namespace Validation from tkn
#1063 Fix pipelinerun logs error in case of running pipeline
#1071 panic when there are no TR/PR present in the namespace while using (--last) option with (describe)
#1022 Pass k8 context when printing the log command for the start commands
#1035 Common Way of Referring to Tekton Resources for User Facing Messages: ClusterTask
#1040 Common Way of Referring to Tekton Resources for User Facing Messages: PipelineRun
#1038 Common Way of Referring to Tekton Resources for User Facing Messages: Pipeline
#1024 Common Way of Referring to Tekton Resources for User Facing Messages: TaskRun
#1032 Common Way of Referring to Tekton Resources for User Facing Messages: Task

Misc 🔨

#1023 add clustertriggerbinding to useful commands docs
#1027 add bug, feature, and free form issue templates
#1012 Refactor v1beta1 unit tests
#0976 Add tkn interactive tests
#1041 Update the pull_request_template for release-note
#1075 Add the misspell linter, and fix some misspellings.
#1078 Add deadcode to golangci-lint
#1061 Add Workspaces in Release pipeline instead of PipelineResources
#1081 Update Version Param for golang-build Task
#1082 correct catalog task golangci lint path
#1043 Change kn to tkn in Feature Issue Template
#1064 dep: update golang.org/x/text to v0.3.3

Thanks ❤️

v0.10.0

10 Jun 14:39
v0.10.0
b19c7df
Compare
Choose a tag to compare

v0.10.0 Release 🎉

TektonCD CLI 0.10.0 is a major release that adds compatibility with TektonCD
Pipeline 0.13.0 and TektonCD Triggers 0.5.0 with v1beta1 support for commands
and with backward compatibility for v1alpha1.

We have a new shiny new task start interactive 👨🏻‍🍳, improved the describe
commands 🏂 and provide an interactive prompt for Pipelineruns and Taskruns 🦸‍♀️
among other features, fixes and cleanups 🧜🏽‍♂️

ChangeLog

Features ✨

  • #987 Task start interactive mode
  • #890 Provides an interactive Prompt to select a PipelineRun/TaskRun
  • #935 Add Task start E2E tests
  • #947 Improve get pipelines version func
  • #981 Add triggers version info to the version command
  • #962 Add Task timeout and params in Pipeline Desc
  • #971 Add no-headers and all-namespaces flags for resource list
  • #960 Provides --last option of the describe of PipelineRun/TaskRun to describe the most recent PipelineRun/TaskRun
  • #991 Display conditions in the pipeline describe command
  • #977 Modified TriggerTemplate describe command for ResourceTemplates

Fixes 🐛

  • #793 Change clusterTask timeout from int to string and remove -t shorthand
  • #952 Remove Default 1h for clustertask --timeout
  • #954 Remove tkn create -f
  • #964 fix task start with file
  • #973 Fix triggerbinding and template list error messages
  • #993 Fix tkn task delete --trs deletes ClusterTaskrun also
  • #1002 Add --trs flag in tkn ct delete command
  • #990 Fix --keep with TaskRun and PipelineRun Delete when Using --task or --pipeline Flags
  • #1016 Fix Debian package having an incorrect package name

Miscs 🧹

  • #953 Bump plumbing to recent master 👼
  • #967 Update Readme with s390x build usage
  • #975 Enable yaml lint
  • #974 Refactoring for --all-namespace flag
  • #961 Makefile changes for new skipCheckFlag
  • #985 Switch to sigs.k8s.io/yaml for Yaml Unmarshal
  • #979 Restructure e2e Tests to Improve Organization
  • #986 Fix 'Edit this page' and 'Create an issue' links on the website
  • #996 Change Taskrun and PipelineRun Delete Test Names
  • #989 Fix to provide error in case of no pr logs

Dependencies bumps 👯

  • #1001 Bump tektoncd/pipeline to v0.12.1
  • #1003 Bump tektoncd/triggers to v0.5.0
  • #1017 Bump tektoncd/pipeline to v0.13.0

v0.9.0

29 Apr 12:05
Compare
Choose a tag to compare

v0.9.0 Release 🎉

TektonCD CLI 0.9.0 is a major release that adds compatibility with TektonCD Pipeline 0.11.3 and TektonCD Triggers 0.4.0 with v1beta1 support for commands and with backward compatibility for v1alpha1. It includes commands for clustertriggerbindings and describe commands for eventlistener, triggerbinding, triggertemplate, clustertask, and condition. Start commands also support workspaces both interactively and with flags and tkn pipeline start will also feature a --filename option to create a PipelineRun from a Pipeline defined in a file.

We have an enhancement in describe commands to show description fields, showing runs after sorting by start time, displaying sidecars, timeout, and labels. The list command is now available without showing headers, and feature of listing from all namespaces and with sorting reverse by time for taskruns/pipelineruns along with other bugfixes.

Deprecation Notice ⚠️

  • The following commands have been marked deprecated. These will be removed in next release:

    • tkn pipeline create
    • tkn task create
  • The -f flag with tkn resource create command has been marked deprecated. It will be removed in the next release.

  • The -t flag with tkn clustertask create command have been deprecated. Also --timeout flag with seconds format has been deprecated and duration format is supported i.e. 1h30s. These will be removed in the next release.

Changelog 📋

Features ✨

  • #938 - Enable auto selection of the task for logs command if only one task is present
  • #933 - Add eventlistener describe command
  • #939 - Add description command for condition
  • #927 - v1beta1 support for clustertask start command
  • #930 - Add params description to describe commands
  • #928 - Add tkn triggertemplate describe command
  • #924 - Bump pipeline start to v1beta1
  • #923 - Add tkn clustertriggerbinding describe command
  • #912 - Add tkn triggerbinding describe command
  • #911 - v1beta1 support for task start command
  • #840 - Add --no-headers and --all-namespaces flag for Task and Pipeline list subcommand
  • #884 - Bump taskrun describe to v1beta1
  • #889 - Flag to start a Pipeline without prompting for default param value
  • #896 - Bump pipelinerun describe to v1beta1
  • #894 - sort pipelineruns by start time for pipeline describe
  • #891 - Bump pipeline desc to v1beta1
  • #892 - sort taskruns by start time for clustertask describe
  • #881 - sort taskruns by start time for task describe
  • #888 - Bump clustertask describe to v1beta1
  • #880 - v1beta1 support for pipelinerun cancel
  • #869 - Add Workspace support to Interactive Start Pipeline
  • #870 - Bump task describe command to v1beta1
  • #873 - v1beta1 support for taskrun cancel
  • #866 - v1beta1 support for pipeline and run logs command
  • #851 - Display labels in TaskRun and PipelineRun describe
  • #853 - v1beta1 support for clustertask delete
  • #856 - add tkn ctb delete command
  • #829 - clustertriggerbinding list command
  • #826 - Add workspace option to pipeline start
  • #834 - Add --noheaders flag to taskrun/pipelinerun list subcommand
  • #848 - v1beta1 support for task delete command
  • #852 - v1beta1 support for pipeline delete command
  • #854 - Add workspace to task start
  • #812 - start pipelinerun from local or remote file
  • #825 - Add v1beta1 support for clustertask list
  • #830 - v1beta1 support for taskrun list
  • #832 - v1beta1 support for pipeline list cmd
  • #841 - v1beta1 support for pipelinerun list & delete cmd
  • #846 - Sort resources in start subcommands
  • #791 - Add flag to list TaskRuns/Pipelineruns from all namespaces
  • #810 - Refactor task list cmd with v1beta1 support
  • #804 - Add description to describe command
  • #789 - Add flag to reverse sort taskruns/pipelineruns
  • #787 - Add description to task, clustertask, condition list
  • #750 - Add Timeout to Description of TaskRun and PipelineRun
  • #844 - Add tekton cli build for s390x architecture
  • #788 - add sidecar status to tkn tr describe

Fixes 🐛

  • #943 - Remove namespace flag from clusterwide cmd's
  • #926 - Fix pipeline version not working if installed in other namespace
  • #932 - fix alignment of output resource TYPE column for task desc
  • #922 - fix aliases for clustertriggerbindings
  • #921 - fix keep description and remove need to use with --all flag
  • #919 - Disable colouring on windows
  • #913 - Corrects logs command to validate --limit option's value if it is < 0
  • #910 - check status of taskrun for tkn pr describe
  • #893 - Sort TaskRuns based on StartTime before deletion with keep
  • #901 - remove default timeout of 1h for pipeline and task start
  • #902 - Fix listing of taskrun
  • #828 - properly capture APIVersion with --dry-run
  • #878 - fix taskrun cancel command
  • #863 - use timeout of --last or --use-pipelinerun/--use-taskrun
  • #861 - v1beta1 support for task and taskrun logs command
  • #847 - Fix tkn pipeline version issue
  • #815 - remove duplicate error message when deleting nonexistent resource
  • #781 - Fix SIGSEGV on pipelinerun logs.
  • #773 - convert --all to delete all pipelines and tasks in namespace
  • #795 - change status check for pr and tr cancel for color
  • #768 - Remove the name param in cluster resource creation
  • #779 - Change timeout to string for tkn task start
  • #751 - Remove -t timeout shorthand from tkn task start

Misc 🔨

  • #944 - Add flag to skip check flag in version cmd
  • #942 - fix description typo and add test with output option for el desc
  • #941 - Update template for EventListener Describe command
  • #842 - Build and publish tkn image on release
  • #936 - Bump tekton/pipeline to v0.11.3
  • #937 - fix --dry-run with --filename tests for all start commands
  • #934 - Implement convertDown function for Taskrun from v1beta1 to v1alpha1
  • #917 - little refactor for consistency
  • #908 - Bump tektoncd/pipeline to v0.11.2
  • #907 - chore: fix typo inavlid => invalid
  • #905 - Modified param flag description
  • #904 - Set properly the release version in Debian package
  • #898 - Fix lint error and handle properly
  • #885 - Fix Makefile
  • #877 - Bump tektoncd/triggers to v0.4.0
  • #864 - add pradeepitm12 ...
Read more