{"repo":"Privatehive/gcp-hosted-github-runner","free":true,"listed":false,"github":"https://github.com/Privatehive/gcp-hosted-github-runner","clone":"git clone https://github.com/Privatehive/gcp-hosted-github-runner.git","description":"☁️ Automatically create/delete Google Cloud hosted ephemeral runner for GitHub Workflows","language":"Go","stars":17,"topics":["ephemeral","gcp","github-runner","self-hosted"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"gcp-hosted-github-runner ☁️☁️☁️ This terraform module provides a ready to use solution for Google Cloud hosted GitHub ephemeral runner ☁️☁️☁️ [!IMPORTANT] I am not responsible if this Terraform module results in high costs on your billing account. Keep an eye on your billing account and activate alerts! Quickstart 1. Apply Terraform Add this Terraform module to your root module and provide/adjust the values: Authenticate with gcloud and apply the terraform module (apply twice if the first apply results in an error - wait some minutes in between) [!IMPORTANT] After a successful initial setup you should remove the runner webhook config output because it prints the webhook secret(s). Also make sure that the Terraform state file is stored in a safe place (e.g. in a private Cloud Storage bucket). The state file contains the webhook secret as plaintext. 2. Configure GitHub webhook Have a look at the Terraform output runner webhook config . There you find the Cloud Run webhook payload url(s) and the associated webhook secret(s). For each output line you have to create either an Enterprise, Organization or Repository webhook: Fill in the Payload URL (from the Terraform output) Select Content type \"application/json\" Fill in the Secret (from the Terraform output) Enable SSL verification Select \"Let me select individual events\": Make sure everything is deselected and then select \"Workflow jobs\" (at the bottom) Check \"Active\" Click \"Add webhook\" 3. Provide PAT For an Enterprise : Create ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Privatehive","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Privatehive/gcp-hosted-github-runner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}