Building a Declarative Pipeline

Opsera pipelines follow a declarative model. This means that you focus on what steps are required throughout the pipeline and now how those steps are accomplished. You specify what you require to be accomplished and Opsera will handle the rest.

This tutorial will walk you through how to create and configure the steps within an Opera Pipeline with the tools and cloud of your choice.

 

Create a Pipeline from Catalog

 

  1. Locate a pipeline template and click ‘Create Pipeline’ button.

  2. Update the fields marked in * for accurate logging and analytics purpose.

4.Click “Workflow” next to the summary tab to view the pipeline workflow as shown in the below image.

 

If you are here , then Congratulations You are only few steps away from building a robust declarative pipeline.

Configure your pipeline with steps (connecting to your SCM, Build, Unit testing, Static code analysis, Functional testing, Artifact upload, Docker push, Container scan and deployment).

  1. Source Repository:

     

    Provide the required fields to configure your SCM (Gitlab, Github or Bitbucket) as shown in the below image.

    1. Provide a step name

    2. Choose the Platform type. The following SCM platforms will be available for selection: Gitlab, Github or Bitbucket.

    3. Select an Account. The dropdown will include configured tools from the Tool Registry specific to the selected Platform.

    4. Choose the Repository from your configured SCM tools

       

Note: Please update your Tool Registry with your account and authentication information so that the above details shown in the image gets populated.
As part of Opsera data privacy and security, any token or authentication information is encrypted and stored in Vault and Opsera or anyone within Opsera will not have any control or visibility to your token or passwords.

2. Configuring Build:

On the right side of the screen please provide the required fields to configure your Build (Jenkins or Teamcity) as shown in the below image.

  1. Choose the configured Jenkins tool that you want to use it for your pipeline

  2. Provide the Jenkins Job Type, configured in your Jenkins tool’s Jobs tab.

 

Note: Please update your tool registry with your account and authentication information so that the above details shown in the image gets populated.