Pipeline Conversions and Migrations

Ozone uses AI to convert external/legacy pipelines into reusable Tekton Pipelines. It also uses AI to generate pipelines based on user prompts. Let us begin with pipeline generation and then proceed to conversion.

a. Pipeline Conversion

For Pipeline Conversions, you can refer to the doc on how to onboard Jenkins as a provider on ozone. After connecting Jenkins as a provider on ozone. Navigate to the left-hand menu and select the "Pipeline Templates"

Now you can see all the existing pipeline templates on the screen, click on External Pipelines

All the Jenkins pipelines will be synced automatically and can be seen in the external pipeline view screen. Next, Click on "Convert" button to convert your Jenkins pipeline into Tekton format

Now you can see your existing Jenkins pipeline has automatically got converted into tekton format.

If you want to check your old Jenkins pipeline, you can toggle between the original and generated pipeline b. Prompt Based Pipeline Generation Navigate to the left-hand menu and select the "Pipeline Templates"

Now you can see all the existing pipeline templates on the screen and to create a new pipeline click on "+ New Pipeline" which is on the top right corner

Choose how you want to create your pipelines. For creating pipelines manually refer to Ozone Pipeline Studio. Select Create using Auto-Generate and then click on Continue

Write your prompt to generate the best possible Tekton YAMLs for your use case and click on Generate

Tekton YAML is generated according to your use case and you can either use a prompt or edit the result to further customize the converted Tekton YAML

Last updated