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

Customizing a Template

A custom template can be used in either of the following scenarios:

A custom template can be directly used during application creation.

Customizing from a Blank 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, enter basic information, and click Next.
  4. Click Blank Template to enter the Deployment Actions tab page.
  5. On the Deployment Actions page, add deployment actions based on service requirements.
  6. Click Save as Custom Template. In the dialog box displayed, enter the template name and description, and click OK.

Customizing a Template from an Existing Application

  1. Go to the CodeArts homepage and click the target project name to access the project.
  2. Choose CICD > Deploy.
  3. On the Applications tab page, select an application to be deployed and find its Operation column. Click More and choose Edit to view the detailed configuration information of the application.
  4. Edit the deployment actions based on service requirements.
  5. Click Save as Custom Template. In the dialog box displayed, enter the template name and description, and click OK.

Creating a Custom Template on the Application Creation Page

  1. Go to the CodeArts homepage and click the target project name to access the project.
  2. Choose CICD > Deploy.
  3. Click Create Application. The Basic Information page is displayed.
  4. Click Next, select Custom Templates in the Template column, and click New Template on the right of the custom template. If no template is available, you can click Create One to create a custom template.
  5. Configure basic information, template orchestration, and parameter settings as needed.
  6. Click Save in the upper right corner.

Creating Custom Templates on the Orchestration Template Management Page

  1. Go to the CodeArts homepage and click the target project name to access the project.
  2. Choose CICD > Deploy.
  3. Click Orchestration Template Management and click All.
  4. Click Create Custom.
  5. Configure basic information, template orchestration, and parameter settings as needed.
  6. Click Save in the upper right corner.