Action
ACS::CICD::LocalBuildAndDeploy
Description
Builds and deploys a Docker image or a software package on an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::CICD::LocalBuildAndDeploy
Properties:
regionId: String
instanceId: String
codeSource: String
codeSourceUrl: String
branch: String
isDockerBuild: Boolean
buildAndDeployScript: String
Attributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
instanceId | The ID of the ECS instance. | String | Yes | ||
codeSource | The code source. | String | Yes | ||
codeSourceUrl | The URL of the code source. | String | Yes | ||
branch | The branch ID. | String | No | "" | |
isDockerBuild | Specifies whether to build a Docker image. | Boolean | No | True | |
buildAndDeployScript | The script that is used to build and deploy the Docker image or software package. | String | Yes | The script can be up to 16,384 bytes in length. |
Output
None
References
For more information, see ACS::CICD::LocalBuildAndDeploy.yml at GitHub.