Compare commits

..

2 commits

Author SHA1 Message Date
c3d0e7ecdf
workaround hcloud api issue
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2025-07-11 22:00:47 +02:00
75e4e9026b
Update dependency hcloud to v2.5.4 2025-07-09 10:12:01 +00:00
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,3 @@
tabulate==0.9.0 tabulate==0.9.0
hcloud==2.5.2 hcloud==2.5.4
rich==13.9.4 rich==13.9.4

View file

@ -214,7 +214,16 @@ if args.action == "create":
enable_ipv4=True, enable_ipv4=True,
enable_ipv6=True, enable_ipv6=True,
), ),
start_after_create=False,
) )
track_progress(response.action.id, response.action.command) track_progress(response.action.id, response.action.command)
for a in response.next_actions: for a in response.next_actions:
track_progress(a.id, a.command) track_progress(a.id, a.command)
# save server to var
server = response.server
# attach volume
response = client.volumes.attach(volume=volume, server=server)
track_progress(response.id, response.command)
# start server
response = client.servers.power_on(server)
track_progress(response.id, response.command)