Provisions a throwaway Hetzner Cloud server sized for a Chromium build, runs a script on it over SSH, and guarantees teardown afterward (normal exit, remote command failure, or local interruption) plus a cloud-init self-destruct failsafe in case this process itself never gets to run its own cleanup.
23 lines
718 B
Modula-2
23 lines
718 B
Modula-2
module hetzner-runner
|
|
|
|
go 1.25.4
|
|
|
|
require (
|
|
github.com/hetznercloud/hcloud-go/v2 v2.47.0
|
|
golang.org/x/crypto v0.54.0
|
|
)
|
|
|
|
require (
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/prometheus/client_golang v1.23.2 // indirect
|
|
github.com/prometheus/client_model v0.6.2 // indirect
|
|
github.com/prometheus/common v0.66.1 // indirect
|
|
github.com/prometheus/procfs v0.16.1 // indirect
|
|
go.yaml.in/yaml/v2 v2.4.2 // indirect
|
|
golang.org/x/net v0.57.0 // indirect
|
|
golang.org/x/sys v0.47.0 // indirect
|
|
golang.org/x/text v0.40.0 // indirect
|
|
google.golang.org/protobuf v1.36.8 // indirect
|
|
)
|