Is it possible to order Source actions in CodePipeline?

前端 未结 2 2087
温柔的废话
温柔的废话 2021-01-26 09:56

I have two different sources in my CodePipeline, ECR and S3. My deployment pipeline uploads a zip to S3, and then an image to ECR.

I need CodePipeline to detect just the

2条回答
  •  一向
    一向 (楼主)
    2021-01-26 10:50

    As trigger for the CodePipeline to run, define the CloudWatch event trigger only for ECR, not for S3 changes. Disable the Pipeline built-in trigger/pull.

    https://docs.aws.amazon.com/codepipeline/latest/userguide/create-cwe-ecr-source-console.html This will make sure only ECR triggers a pipeline execution.

提交回复
热议问题