Releases: tektoncd/cli
v0.8.0
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 ❤️
v0.7.1
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
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
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
v0.5.0
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
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
v0.3.0
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