Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions for CI/CD #379

Closed
samuelcastro opened this issue Jun 8, 2022 · 3 comments
Closed

Github Actions for CI/CD #379

samuelcastro opened this issue Jun 8, 2022 · 3 comments

Comments

@samuelcastro
Copy link

This is a question not a bug.

Can I use Github Actions to manage deploy/update my org formation infrastructure, or it has to be through CodePipeline?

Thanks.

@OlafConijn
Copy link
Member

OlafConijn commented Jun 8, 2022

yes, you can! most of the projects I am involved in run on GitHub actions. The CLI does codepipiline because it only requires AWS Credentials.

roughly the way this works:

  • you would covert your build spec to a workflow file
  • you would set up a role in your AWS Account that you can assume from within your GitHub actions (either by storing creds in secrets or OIDC )
    • the role would need to exist in the account you would otherwise run your CodePipeline. it would also need the same permissions. depending on which options you used to set up this is either your management/master account or a dedicated build account
  • clone your code from CodeCommit and push it into Github

good luck!

@samuelcastro
Copy link
Author

Awesome, thank you!

@samuelcastro
Copy link
Author

@OlafConijn Would you have a template or a sample project using Github Actions? If not, I think creating one would be very helpful for the community.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants