Pipelining an Application Component
One-click deployment can be achieved through pipeline. In this way, the entire process of source code pull, compilation, packaging, archiving, and deployment is automatically implemented. This unifies the integration environment and standardizes the delivery process.
In the new pipeline, the "phase/task" model is optimized to the "build/environment" model. Each pipeline includes a group of build jobs and one or more groups of environment (such as development environment, production-like environment, and production environment) tasks, each group of environment tasks contains one or more subtasks (such as deployment and test tasks) and provides templates.
- Pipelines cannot be created for instances deployed on VMs.
- Pipelines cannot be created for components whose runtime system is Docker.
Creating a Pipeline
- Log in to ServiceStage, choose Application Management > Application List, and click an application to go to the Overview page.
- On the Component List tab, click a component to go to the Overview page.
- Click the Pipeline tab and click Create Pipeline.
- Enter the basic pipeline information.
- Enter a pipeline name.
- (Optional) Enter Description.
- Set pipeline.
- Add a build job.
- Add a deploy job.
Click Add Environment. The deployed components are automatically loaded.
- Set pipeline approval.
Click in the environment area to set the approval mode and approver.
- Approval Mode: By all and By one person are now supported.
- Approved By: You can select multiple accounts as approvers. The system automatically loads all subaccounts of the account.
- Click Create and Start to start the pipeline.
Click Create to save the settings and do not execute the pipeline.
Cloning a Pipeline
You can clone a pipeline to generate a new pipeline based on the existing pipeline configuration.
- Log in to ServiceStage, choose Application List, and select an application and an application component to go to the application component details page. On the page that is displayed, click Pipeline.
- Select a pipeline and click Clone.
- ServiceStage automatically loads configurations of the clone pipeline. You can then modify the configurations as required.
- Click Create and Start to start the pipeline.
Click Create to save the settings and do not execute the pipeline.
Related Operations
After the pipeline is started, you can build and upgrade applications in one-click mode. For details about maintenance after application components are upgraded, see Application O&M.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot