This is an example to demonstrate how an integration of Tekton VSCode Plugin, Quarkus , Tekton and Openshift Pipelines can be very productive for Developers.
- Development Environment, work in your application code and monitor the pipeline run in the same screen:
- Follow up the
PipelineRun
progress atPipeline View
in Developer Mode atOpenshift 4.2+
:
- Let the microservice dependencies be automatically created and deployed by it own pipeline. The application is created using Quarkus by Burr Sutter and can be found at https://github.com/burrsutter/blue-green-canary
To run this demo, below are the tools that must be installed:
- Openshift 4.2+ Cluster with Openshift Pipelines Operator installed
- Tekton CLI configured in your PATH
- Vscode with Tekton Plugin installed
In your cluster create a project called demo:
oc new-project demo
Clone the project:
git clone https://github.com/msmagnanijr/tdc-tekton.git
cd tdc-tekton
Create the service and route:
./create_service_and_route.sh
Create the pipeline objects:
./create_pipeline_objects.sh
Create the pipeline run:
./create_pipelinerun.sh
Check your project route with the following command:
oc get route -n demo
NAME HOST/PORT PATH SERVICES PORT TERMINATION WILDCARD
tdc-app tdc-app-demo.apps.sample.automation.io tdc-app http None
Access the route and you should check the application running.