Updated on 2024-11-21 GMT+08:00

Introduction to CodeArts Deploy Templates

CodeArts Deploy provides popular templates for deployment process (system templates) and allows you to save custom deployment processes as custom templates, enabling you to quickly create applications. This section describes how to create an application using a template.

You can add a system template to favorites. After the template is added to favorites, the template is moved to the top of the system template list. If you favorite multiple templates, the templates are displayed on the top from newest to oldest based on the time when they are favorited.

Creating an Application Using a System Template - Procedure

  1. Go to the CodeArts homepage and click the target project name to access the project.
  2. Choose CICD > Deploy.
  3. Click Create Application. On the Set Basic Information page that is displayed, modify the basic information such as Name, Execution Host, and Description, as required. For details, see Editing the Basic Information.
  4. After editing the basic application information, click Next and go to the Select Template page.
  5. Select a recommended template based on the service type. Click OK. The Deployment Actions page is displayed. The left pane is the action orchestration area, and the right pane is the action details area.
  6. (Optional) Configure application information.

    1. Click above or below an added action. All actions that can be added are displayed in the right pane. You can add an action before or after the current action.
      • You can drag, add, and delete actions in the action orchestration area.
      • You can save the current application as a custom template by clicking Save as Custom Template. Then the template will be displayed under Templates > Custom Templates.
    2. After adding an action, configure the action information. For details, see Configuring Deployment Actions for an CodeArts Deploy Application.
    3. After the action information is configured, switch to the Basic Information tab page and click Edit to edit basic information as required. For details, see Editing the Basic Information.

      Only specific users at the Mexico site can edit Execution Host.

    4. Switch to the Parameters tab page, and create custom parameters as required. For details, see Editing Parameters.
    5. Switch to the Environment Management tab page, and create and manage environments as required. For details, see Configuring an Environment.
    6. Switch to the Permissions tab page and configure role permissions as required. For details, see Configuring Permissions for Different Roles.

    7. Switch to the Notifications page to notify users of application events they favorited through emails. For details, see Configuring System Notifications.

  7. After configuring all information, click Save.

Generating an application using a system template: Choose Templates > System Templates, and click in the Operation column of the target template.