Esta página ainda não está disponível no idioma selecionado. Estamos trabalhando para adicionar mais opções de idiomas. Agradecemos sua compreensão.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Creating a Pipeline

Updated on 2024-12-16 GMT+08:00

This section describes how to create a pipeline.

Prerequisites

A build job has been created. For details, see Creating a Source Code Job or Creating a Package Job.

Creating a Pipeline

  1. Log in to ServiceStage.
  2. Choose Continuous Delivery > Pipeline.
  3. Click Create Pipeline and set basic pipeline information by referring to the following table. Parameters marked with an asterisk (*) are mandatory.

    Parameter

    Description

    *Pipeline

    Pipeline name.

    Enter 1 to 99 characters. Start with a letter. Only use letters, digits, periods (.), at signs (@), and hyphens (-).

    *Enterprise Project

    Enterprise projects let you manage cloud resources and users by project.

    It is available after you enable the enterprise project function.

    Description

    Pipeline description. Enter up to 255 characters.

  4. Click Back to Template, and select and configure a pipeline template by referring to the following table.

    ServiceStage provides built-in pipeline templates for typical scenarios. After a pipeline template is selected, a pipeline model is automatically generated.

    Template Name

    Description

    Empty Template

    You need to add a pipeline model.

    1. Click the Empty Template card.
    2. Add a build job to generate an image package.
      1. Click Select Build Job.
      2. Select a build job.

        If there is no build job, create one by referring to Creating a Source Code Job or Creating a Package Job.

      3. Click OK.

      Repeat this step to add more build jobs. The build job must belong to the enterprise project set in 3.

    3. Add a deployment environment to deploy the image package generated by build job to the environment.
      1. Click Add Environment.
      2. Click and enter an environment name.
      3. Select the deployed application component in the build job and click OK.

        If there is no application component in the environment, create and deploy one by referring to Creating and Deploying a Component Based on a Container Using UI Configurations and Creating and Deploying a Component Based on a Container Using YAML Configurations.

        Click Change Component to select another component.

      4. Select Build Job: Select the added build job for build.
      5. Build Output: Set the archive path of the image generated by the build job.
      6. Click OK.

      Repeat this step to add more deployment environments.

    4. Configure pipeline approval to determine whether to deploy the image package generated during build to the environment.
      1. Click on an environment card.
      2. Set Approval Mode.

        By all: The image package generated during build can be deployed in the environment only after all selected approvers approve the deployment.

        By one person: The image package generated during build can be deployed in the environment after any approver approves the deployment.

      3. Set Approved By.

        You can select multiple approvers. The system automatically loads all subaccounts of the account.

      4. Click OK.

    Simple Template

    The "build" model is automatically added to compile and build the source code of the code library.

    1. Select Simple Template.
    2. Click Create.
    3. Add a build job to generate an image package.
      1. Click on a build job card.
      2. Select a build job.

        If there is no build job, create one by referring to Creating a Source Code Job or Creating a Package Job.

      3. Click OK.

        Click Select Build Job to add multiple build jobs. The build job must belong to the enterprise project set in 3.

    Common Template

    The "Build/Production environment" model is automatically added to compile and build the source code of the code library, and the generated software package or image is continuously released to the production environment.

    1. Select Common Template.
    2. Click Create.
    3. Add a build job to generate an image package.
      1. Click on a build job card.
      2. Select a build job.

        If there is no build job, create one by referring to Creating a Source Code Job or Creating a Package Job.

      3. Click OK.

        Click Select Build Job to add multiple build jobs. The build job must belong to the enterprise project set in 3.

    4. Add a deployment environment to deploy the image package generated by build job to the environment.
      1. Click Add Environment.
      2. Click on the empty environment card. The Add Environment dialog box is displayed.
      3. Click and enter an environment name.
      4. Click to save the environment name.
      5. Select the deployed application component in the build job and click OK.

        If there is no application component in the environment, create and deploy one by referring to Creating and Deploying a Component Based on a Container Using UI Configurations and Creating and Deploying a Component Based on a Container Using YAML Configurations.

        Click Change Component to select another component.

      6. Select Build Job: Select the added build job for build.
      7. Build Output: Set the archive path of the image generated by the build job.
      8. Click OK.

      Repeat this step to add more deployment environments.

    5. Configure pipeline approval to determine whether to deploy the image package generated during build to the environment.
      1. Click on an environment card.
      2. Set Approval Mode.

        By all: The image package generated during build can be deployed in the environment only after all selected approvers approve the deployment.

        By one person: The image package generated during build can be deployed in the environment after any approver approves the deployment.

      3. Set Approved By.

        You can select multiple approvers. The system automatically loads all subaccounts of the account.

      4. Click OK.

  5. Determine whether to start the pipeline:

    • If yes, click Create and Execute to save the settings and start the pipeline. After the pipeline is started, its status is Successful .
      NOTE:

      If the pipeline need to be approved, it is in the To be confirmed state during component deployment. The pipeline can continue to run only after you notify the approvers for approval. For details, see Approving a Pipeline.

    • If no, click Create to save the settings only. After the pipeline is created, its status is Not executed.

    To view the pipeline, see Viewing Pipeline Details.

Usamos cookies para aprimorar nosso site e sua experiência. Ao continuar a navegar em nosso site, você aceita nossa política de cookies. Saiba mais

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback