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
Locate a pipeline template and click ‘Create Pipeline’ button.
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).
Source Repository:
Provide the required fields to configure your SCM (Gitlab, Github or Bitbucket) as shown in the below image.
Provide a step name
Choose the Platform type. The following SCM platforms will be available for selection: Gitlab, Github or Bitbucket.
Select an Account. The dropdown will include configured tools from the Tool Registry specific to the selected Platform.
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.
Choose the configured Jenkins tool that you want to use it for your pipeline
Provide the Jenkins Job Type, configured in your Jenkins tool’s Jobs tab.