Updated on 2023-11-28 GMT+08:00

Deploying a Go Application

Deploy a Go web service on the host and start the service.

Go has been installed on the target host. Remove the Install Go action from the template.

The related deployment actions are as follows:

  1. Install Go.
  2. Download the software package.
  3. Stop Go.
  4. Start Go.
  5. Perform the health test.

The table below describes the parameters to be set in the template.

Table 1 Template parameters

Parameter

Description

host_group

Target environment where the application is deployed.

package_url

Path of the application release package in Artifact.

app_name

Application name to obtain the process ID and stop the process.

service_port

Application port.