Giter Site home page Giter Site logo

airhorns / terraform-google-github-actions-runners Goto Github PK

View Code? Open in Web Editor NEW

This project forked from terraform-google-modules/terraform-google-github-actions-runners

0.0 2.0 0.0 66 KB

[ALPHA] Module to create self-hosted GitHub Actions Runners on GCP

License: Apache License 2.0

Makefile 6.00% HCL 77.83% Ruby 8.26% Shell 7.91%

terraform-google-github-actions-runners's Introduction

terraform-google-github-actions-runners

Using these Terraform modules you can quickly deploy Self Hosted Github Runners for jobs in your GitHub Actions workflows

Self Hosted Runners on GKE

The gh-runner-gke module provisions the resources required to deploy Self Hosted Runners on GCP infrastructure using GKE.

This includes

  • Enabling necessary APIs
  • VPC
  • GKE Cluster
  • Kubernetes Secret

Below are some examples:

Self Hosted runners on GKE that support Docker Workflows

This example shows how to deploy Self Hosted Runners on GKE that supports Docker Workflows.

Simple Self Hosted Runners on GKE

This example shows how to deploy a simple GKE Self Hosted Runner.

More examples of Self Hosted Runners on GKE/Anthos.

Self Hosted Runners on Managed Instance Groups using VMs

The gh-runner-mig-vm module provisions the resources required to deploy Self Hosted Runners on GCP infrastructure using Managed Instance Groups.

This includes

  • Enabling necessary APIs
  • VPC
  • NAT & Cloud Router
  • Service Account for MIG
  • MIG Instance Template
  • MIG Instance Manager
  • FW Rules
  • Secret Manager Secret

Deployment of Managed Instance Groups requires a Google VM image with a startup script that downloads and configures the Runner or a pre-baked image with the runner installed.

Below are some examples:

Simple Self Hosted Runner on MIG VMs

This example shows how to deploy a MIG Self Hosted Runner with startup scripts.

Self Hosted Runner on MIG VMs from Packer Image

This example shows how to deploy a MIG Self Hosted Runner with an image pre-baked using Packer.

Self Hosted Runners on Managed Instance Groups using Container VMs

The gh-runner-mig-container-vm module provisions the resources required to deploy Self Hosted Runners on GCP infrastructure using Managed Instance Groups.

This includes

  • Enabling necessary APIs
  • VPC
  • NAT & Cloud Router
  • MIG Container Instance Template
  • MIG Instance Manager
  • FW Rules

Below are some examples:

Self Hosted runners on MIG Container VMs that support Docker Workflows

This example shows how to deploy a Self Hosted Runner that supports Docker Workflows on MIG Container VMs.

Simple Self Hosted Runner on MIG Container VMs

This example shows how to deploy a Self Hosted Runner on MIG Container VMs.

Requirements

These sections describe requirements for using this module.

Software

The following dependencies must be available:

Contributing

Refer to the contribution guidelines for information on contributing to this module.

terraform-google-github-actions-runners's People

Contributors

bharathkkb avatar cloud-foundation-bot avatar jonico avatar morgante avatar release-please[bot] avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.