Giter VIP home page Giter VIP logo

vscode-tekton's Introduction

Visual Studio Code Tekton Pipelines Extension tekton

System Status
Build (master branch) Build Status Build Status Unit Tests Code Coverage License
Marketplace Visual Studio Marketplace

Overview

A Visual Studio Code extension for interacting with Tekton Pipelines.

New and Noteworthy

'Go to Definition' for Tekton Pipeline yaml

Workspaces support

Editor and Pipeline preview sync

Tekton tree auto refresh and open resource from inline command

PipelineRun preview

Pipeline preview

New icons and Tekton resources

Provides editing support for Pipeline yaml

Setup kubernetes cluster to use with extension

To use the extension, developers can deploy Tekton Pipelines into a minikube instance or use Red Hat CodeReady Containers.

Red Hat CodeReady Containers

Red Hat CodeReady Containers is a simple way to start OpenShift Cluster on your laptop in a matter of minutes, follow this documentation to get it up and running. After cluster is started follow this steps to deploy OpenShift Pipelines into a OpenShift cluster.

minikube

For detailed analysis of how to setup Tekton Pipelines into minikube instance, please follow the instructions/tutorial.

Tutorial

Follow Tekton Pipeline Extension tutorial inspired by original tutorial that uses OpenShift Developer Console, tkn and oc command line tools.

Commands and features

Development of the Tekton Pipelines Extension is largely following development of the tkn CLI as well as Tekton Pipelines which are both under active development and potentially subject to drastic changes. Please don't hesitate to open an issue if you find a bug or something breaks unexpectedly. Pull Requests are always welcome--see the CONTRIBUTING section for details.

tekton-pipelines supports a number of commands & actions for interacting with Tekton Pipelines; these are accessible via the command menu (Cmd+Shift+P ⌘⇧P on macOS or Ctrl+Shift+P ⌃⇧P on Windows and Linux) and may be bound to keys in the normal way.

  • Tekton: About - Provides the tkn tool version.
  • Tekton: Show Output Channel - Shows commands running under the hood and their output.
  • Tekton: Refresh View - Refreshes the Tekton Pipeline View.

Actions available for a Tekton Pipeline/Task/ClusterTask

  • Pipeline -> Start - Start a Pipeline with user indicated resources, parameters and service account.
  • Pipeline -> Restart - Restart the last Pipeline run.
  • Pipeline/Task/ClusterTask -> List - List all Pipelines in a Cluster.
  • Pipeline -> Describe - Prints the JSON of a selected Pipeline.
  • Pipeline/Task/ClusterTask -> Delete - Delete the selected Pipeline.

Actions available for a Tekton PipelineRun

  • PipelineRun/TaskRun -> List - List all PipelineRuns/TaskRuns in a Pipeline/Task
  • PipelineRun/TaskRun -> Describe - Describe the selected PipelineRun/TaskRun
  • PipelineRun/TaskRun -> Logs - Print Logs from the selected PipelineRun/TaskRun
  • PipelineRun/TaskRun -> Delete - Delete the selected PipelineRun/TaskRun
  • PipelineRun -> Cancel - Cancel the selected PipelineRun

Icons Representation

Pipeline Node
Task Node
ClusterTask Node
PipelineResource Node
PipelineRun/TaskRun Running
PipelineRun/TaskRun Successful Run
PipelineRun/TaskRun Failed Run

Extension Configuration Settings

  • Tekton Pipelines: Show Channel On Output - Show Tekton Pipelines output channel when new text added to output stream
  • Tekton Pipelines: Output verbosity level - Output verbosity level (value between 0 and 9) for Tekton Pipeline Start, Push and Watch commands in output channel and integrated terminal.

Dependencies

CLI Tools

This extension uses the Tekton CLI: tkn

Extensions

This extension depends on Kubernetes Extension form Microsoft which is going to be installed automatically along with the Tekton Pipelines Extension. The image belows demonstrates the Kubernetes Extension public API displaying Tekton specific resources: ClusterTasks, Tasks, Pipelines, Pipeline Resources, Pipelineruns, Taskruns in the Kubernetes Clusters View.

Release notes

See the change log.

Nightly builds

WARNING: Nightly builds are by definition unstable. Install at your own risk.

Nightly builds are published every 24 hours and available from this location with most recent build is on top of the list. To install nightly build, download latest extension .vsix package and follow the steps on image below.

Contributing

This is an open source project open to anyone. This project welcomes contributions and suggestions!

For information on getting started, refer to the CONTRIBUTING instructions.

Download the most recent tekton-pipelines-<version>.vsix file and install it by following the instructions here.

Feedback & Questions

If you discover an issue please file a bug and we will fix it as soon as possible.

License

MIT, See LICENSE for more information.

vscode-tekton's People

Contributors

apupier avatar danielhelfand avatar dgolovin avatar evidolob avatar gorkem avatar kameshsampath avatar maitrella avatar mohitsuman avatar onyiny-ang avatar sudhirverma avatar vdemeester avatar vinamra28 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.