-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sdlf-cicd] github support as an alternative to codecommit
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. * Setup a CodeConnection to GitHub. * Populate `/SDLF/GitHub/CodeConnection` in SSM Parameter Store with the ARN of the CodeConnection. * Put the access token in `/SDLF/GitHub/AccessToken` in SSM Parameter Store as a secure string. * Enable the third-party resource type `GitHub::Repositories::Repository` on CloudFormation Registry. Do not forget to configure it. * Use `-f github` when deploying SDLF with `deploy.sh`. Resource type configuration example: ``` { "GitHubAccess": { "AccessToken": "{{resolve:ssm-secure:/cfn/github/accesstoken:1}}" } } ```
- Loading branch information
Showing
10 changed files
with
503 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.