Is it possible to order Source actions in CodePipeline?

前端 未结 2 2092
温柔的废话
温柔的废话 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:48

    If the intended way is to have the ECR commit processed along with whatever is uploaded to your S3, and assuming it's a new version of the exact same object name, you could get that data into your Build stage of your Pipeline, pulling the latest version like you tried with the Lambda function; or have some alternative way to identify that new S3 object.

    If you're uploading the zip content to S3 and then committing the ECR push, you definitely could move the S3 bucket out of the Source stage and have it be somewhat independent as far as the Pipeline and triggers are concerned. It'll be another step in your Build project at the appropriate phase.

提交回复
热议问题