Updated on 2024-03-04 GMT+08:00

Creating an Application Using a Template

CodeArts Deploy provides deployment process templates (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.

Using a System Template

  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 App Name, Project, Execution Resource Pool, 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) Click above or below an added action. All actions that can be added are displayed on the right of the page. 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 click Save as Custom Template to save the current application as a custom template, which will be displayed under Orchestration Template Management > Custom Templates.

  7. (Optional) After adding an action, configure the action information. For details, see Deployment Actions.
  8. (Optional) After the action information is configured, switch to the Basic Information tab page and edit basic information as required. For details, see Editing the Basic Information.

    Only specific users at the Mexico site can edit Execution Resource Pool.

  9. (Optional) After the preceding operations are complete, switch to the Parameters tab page, and create custom parameters as required. For details, see Editing Parameters.
  10. (Optional) After the preceding operations are complete, switch to the Environment Management tab page, and create and manage environments as required. For details, see Editing the Environment.
  11. (Optional) After the preceding operations are complete, switch to the Permissions tab page, and configure role permissions as required. For details, see Editing Permissions.

  12. (Optional) After the preceding operations are complete, switch to the Notifications tab page to notify users of application events through emails. For details, see Editing Notifications.

  13. After configuring all information, click Save.