[sdlf-cicd] github support as an alternative to codecommit #374
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
#328 although support here is only for public GitHub.
Description of changes:
Replace CodeCommit entirely with GitHub - all SDLF repositories (components, main and team repositories) can now be hosted on GitHub. This does not replace CodeBuild and CodePipeline, GitHub Actions are not used.
Creating repositories is done through CloudFormation third-party resource types: https://github.com/aws-ia/cloudformation-github-resource-providers/tree/main/GitHub-Repositories-Repository
Currently SDLF is quite rigid in terms of setup for GitHub, in part due to limitations of the aforementioned resource types.
/SDLF/GitHub/CodeConnection
in SSM Parameter Store with the ARN of the CodeConnection./SDLF/GitHub/AccessToken
in SSM Parameter Store as a secure string.GitHub::Repositories::Repository
on CloudFormation Registry. Do not forget to configure it.-f github
when deploying SDLF withdeploy.sh
.Resource type configuration example:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.