Action
ACS::CICD::SoftwarePackageDeploy
Description
Deploys a software package on multiple Elastic Compute Service (ECS) instances. This operation can be performed only on Linux ECS instances.
Syntax
Action: ACS::CICD::SoftwarePackageDeploy
Properties:
regionId: String
targets: Json
bucketName: String
objectName: String
isInternal: Boolean
downloadPath: String
deployScript: String
rateControl: JsonAttributes
Attribute | Description | Type | Required | Default value | Limit |
regionId | The region ID. | String | No | {{ ACS::RegionId }} | |
targets | The ECS instances on which you want to deploy the software package. | Json | Yes | ||
bucketName | The name of the Object Storage Service (OSS) bucket. | String | Yes | ||
objectName | The name of the OSS object. | String | Yes | ||
isInternal | Specifies whether to generate an internal URL. | Boolean | No | True | |
downloadPath | The download path of the software package. | String | No | /home/admin/app/ | |
deployScript | The deployment script. | String | No | | |
rateControl | The rate control settings. | Json | No | {'Mode': 'Concurrency', 'MaxErrors': 0, 'Concurrency': 10} |
Output
None
References
For more information, see ACS::CICD::SoftwarePackageDeploy.yml at GitHub.