Skip to content

v0.0.1

Latest
Compare
Choose a tag to compare
@danielhelfand danielhelfand released this 14 Oct 14:28
· 6 commits to master since this release

This is the first release of tekton-install. The motivation to create this tool arose from wanting to make the installation of Tekton components (pipeline, triggers, and dashboard) simpler for many users with different use cases. Whether you are doing development work on the actual Tekton project, presenting/showcasing Tekton, or installing Tekton as part of a CI process, I hope this tool allows users to not have to think twice about the installation process. Just tell tekton-install what you want installed and optionally what version, and it will be set up on your Kubernetes cluster.

Prerequisites for using tekton-install are listed here.

For this first release, tekton-install offers three main features:

  • tekton-install install - Install Tekton components on a Kubernetes cluster
  • tekton-install uninstall - Uninstall Tekton components currently installed on a Kubernetes cluster
  • tekton-install list - List what components are currently available on your cluster

Install

# Install latest version of Tekton pipeline component
tekton-install install pipeline

# Install specific version of Tekton pipeline component
tekton-install install pipeline --pipeline-version 0.15.0

# Install latest version of Tekton triggers component
tekton-install install triggers

# Install specific version of Tekton triggers component
tekton-install install triggers --triggers-version 0.6.0

# Install latest version of Tekton dashboard component
tekton-install install dashboard

# Install specific version of Tekton dashboard component
tekton-install install dashboard --dashboard-version 0.6.0

# Install all of latest components
tekton-install install all

# Install all components with specific versions
tekton-install install all --pipeline-version 0.15.0 --triggers-version 0.6.0 --dashboard-version 0.6.0

Uninstall

# Uninstall the Tekton pipeline component
# NOTE: Uninstalling pipeline component will
# also uninstall other installed Tekton components
tekton-install uninstall pipeline

# Uninstall the Tekton triggers component
tekton-install uninstall triggers

# Uninstall the Tekton dashboard component
tekton-install uninstall dashboard

# Uninstall all Tekton components
tekton-install uninstall all

# Uninstall Tekton components without being prompted for approval
tekton-install uninstall triggers dashboard pipeline -f

# Specify a Timeout of 1 minute 30 seconds for uninstalling each component.
# This example will produce a timeout error if the uninstall process lasts 
# longer than 1 minute 30 seconds for the triggers, dashboard, or pipeline component
tekton-install uninstall triggers dashboard pipeline --timeout 1m30s

List

# List available Tekton components on a Kubernetes cluster
tekton-install list

Any suggestions or contributions to the project are welcome moving forward.