{"id":16563998,"url":"https://github.com/brndnmtthws/gitlab-gce-autoscaler","last_synced_at":"2026-04-17T03:33:27.257Z","repository":{"id":52362323,"uuid":"174625005","full_name":"brndnmtthws/gitlab-gce-autoscaler","owner":"brndnmtthws","description":"Simple GCE autoscaler for GitLab CI pipelines","archived":false,"fork":false,"pushed_at":"2021-04-30T13:14:25.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T20:40:34.195Z","etag":null,"topics":["autoscaler","gce","gitlab-ci"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brndnmtthws.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}},"created_at":"2019-03-08T23:29:38.000Z","updated_at":"2021-04-30T13:14:28.000Z","dependencies_parsed_at":"2022-09-13T16:12:55.736Z","dependency_job_id":null,"html_url":"https://github.com/brndnmtthws/gitlab-gce-autoscaler","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brndnmtthws%2Fgitlab-gce-autoscaler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brndnmtthws%2Fgitlab-gce-autoscaler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brndnmtthws%2Fgitlab-gce-autoscaler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brndnmtthws%2Fgitlab-gce-autoscaler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brndnmtthws","download_url":"https://codeload.github.com/brndnmtthws/gitlab-gce-autoscaler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241982777,"owners_count":20052557,"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":["autoscaler","gce","gitlab-ci"],"created_at":"2024-10-11T20:42:57.356Z","updated_at":"2026-04-17T03:33:22.225Z","avatar_url":"https://github.com/brndnmtthws.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/brndnmtthws/gitlab-gce-autoscaler.svg?branch=master)](https://travis-ci.org/brndnmtthws/gitlab-gce-autoscaler) [![PyPI version](https://badge.fury.io/py/gitlab-gce-autoscaler.svg)](https://badge.fury.io/py/gitlab-gce-autoscaler)\n\n# GitLab GCE Autoscaler\n\nA very simple autoscaler for GitLab CI on GCE\n\n## Features\n\n- watches a GitLab pipeline for queued jobs\n- scales a GCE instance group to meet demand\n\nThat's it 😄\n\n## Synopsis\n\n```ShellSession\n$ gitlab-gce-autoscaler --help\nUsage: gitlab-gce-autoscaler [OPTIONS]\n\nOptions:\n  --project-id TEXT               GCE project ID\n  --gce-zone TEXT                 GCE zone\n  --gce-instance-group-name TEXT  Name of GCE instance group  [required]\n  --job-filter TEXT               Filter job names by this comma separated\n                                  list of keywords\n  --interval INTEGER              Interval (in seconds) to poll GitLab API\n  --gitlab-project-ids TEXT       Comma separate list of GitLab projects IDs\n                                  to poll for jobs  [required]\n  --gitlab-personal-token TEXT    GitLab API token  [required]\n  --slots-per-instance INTEGER    Target number of slots per instance\n  --help                          Show this message and exit.\n```\n\n## Helm Chart\n\nThere's a Helm chart included in the repo. To use it, you'll need to create a service account on GCE with the following permissions:\n\n- `compute.instanceGroupManagers.get`\n- `compute.instanceGroupManagers.update`\n\nThen, create a secret with the service account credentials:\n\n```ShellSession\n$ kubectl create secret generic gitlab-gce-autoscaler --from-file=service-account-creds.json=service-account.json\nsecret/gitlab-gce-autoscaler created\n```\n\nNow install the chart:\n\n```ShellSession\n$ helm upgrade --install gitlab-gce-autoscaler helm/gitlab-gce-autoscaler -f myvalues.yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrndnmtthws%2Fgitlab-gce-autoscaler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrndnmtthws%2Fgitlab-gce-autoscaler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrndnmtthws%2Fgitlab-gce-autoscaler/lists"}