Add ship(to='hetzner') auto-provisioning deployment target#7
Draft
Copilot wants to merge 2 commits intocopilot/add-cloud-resource-provisioningfrom
Draft
Add ship(to='hetzner') auto-provisioning deployment target#7Copilot wants to merge 2 commits intocopilot/add-cloud-resource-provisioningfrom
Copilot wants to merge 2 commits intocopilot/add-cloud-resource-provisioningfrom
Conversation
Co-authored-by: Karthik777 <7102951+Karthik777@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add Hetzner as a deployment target for ship() function
Add ship(to='hetzner') auto-provisioning deployment target
Feb 25, 2026
This was referenced Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hetzner is the cheapest production path (€4/mo cx22) but required manual
vps_init()→create()→ship()workflow. This addsship(to='hetzner')as a first-class deployment target with auto-provisioning.Changes
Added
**kwto ship() signature - enables provider-specific parameters (server_type, location, deploy_path, etc.)New Hetzner deployment branch - auto-provisions servers via hcloud CLI:
~/.ssh/VPS branch enhancement - accepts
to='hetzner'withhostparameter as alias for existing server deploymentFixed VPS deploy bug - corrects
vps.deploy()call signature (now passescomposeas first positional arg)Usage
Parameters (via **kw)
server_name,server_type(default: cx22),location(default: nbg1),image(default: ubuntu-24.04),ssh_keys,pub_keys,deploy_path,wait_timeout,cf_token,proxiedStats: 118 lines added, 12 modified, 1 file changed (
fastops/ship.py)Original prompt
Overview
Currently
ship(to='vps')requires the user to manually provision a Hetzner server first (vps_init()→create()) and then pass thehost=iptoship(). This PR addsship(to='hetzner')as a first-class deployment target that auto-provisions a Hetzner server, installs Docker, configures DNS, and deploys — all in one call.This is a critical UX gap: Hetzner is the cheapest production path (€4/mo for cx22) and should be as easy as
ship('.', to='azure').Branch off
copilot/add-cloud-resource-provisioning.Changes to
fastops/ship.py1. Add
hetzneras a deployment targetIn the
ship()function signature, the existing parameters already cover what's needed (host,user,key,cloud). Add a newelif to == 'hetzner':branch.2. Add the
hetznerbranch in ship()After the existing
elif to == 'aws':block (around line 261), add: