示例:定义两个操作组 - Amazon CodeCatalyst

示例:定义两个操作组

以下示例说明如何定义两个 Amazon CodeCatalyst 操作组:BuildAndTestDeployBuildAndTest 组包括两个操作(BuildTest),Deploy 组同样包括两个操作(DeployCloudFormationStackDeployToECS)。

Actions: BuildAndTest: # Action group 1 Actions: Build: Identifier: aws/build@v1 Configuration: ... Test: Identifier: aws/managed-test@v1 Configuration: Deploy: #Action group 2 Actions: DeployCloudFormationStack: Identifier: aws/cfn-deploy@v1 Configuration: ... DeployToECS: Identifier: aws/ecs-deploy@v1 Configuration: ...