{"id":20670074,"url":"https://github.com/gitpod-io/gce-github-runner","last_synced_at":"2025-04-19T18:13:33.901Z","repository":{"id":180209877,"uuid":"664744431","full_name":"gitpod-io/gce-github-runner","owner":"gitpod-io","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-21T05:49:03.000Z","size":118,"stargazers_count":6,"open_issues_count":1,"forks_count":4,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-03-29T11:34:32.793Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitpod-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-10T16:43:33.000Z","updated_at":"2025-03-21T05:49:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"2292d263-2300-4e16-8e92-8feba7ab8217","html_url":"https://github.com/gitpod-io/gce-github-runner","commit_stats":null,"previous_names":["gitpod-io/gce-github-runner"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fgce-github-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fgce-github-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fgce-github-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-io%2Fgce-github-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpod-io","download_url":"https://codeload.github.com/gitpod-io/gce-github-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249760248,"owners_count":21321843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T20:17:53.182Z","updated_at":"2025-04-19T18:13:33.883Z","avatar_url":"https://github.com/gitpod-io.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gce-github-runner\n\nEphemeral GCE GitHub self-hosted runner based on https://github.com/related-sciences/gce-github-runner\n\nFor more context see [Running Github runners in GCE VMs](https://www.notion.so/gitpod/Running-Github-runners-in-GCE-VMs-6ccd9c876abb4061b62671548279bca7)\n\n## Usage\n\n```yaml\njobs:\n  create-runner:\n    uses: gitpod-io/gce-github-runner/.github/workflows/create-vm.yml@secrets\n    secrets:\n      runner_token: ${{ secrets.GH_SA_TOKEN }}\n      gcp_credentials: ${{ secrets.GCP_SA_KEY }}\n\n  test:\n    needs: [create-runner]\n    runs-on: ${{ needs.create-runner.outputs.label }}\n    steps:\n      - run: echo \"This runs on the GCE VM\"\n\n  delete-runner:\n    if: always()\n    needs:\n      - create-runner\n      - test\n    uses: gitpod-io/gce-github-runner/.github/workflows/delete-vm.yml@secrets\n    secrets:\n      gcp_credentials: ${{ secrets.GCP_SA_KEY }}\n    with:\n      runner-label: ${{ needs.create-runner.outputs.label }}\n      machine-zone: ${{ needs.create-runner.outputs.machine-zone }}\n```\n\n* `create-runner` creates the GCE VM and registers the runner with unique label\n* `test` uses the runner\n* `delete-runner` waits for the end of the steps execution and then shutdowns the GCE VM, removing the runner from the GitHub runner\n\n\n## Inputs\n\nSee inputs and descriptions [here](./action.yml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-io%2Fgce-github-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpod-io%2Fgce-github-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-io%2Fgce-github-runner/lists"}