garysassano / cdktf-aws-codebuild-github-runners

CDKTF app that deploys a GitHub repository with a workflow that makes use of self-hosted runners in AWS CodeBuild

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cdktf-aws-codebuild-github-runners

CDKTF app that deploys a GitHub repository with a workflow that makes use of self-hosted runners in AWS CodeBuild.

Prerequisites

  • AWS:
  • GitHub:
    • Must have set the GITHUB_TOKEN variable in your local environment.
  • Node.js + npm:

Installation

npx projen install

Deployment

npx projen deploy

Usage

  1. Navigate to https://github.com/<GITHUB_USERNAME>/sample-repo/actions/workflows/hello-world.yml.

  2. Click Run workflowRun workflow.

  3. Your workflow will be enqueued and run on an ephemeral EC2 instance managed by AWS CodeBuild.

Cleanup

npx projen destroy

Architecture Diagram

Architecture Diagram

About

CDKTF app that deploys a GitHub repository with a workflow that makes use of self-hosted runners in AWS CodeBuild

License:Apache License 2.0


Languages

Language:TypeScript 100.0%