Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] platform: add Hetzner #533

Closed
wants to merge 6 commits into from
Closed

[wip] platform: add Hetzner #533

wants to merge 6 commits into from

Conversation

tormath1
Copy link
Contributor

@tormath1 tormath1 commented Jun 10, 2024

This PR brings a boilerplate to add Hetzner support. API implementation is missing (i.e interaction between Mantle and Hetzner). For now, the platform/api/hetzner/api.go is missing some functions implementation.

The current usage would be the following:

HETZNER_IMAGE_ID=$(./bin/ore \
  hetzner \
  --hetzner-token $(pass hetzner/token) \
  --hetzner-location fsn1 \
  create-image \
  --name flatcar-nightly \
  --file http://bincache.flatcar-linux.net/images/amd64/4011.0.0+nightly-20240624-2100/flatcar_production_hetzner_image.bin.bz2)

./bin/kola \
  --platform hetzner \
  --hetzner-token $(pass hetzner/token) \
  --hetzner-server-type cx22 \
  --hetzner-location fsn1 \
  --hetzner-image "${HETZNER_IMAGE_ID}"
  run '*'

tormath1 added 5 commits June 10, 2024 15:05
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
private IP is not yet accessible via Afterburn so let's advertise the
public IP on Hetzner

Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
@tormath1
Copy link
Contributor Author

tormath1 commented Aug 5, 2024

Ingested in #536

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant