CDKTF app that deploys a GitHub repository within an organization, along with an organization webhook that triggers self-hosted runners in AWS CodeBuild when workflow jobs are queued.
- cdktf-aws-codebuild-github-runners - Uses a GitHub repository webhook instead of organization webhook.
- cdk-aws-codebuild-github-runners - Uses a GitHub repository webhook instead of organization webhook; built with AWS CDK instead of CDKTF.
- AWS:
- Must have authenticated with Default Credentials in your local environment.
- GitHub:
- Must have set the
GITHUB_TOKEN
andGITHUB_OWNER
variables in your local environment.
- Must have set the
- Terraform:
- Must be installed in your system.
- Node.js + npm:
- Must be installed in your system.
npx projen install
npx projen deploy
-
Access the GitHub Actions workflow by clicking the
<GHA_WORKFLOW_URL>
:GhaWorkflowUrl = <GHA_WORKFLOW_URL>
-
Click
Run workflow
➜Run workflow
. -
Your workflow will be enqueued and run on an ephemeral EC2 instance managed by AWS CodeBuild.
npx projen destroy