Skip to content

Releases: tektoncd/cli

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

v0.5.0

08 Nov 10:31
v0.5.0
d965a9c
Compare
Choose a tag to compare

v0.5.0

TektonCD CLI v0.5.0 is a major release that add compatibility with TektonCD Pipeine release v0.8.0. It adds as well feature like creating new resources interactively, starting pipeline with new resources, task description and being able to start a new taskrun among other features and bugfixes.

Note for OSX users that tektoncd-cli in now in homebrew-core, but the tap is still the preferred
method for installing the latest version of tektoncd-cli, since both have the same name by default it will use the homebrew-core version which could be slightly outdated, use brew upgrade tektoncd/tools/tektoncd-cli to get the latest release version.

Note as well that we are now showing the logs right after you start the pipeline or task, use --showlog=false if you want to have the old behaviour.

ChangeLog

Features ✨

  • #323 - Add task describe subcommand
  • #319 - Add condition list command
  • #342 - Allow passing labels to start command.
  • #268 - Adds command to create new resource interactively
  • #345 - Show logs right after starting the pipeline
  • #347 - Add feature to start task
  • #346 - Add delete condition command
  • #394 - Bump tektoncd/pipeline to 0.8.0
  • #420 - Add installation instructions for Windows to README
  • #400 - Show logs after task start
  • #371 - starts pipeline with new resource

Fixes 🐛

  • #349 - check if namespace exists for all commands
  • #356 - Enhance logs failure message in case of a task failing
  • #363 - Use *** instead of plain text for password
  • #376 - Fix panic on pipeline logs
  • #418 - Adding nil Checks to TaskRun and PipelineRun Describe Commands
  • #400 - Fix taskrun log throwing error
  • #439 - Show params in pipeline describe command

Misc 🔨

  • #340 - Cleanup -l flag across commands
  • #351 - Refactoring resource list
  • #357 - add tkn condition to README
  • #366 - Change way of question for insecure parameter
  • #384 - Use targetURI for cloudEvent resource details
  • #398 - Generate windows binary release files as zip file
  • #406 - Remove 386 and arm archs
  • #423 - Fix lint warning and enable lint on CI

Thanks ❤️

v0.4.0

26 Sep 10:00
v0.4.0
950a5fe
Compare
Choose a tag to compare

TektonCD CLI is a major release that add compatibility with TektonCD Pipeine release v0.7.0 and few other features and bugfixes.

We now provides rpm package in a COPR repository to make it easy to install tektoncd-cli on rpm based distros. See the README for details and other installation methods.

ChangeLog

Features ✨

  • #12 - Cancel pipeline run
  • #196 - InitParams before arg validation in pipeline start
  • #214 Make the resource and param input interactively
  • #224 - Sort pipelineruns based on time started with configurable limit kind/bug
  • #232 - Add --last to tkn
  • #235 - Add delete pipeline command
  • #290 - 🎨 Add rainbow colouring of steps label
  • #236 - Add delete pipelinerun command
  • #237 - Add delete task command
  • #238 - Add delete taskrun command
  • #334 Bump tektoncd/pipeline to 0.7.x
  • #303 - TaskRun Describe Command

Fixes 🐛

  • #223 - Fixes 0.6.0 version compatibility issues
  • #225 - available subcommands list is missing from help section
  • #226 - Fixes show sub commands help section
  • #283 - Choose the first pipeline if only one available
  • #64 - Fix showing failure reason when specifying -n for a different namespace

Misc 🔨

  • #220 - tkn throw errors for array type params kind/bug
  • #227 - Auto generate zsh completion
  • #229 - Refactor shell completion
  • #231 - Add version to release tarball
  • #298 - Fix compilation with go1.13

Thanks ❤️

v0.3.1

04 Sep 13:48
v0.3.1
bae4ab0
Compare
Choose a tag to compare

Changelog

Features ✨

  • Add ZSH completion on delete commands 2ee8747
  • Add VERSION file to the released source and let makefile pick it up 93726c1

Fixes 🐛

  • Fix mispell pipelinerune => pipelinerun 0938960

v0.3.0

03 Sep 09:25
Compare
Choose a tag to compare

Changelog 🔈 📜

  • 147cb1d Make the resource and param input interactively
  • 2c437af Add delete operations
  • b0dc11b Print command tips after starting pipeline
  • edcee68 Fix and improvement to shell completion
  • 5b3cd97 Display sub commands types only if there is any.
  • 6de3a8f sort pipelineruns for logs by start time and add limit flag
  • 0b23e04 Wait for logs if pipeline is running
  • 2020f54 Improve pipeline logs command
  • 90bc756 Add multiple service accounts for pipeline start

Contributors 🙇 :