CodePipeline - some pipelines run automatically, some do not

0

We have several CodePipelines. All are built the same way, using CloudFormation. All have a single SourceAction that uses ECR, pointed at the same repo, using the "latest" tag. When a new image is pushed to ECR and the "latest" tag moves to the new image, 5 of the pipelines run but 3 do not. It is always the same 3 that do not run automatically. But if I select one of the broken pipelines in the AWS Console and hit the "Release Changes" button, it works.

I do not know when this started happening. There are not any error messages and none of the pipelines are in ERROR or FAILED status or anything. I have manually examined each of the broken pipelines and they do not appear to be any different from the working ones. I have searched online and in these forums and I have not been able to find anyone with similar issues. Any help is appreciated.

cls
질문됨 한 달 전157회 조회
2개 답변
0
수락된 답변

I opened a case with AWS support. These were their findings:

The pipeline failed to trigger automatically as there was no EventBridge rule created for the CodePipeline. If the CodePipeline was created using the console, or if the action pages were edited, then the console should have created an EventBridge rule that starts your pipeline when the source changes[1]. However, the rules failed to be created for pipeline ‘xxxxx’.

To ensure the three broken pipelines trigger automatically, please add them as the targets of the EventBridge rule. Refer to [2] for more details on creating a EventBridge rule via console. In the event pattern, replace the image tag and Repository name with the names of your ECR image tag and repository.

References: [1] https://docs.aws.amazon.com/codepipeline/latest/userguide/create-cwe-ecr-source.html [2] https://docs.aws.amazon.com/codepipeline/latest/userguide/create-cwe-ecr-source-console.html

cls
답변함 24일 전
0

Hello there,

To best troubleshoot this issue, we require information that is non-public information. Please open a support case with AWS Support using the link

AWS
답변함 25일 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠