{"id":15055401,"url":"https://github.com/hetznercloud/fleeting-plugin-hetzner","last_synced_at":"2025-10-07T10:51:57.455Z","repository":{"id":256722355,"uuid":"856209660","full_name":"hetznercloud/fleeting-plugin-hetzner","owner":"hetznercloud","description":"Mirror of https://gitlab.com/hetznercloud/fleeting-plugin-hetzner","archived":false,"fork":false,"pushed_at":"2025-10-06T08:40:22.000Z","size":1100,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-10-06T10:29:44.748Z","etag":null,"topics":["fleeting","gitlab","hcloud","hetzner","hetzner-cloud"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hetznercloud.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-12T07:19:45.000Z","updated_at":"2025-10-06T08:40:25.000Z","dependencies_parsed_at":"2025-04-17T17:42:30.784Z","dependency_job_id":"03bca1f4-eec0-4aa8-a4b9-9ec18224b095","html_url":"https://github.com/hetznercloud/fleeting-plugin-hetzner","commit_stats":{"total_commits":136,"total_committers":4,"mean_commits":34.0,"dds":0.5147058823529411,"last_synced_commit":"b85ca3511f3e426c862e52d66aff039ff9cf16ff"},"previous_names":["hetznercloud/fleeting-plugin-hetzner"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/hetznercloud/fleeting-plugin-hetzner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetznercloud%2Ffleeting-plugin-hetzner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetznercloud%2Ffleeting-plugin-hetzner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetznercloud%2Ffleeting-plugin-hetzner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetznercloud%2Ffleeting-plugin-hetzner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hetznercloud","download_url":"https://codeload.github.com/hetznercloud/fleeting-plugin-hetzner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hetznercloud%2Ffleeting-plugin-hetzner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762921,"owners_count":26041444,"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","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["fleeting","gitlab","hcloud","hetzner","hetzner-cloud"],"created_at":"2024-09-24T21:41:47.868Z","updated_at":"2025-10-07T10:51:57.421Z","avatar_url":"https://github.com/hetznercloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Fleeting Plugin Hetzner](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner)\n\n[![Pipeline Status](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/badges/main/pipeline.svg)](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/pipelines?scope=branches\u0026ref=main)\n[![Coverage](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/badges/main/coverage.svg?job=test)](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/pipelines?scope=branches\u0026ref=main)\n[![Go Report](https://goreportcard.com/badge/gitlab.com/hetznercloud/fleeting-plugin-hetzner)](https://goreportcard.com/report/gitlab.com/hetznercloud/fleeting-plugin-hetzner)\n[![Releases](https://img.shields.io/gitlab/v/release/hetznercloud%2Ffleeting-plugin-hetzner)](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/releases)\n![Maturity](https://img.shields.io/badge/maturity-general%20availability-yellow)\n[![License](https://img.shields.io/gitlab/license/hetznercloud%2Ffleeting-plugin-hetzner)](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/blob/main/LICENSE)\n\nA [fleeting](https://gitlab.com/gitlab-org/fleeting/fleeting) plugin for [Hetzner Cloud](https://www.hetzner.com/cloud/).\n\nThis tool was created to leverage GitLab's [Next Runner Auto-scaling Architecture](https://handbook.gitlab.com/handbook/engineering/architecture/design-documents/runner_scaling/) with [Hetzner Cloud](https://www.hetzner.com/cloud/), and take advantage of the new features that comes with it.\n\n## Docs\n\n- :rocket: See the [quick start guide](docs/guides/quickstart.md) to get you started.\n- :book: See the [configuration reference](docs/reference/configuration.md) for the available configuration.\n\nFor more information, see the [documentation](docs/).\n\n## Releases\n\nThis project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).\n\nPlease read the [changelog](CHANGELOG.md) before upgrading.\n\n## Contribute\n\nFirst and foremost, thank you! We appreciate that you want to contribute to this project.\n\nWhen submitting your contribution to this project, make sure that:\n\n- all the `pre-commit` hooks passes:\n\n  ```bash\n  pre-commit run --all\n  ```\n\n- all tests passes:\n\n  ```bash\n  make test\n  ```\n\n- any relevant documentation is updated with your changes.\n\n## Development\n\n### Building the plugin\n\nTo build the binary, ensure that your go version is up-to-date, and run the following:\n\n```sh\n$ make build\n```\n\n### Testing the plugin locally\n\nTo run the unit tests, run the following:\n\n```sh\n$ make test\n```\n\nFor the integration tests to run, you need to export a Hetzner Cloud token in the `HCLOUD_TOKEN` environment variable before starting the tests.\n\n#### Testing the plugin with GitLab Runner\n\nSometimes, you want to test the whole plugin as its being executed by GitLab's Fleeting mechanism.\nUse an approach like this:\n\n1. Build the plugin by running the following:\n\n   ```shell\n   $ cd cmd/fleeting-plugin-hetzner\n   $ go build\n   ```\n\n1. Set up the plugin in GitLab Runner's `config.toml` file using the approach described above, but\n   update `plugin = \"/path/to/fleeting-plugin-hetzner\"` to point to your\n   `cmd/fleeting-plugin-hetzner/fleeting-plugin-hetzner`\n\n1. Run `gitlab-runner run` or similar, to run GitLab Runner interactively as a foreground process.\n\n1. Make a CI job run using this runner, perhaps using special `tags:` or similar (to avoid breaking\n   things for other CI jobs on the same GitLab installation).\n\n### Setup a development environment\n\nTo setup a development environment, make sure you installed the following tools:\n\n- [hcloud](https://github.com/hetznercloud/cli)\n- [docker](https://www.docker.com/) (with the compose plugin)\n\n1. Configure a `HCLOUD_TOKEN` and a `RUNNER_TOKEN` in your shell session.\n\n\u003e [!WARNING]\n\u003e The development environment creates Hetzner Cloud servers which will induce costs.\n\n2. Run the development environment:\n\n```sh\nmake -C dev up\n```\n\n\u003e Also run this command to update the development environment with your latest code changes.\n\n3. Check that the development environment is healthy:\n\n```sh\ndocker compose logs\n```\n\n⚠️ Do not forget to clean up the development cluster once are finished:\n\n```sh\nmake -C dev down\n```\n\n### Creating a new release\n\nWe leverage the [releaser-pleaser](https://github.com/apricote/releaser-pleaser) tool to\nprepare and cut releases. To cut a new release, you need to merge the Merge Request that\nwas prepared by releaser-pleaser.\n\n## History\n\nThe project started out as a fork of the existing [gitlab-org/fleeting/plugins/aws](https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/commit/5c71bcde58f5eb1272828bf34051b02510e7f0de) plugin, gradually replacing the AWS calls with calls to the [Hetzner Cloud API](https://github.com/hetznercloud/hcloud-go). To all the people involved in this initial work, **thanks a lot**!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetznercloud%2Ffleeting-plugin-hetzner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhetznercloud%2Ffleeting-plugin-hetzner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhetznercloud%2Ffleeting-plugin-hetzner/lists"}