Add services and pipelines
Last updated
Last updated
This is an older version of the document. To view the most recent version of the document, click here.
Services and Pipelines After creating the main application, you need to add the components to the application. These components are know as services/micro services. A micro service is always associated with an application.
To add services, follow the steps given below:
After clicking the Save and Next button, the following screen will appear:
Enter the Service Name in the text box and click Save. The following options screen will appear:
In the above image, a pipeline test_Service has been created along with the service. Click the test_Service pipeline to make changes to the pipeline. Refer to the image below:
After clicking, the following options will appear:
In the above screen, you can do the following:
Type : Select the type of gate using the drop-down, the options are Approval and Verification. A gate is an access point which allows you to stop the pipeline to automatically go to the next stage. A gate helps you to manually intervene and verify or approve a stage of the pipeline before moving on to the next stage in sequence. The following are the options:
If you select the gate type as verification, you can do the following:
Select or add a Log Template. To know more on log templates click here.
Select or add a Metric Template. To know more on metric templates click here.
If you select the gate type as approval, you can do the following:
Select the connector from the drop-down. The available connectors are:
JIRA
GIT
AUTOPILOT
SONARQUBE
JENKINS
AQUAWAVE
APPSCAN
Select the Account from the drop-down.
Select the template from the drop-down.
If you select the gate type as verification you can only add a log template as shown below:
If you select the type as Policy you will be to select the Policy from the Policy Configuration field as shown below:
After selecting the type there are some common fields which appears irrespective of the type selected. They are as follows:
Environment : Any gate is associated with an environment. An environment can be a testing environment, a staging environment or a production environment. Each environment are distinct and will have different credentials. Based on the environment the stages of a pipeline will vary. Click the drop-down and select Add Environment. Enter the name of the environment as shown below:
Gate Name : Enter the name of the gate in the text box.
Click Save to add the gate. You can add multiple gates to one service. Click the Add New Gate button as shown below:
When you are trying to add a second gate you can set the dependency of the new gate on a previous gate. To do so, select the previous gate from the Depends On drop-down as shown below:
After adding multiple gates to a service the Pipeline View will appear as shown below: