Socket
Book a DemoInstallSign in
Socket

beaker-hcloud

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beaker-hcloud

bundlerRubygems
Version
1.0.0
Version published
Maintainers
2
Created
Source

beaker-hcloud

License Test Release RubyGem Version RubyGem Downloads

A beaker extension for provision Hetzner Cloud instances.

Installation

Include this gem alongside Beaker in your Gemfile or project.gemspec. E.g.

# Gemfile
gem 'beaker', '~> 5.0'
gem 'beaker-hcloud'

# project.gemspec
s.add_runtime_dependency 'beaker', '~> 5.0'
s.add_runtime_dependency 'beaker-hcloud'

Authentication

You need to create an API token using Hetzner's cloud console. Make sure to create the token in the correct project.

beaker-hcloud expects the token to be in the BEAKER_HCLOUD_TOKEN environment variable.

Configuration

Some options can be set to influence how and where server instances are being created:

configuration optionrequireddefaultdescription
imagetrueThe name of one of Hetzner's provided images, e.g. ubuntu-20.04, or a custom one, i.e. a snapshot in your account.
server_typefalsecx11Hetzner cloud server type
locationfalsenbg1One of Hetzner's datacenter locations

Cleanup

In cases where the beaker process is killed before finishing, it may leave resources in Hetzner cloud. These will need to be manually deleted.

Look for servers in your project named exactly as the ones in your beaker host configuration and SSH keys with names beginning with Beaker-.

Contributing

Please refer to voxpupuli/beaker's contributing guide.

FAQs

Package last updated on 22 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts