To deploy generated images and software packages to the development, testing, or production environments, you must first create application groups and applications as described in Application management. |
On the top navigation bar, click Business Apps.
From the left navigation pane, select Delivery Center > Continuous Delivery.
On the Pipelines page, click Create Pipeline.
Select a scenario template as needed.
The PaaS platform provides the following templates:
Empty Template—Select this option to configure tasks as needed if the other three templates cannot meet your requirements.
Agile Template—Compile and build the source codes in a code repository and continuously deploy the generated software packages or images to an integrated environment for fast validation or delivery.
Tasks involved: build > deploy & upgrade.
Integration Template—Review the source codes in a code repository, compile and build the source codes if they pass code review, deploy the generated software packages or images to an integrated environment for integration testing, and then deliver them to a production environment if they pass integration testing.
Tasks involved: review codes > build > deploy to test environment > perform integration testing > deliver to production environment.
Delivery Template—Review the source codes in a code repository, compile and build the source codes if they pass code review, deploy the generated software packages or images for automation testing, and then deliver them to a production environment if they are approved.
Tasks involved: review codes > build > deploy to development environment > perform integration testing > deploy to test environment > perform automation testing > approve > deliver to production environment.
Orchestrate the pipeline:
Task type |
Description |
Initial settings |
Configure build parameters and trigger mode for the pipeline.
|
Code review |
Use the task you created in "Create a code review task."
|
Build |
Use the task you created in "Configure a build task." Start Mode: Select whether to automatically or manually run the task. |
Deploy to development/test/production environment |
Deploy the generated image or software package to the development, test, or production environment.
When you select a software package in the software center, the software package version can be a variable, which must be declared in the pipeline initial settings. |
Integration test |
When the pipeline runs to this task, an approval process is initiated. The process and approvers are configured by the system administrator in the workflows. The pipeline can continue to run after being approved. |
Automated API test |
Use a created automated test.
|
Manual approval |
Initiate a manual approval process before deployment to ensure the security of the production environment. When the pipeline runs to this task, an approval process is initiated. The process and approvers are configured by the system administrator in the workflows. The software package can be deployed to the production environment after being approved. |
Custom task |
Use the custom task you created in "Configure a custom task." |
Click OK.
Click Run in the Actions column for the created pipeline, configure the run parameters, and then click Run.
The running log details page opens and displays the running information about the pipeline and all tasks in the pipeline.