Mitchell Hashimoto
290b9ef836
builder/digitalocean: give up on graceful shutdown more quickly
2013-09-04 22:51:28 -07:00
Mitchell Hashimoto
a1c96d3b97
builder/digitalocean: proper timeouts so poweroff retries
2013-09-04 22:26:05 -07:00
Mitchell Hashimoto
ede100bb7b
builder/digitalocean: actually, we want to try hard on shutdown
2013-09-04 22:14:30 -07:00
Mitchell Hashimoto
2da53f54f4
builder/digitalocean: break loop if we reach off state
...
Otherwise we get stuck in a long loop. Whoops.
2013-09-04 22:07:19 -07:00
Mitchell Hashimoto
5477d7166b
builder/digitalocean: retry power off a number of times
...
See comment.
2013-09-04 21:59:58 -07:00
Mitchell Hashimoto
f2e909356e
builder/digitalocean: retry on any pending event errors
...
/cc @pearkes - I hate this thing.
2013-09-04 21:20:41 -07:00
Mitchell Hashimoto
a82f1c18ee
builder/digitalocean: new multistep API
2013-08-31 12:25:08 -07:00
Jack Pearkes
43dd2bd2c9
builder/digitalocean: send a "shutdown" before snapshotting
...
Instead of pulling the plug on a droplet with the "poweroff" command,
we first send a soft shutdown to the API, then we poweroff to allow
the snapshot to properly complete.
Sending just a shutdown and then snapshotting wasn't as reliable as
sending the poweroff manually, for reasons unknown to me.
This fixes #332 .
2013-08-24 13:04:51 +02:00
Mitchell Hashimoto
1a6fca7563
builder/digitalocean: unexport calcaulted settings
2013-07-14 21:20:29 +09:00
Jack Pearkes
7c98be0e52
builder/digitalocean: add configurable state_timeout
...
The state_timeout config allows you to determine the timeout
for "waiting for droplet to become [active, off, etc.]".
This still defaults to 3 minutes.
2013-06-23 12:51:51 +02:00
Mitchell Hashimoto
7db824f457
builder/digitalocean: Properly return errors
2013-06-19 21:00:51 -07:00
Jack Pearkes
54e8eaab1c
builder/digitalocean: add configurable "event_delay" for sleeps
2013-06-17 13:28:21 +02:00
Jack Pearkes
8ba8932552
builder/digitalocean: No need for destroy steps, builder works!
2013-06-14 15:26:03 +02:00
Jack Pearkes
a774e2b444
builder/digitalocean: completed initial pass at all steps.
2013-06-13 19:56:34 +02:00