opc
make it easy to work with Tekton resources in OpenShift Pipelines. It is
built on top of tkn
and tkn-pac
and expands their capablities to the
functionality and user-experience that is available on OpenShift.
Use the default target of the Makefile:
i.e:
make
The following commands help you understand and effectively use the OpenShift Pipelines CLI:
opc hub
: search and install from Tekton Hubopc pac
: add and manage git repositories (pipelines as code)opc results
: interact with results apiopc clustertask
: manage ClusterTasksopc pipeline
: manage Pipelinesopc pipelinerun
: manage PipelineRunsopc task
: manage Tasksopc taskrun
: manage TaskRunsopc clustertriggerbinding
: manage ClusterTriggerBindingsopc eventlistener
: manage EventListenersopc triggerbinding
: manage TriggerBindingsopc triggertemplate
: manage TriggerTemplates
opc version
: Show all versions of all componentsopc version [pac|tkn|opc]
show version of a specific component
opc completions [bash|zsh|...]
tkn plugins are used for opc plugins (ie: tkn-watch become opc watch), it doesn't try to show any opc plugins. (may change).
Go to the release page and choose your archive or package for your platform.
brew tap openshift-pipelines/opc https://github.com/openshift-pipelines/opc
brew install opc
go install -v github.com/openshift-pipelines/opc@latest
Checkout the directory and use :
-$ make
-$ ./bin/opc --help