Skip to content

Releases: tektoncd/cli

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

v0.8.0

28 Feb 08:13
v0.8.0
Compare
Choose a tag to compare

v0.8.0 Release

TektonCD CLI v0.8.0 is a major release that adds compatibility with TektonCD Pipeine release v0.10.1.

The release adds new options to the delete subcommands, allowing to delete resource in bulk (with --all) while still keeping the latest resources (with --keep [INT]). It adds support for filtering some resources by label, a way to specify a prefix for the TaskRun/PipelineRun generate name and introduce a switch to use fzf-like fuzzy completion instead of the standard one. It also now shows the pipeline version it targets.

Note that the alias trigger for the start subcommand is now removed.

ChangeLog

Features ✨

  • #676 - --all option for tkn taskrun delete
  • #692 - Add tkn cluster delete --all
  • #699 - --all option for tkn el delete
  • #697 - --all option for tkn resource delete
  • #689 - --all option for tkn pipelinerun delete
  • #705 - --all option for tkn triggertemplate delete
  • #704 - --all option for tkn triggerbinding delete
  • #729 - Add Warning for --all Flags for Pipeline and Task Delete
  • #720 - Add --keep to delete --all, to keep the last N pipelineruns and taskruns
  • #681 - Add --output by name for TaskRuns and TriggerBinding
  • #682 - Add flag --use-pipelinerun to start to rerun with a target pr
  • #694 - Add --step flag for taskrun logs
  • #707 - Add --last support to tkn pr logs
  • #722 - Add --last flag to tkn taskrun logs
  • #700 - Shows --- for empty values on "DEFAULT VALUES" column
  • #703 - Add pipeline version information
  • #686 - Add support for filtering by label on pipelineruns and taskruns
  • #723 - Alternative method for selections using fuzzy finder (fzf)
  • #719 - --prefix-name option for tkn pipeline start
  • #724 - --prefix-name option for tkn task start
  • #741 - Adds timeout to pipeline start
  • #753 - add warning message for tkn task start --timeout
  • #714 - Add --use-taskrun for taskrun
  • #747 - show sidecar names with tkn tr desc
  • #755 - Remove trigger alias for start subcommands

Fixes 🐛

  • #691 - Fix bug about Complete logs not shown for failed TaskRun
  • #745 - Add Error Message for Deletion When No Args or --all Flag Specified
  • #711 - Fix help command
  • #716 - Fix yaml error and gates against it.
  • #721 - nil Check for lr.Stream for TaskRun Logs

Misc 🔨

  • #678 - Bump gotest.tools/v3 dep to 3.0.1
  • #609 - Start doing testing against nightly
  • #677 - Improve release docs
  • #687 - Makefile fixes
  • #740 - Update golangci-lint target
  • #728 - Makefile and presubmit minor improvements
  • #709 - Refactoring log writer
  • #746 - Use -mod=vendor for golangci-lint too
  • #749 - Refactoring log reader
  • #757 - Pin the go version in the release pipeline
  • #758 - Use -mod=vendor during release

Thanks ❤️

@pgarg
@16yuki0702
@chmouel
@danielhelfand
@pradeepitm12

v0.7.1

04 Feb 14:01
Compare
Choose a tag to compare

v0.7.1 Release

TektonCD CLI is a major release that add compatibility with TektonCD Pipeine release v0.10.1 and TektonCD Triggers Release v0.2.1, with features like task logs interactively, commands for triggers resource, remote file support with -f, better UI/UX with coluring and emoji support, --dry-run flag to check pipelinerun/taskrun before creating and start command for clustertask among other features and bugfixes.

ChangeLog

Features ✨

  • #508 - Making task logs interactive
  • #528 - Set default to false for show logs on TaskRun and PipelineRun
  • #532 - Add triggertemplate list
  • #541 - Add triggerbinding list
  • #551 - Add eventlistener list
  • #540 - Adds command to delete triggertemplate
  • #564 - Add command to delete triggerbinding
  • #564 - Add Command to Remove EventListener
  • #577 - Update all delete commands to support multiple arguments
  • #583 - Add tkn sart -f with remote files
  • #598 - Add tkn start clustertask command
  • #590 - Add coloured status condition
  • #595 - Add colouring to steps status too
  • #592 - Subtle cosmetics changes to describe command
  • #610 - Add Namespace to tkn pipeline desc
  • #563 - Auto select the first pipeline when only one is available
  • #613 - Set no colours automatically when not running with a tty or a pipe
  • #611 - generate steps name when none has been provided
  • #624 - add tkn clustertask desc
  • #620 - Add emojis to pipeline/pipelinerun/task/taskrun describe
  • #633 - Add emojis support for tkn clustertask describe command
  • #641 - Implement output for pipeline describe
  • #591 - sort steps for tr desc by StartedAt
  • #643 - --dry-run option for tkn pipeline start
  • #662 - --dry-run option for tkn task start
  • #663 - --dry-run option for tkn ct start
  • #608 - Add flag to task and pipeline to only delete related resources
  • #658 - Bump tektoncd/pipeline and tektoncd/triggers
  • #628 - Add all auth clients

Fixes 🐛

  • #516 - Fix install bash and zsh completions
  • #533 - Show cancelled instead of failed for pr and tr desc
  • #547 - Remove namespace check for clustertasks
  • #556 - Error message for using --last with tkn task start -f
  • #567 - Add choco package to README
  • #586 - Add nil check for PR desc taskrun sorting
  • #607 - Fix release tarball version to remove v at first
  • #650 - Remove 🏻 from the step emoji stew
  • #630 - tkn clustertask describe zsh completion is broken
  • #648 - Fix custom output on describe commands
  • #661 - Fix output=name for pipeline list
  • #665 - Fix workspace not getting copied with --last
  • #644 - Fix overriding GenerateName on tkn pipeline start --last
  • #670 - Fix overriding GenerateName on tkn task start --last
  • #673 - Update gotest.tools to use our fork to be compatible with old go versions

Misc 🔨

  • #514 - Add info in README about debian installs
  • #515 - Change NFPM package name
  • #517 - Test for tkn task start --filename
  • #525 - Fix formatting of examples
  • #536 - Switch to gotest.tools/v3 instead of testify wolf
  • #537 - Use ./hack/tools.go instead of dummy_test.go ⚓
  • #535 - Bump github.com/imdario/mergo to 0.3.8
  • #558 - Bump hashicorp/golang-iru
  • #569 - Synchronize cobra to latest
  • #585 - Refactor delete command code
  • #614 - Do not show bracket when showing the RunAfter.Tasks in Pipeline desc
  • #623 - Use golden package for unit test
  • #622 - Add tests for k8.Condition
  • #636 - Remove extra empty lines

Thanks ❤️

v0.7.0

03 Feb 16:06
Compare
Choose a tag to compare

Note

We don't recommend using this release as it is a buggy one, it may not be compatible with older go versions. We recommend upgrading to v0.7.1

v0.6.0

11 Dec 17:37
v0.6.0
Compare
Choose a tag to compare

TektonCD CLI v0.6.0 is a major release that adds compatibility with TektonCD Pipeine release v0.9.1.

The release adds a new create feature that can be used to create pipelines, tasks, and pipeline resources from a YAML file. tkn task start now features the ability to set a --timeout option to set a timeout in seconds for a taskrun. tkn task start will also feature a --filename option to start a task that has not been created in a cluster namespace. Both taskrun and pipelinerun logs will have new interactive abilities to select from the logs of taskruns or pipelineruns in a namepsace. tkn pipeline start has now added support for the cloudEvent resource. tkn also now supports the ability to set a kubernetes context.

ChangeLog

Features ✨

  • #443 - Show param default value in task describe
  • #451 - Add cloudEvent resource support to start command
  • #450 - Show Status of Steps with TaskRun Describe
  • #459 - Add a --filename parameter to 'tkn tasks start'.
  • #478 - Adding Timeout to tkn task start
  • #432 - Make pipelinerun logs interactive
  • #481 - Set current k8s context via tkn
  • #483 - Improve message for creating new resource in start
  • #491 - Making taskrun logs interactive.
  • #501 - Bump tektoncd/pipeline to version 0.9.0
  • #492 - tkn pipeline create Command
  • #502 - Add tkn task create
  • #506 - Bump to tektoncd/pipeline 0.9.1
  • #504 - Add tkn resource create -f Option
  • #509 - Add NFPM (deb/rpm) release to goreleaser
  • #510 - Debian package

Fixes 🐛

  • #445 - Fix brew install from tap
  • #466 - Fix interactive input params on pipeline start
  • #464 - Add Installtion instruction when compiling from source
  • #471 - Add Check in PipelineRun Logs for if Condition Available
  • #469 - Include TaskRun Failure Message in Logs
  • #483 - Fix failure in case of array param having single value
  • #495 - Use serviceAccountName instead of serviceAccount
  • #512 - Fix input params are not respected

Misc 🔨

  • #447 - Add Release process documentation
  • #462 - Bump plumbing to latest changes
  • #472 - Include Operating System and tkn Version in Issue Template
  • #474 - Uses vendored deps while building the binary in Makefile
  • #500 - Add golint to the linters

Thanks ❤️

v0.5.1

22 Nov 11:11
v0.5.1
13bf66a
Compare
Choose a tag to compare

TektonCD CLI v0.5.1 is a minor release which address a critical issue with tkn pipeline start creating only one resource and ignored the others.

Changelog

Fixes 🐛

  • #456 - Fix resource creation failure in case of multiple

Thanks ❤️