copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

Add support for easy deployment of GitHub status checks for the pipeline

Open federicobond opened this issue 3 years ago • 8 comments

This would be really useful for those of us using GitHub to host our code. It could implement a stack for a system like this: https://aws.amazon.com/es/blogs/devops/aws-codepipeline-build-status-in-a-third-party-git-repository/

federicobond avatar Aug 26 '22 02:08 federicobond

Thanks for the suggestion, @federicobond! We will look into this for sure.

huanjani avatar Aug 26 '22 15:08 huanjani

Related: #3062, #2305, https://zenn-dev.translate.goog/rentio/articles/convox-to-copilot?_x_tr_sl=auto&_x_tr_tl=en&_x_tr_hl=en-US#copilot-pipeline.

huanjani avatar Aug 26 '22 15:08 huanjani

I tried adding the CloudFormation template you mentioned as an addon but deploying the service (even after a delete) just throws me this error:

✘ deploy service web to environment test: deploy service: describe stack events connect-test-web-AddonsStack-2PZA94X64K7G: ValidationError: Stack [connect-test-web-AddonsStack-2PZA94X64K7G] does not exist
        status code: 400, request id: 17681e93-0d7f-48a0-8348-726add1076dc

federicobond avatar Aug 26 '22 18:08 federicobond

🤔 Could you try running the command again and watching in the CloudFormation console to see if the nested stack attempts to create? If it does, please watch in the 'Events' tab to see why it isn't successful?

huanjani avatar Aug 26 '22 22:08 huanjani

This issue is stale because it has been open 60 days with no response activity, and is tagged with pending/question. Remove the stale label, add a comment, or this will be closed in 14 days.

github-actions[bot] avatar Oct 29 '22 00:10 github-actions[bot]

Removing the stale and pending/question labels because the GH status check request still stands.

huanjani avatar Oct 31 '22 16:10 huanjani

Any progress made on this?

heyitsmunyr avatar Jan 11 '24 18:01 heyitsmunyr

@heyitsmunyr I think this should be a feature request for Codebuild/codepipeline: when GH as a source of a pipeline, you can't really turn the badge feature on for codebuild right now. As for now, https://aws.amazon.com/es/blogs/devops/aws-codepipeline-build-status-in-a-third-party-git-repository/ this might be one of the easiest workaround.

iamhopaul123 avatar Jan 11 '24 18:01 iamhopaul123