Jack Pearkes
26278a7c72
builder/digitalocean: error message key is "message" not "error_message"
2013-09-29 11:01:30 +02:00
Mitchell Hashimoto
362c32015d
builder/digitalocean: retry pending events a lot more
2013-09-04 23:00:54 -07:00
Mitchell Hashimoto
306ebcf042
builder/digitalocean: looser pending event string matching.
...
Most APIs return "has a pending event" but power off seems to return
"already a pending event". WTF. Also, just wtf at the DigitalOcean API.
I can't wait until they change their english and this breaks. Because
it is definitely going to happen, and it's going to be such a fun time.
2013-09-04 21:29:07 -07:00
Mitchell Hashimoto
302871113a
builder/digitalocean: retry on any pending event errors
...
/cc @pearkes - I hate this thing.
2013-09-04 21:20:41 -07:00
Jack Pearkes
315d4ce5f5
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
45f3ca13cb
builder/digitalocean: use HTTP proxy if in env
2013-08-18 20:29:54 -06:00
Jack Pearkes
0dce7086dc
builder/digitalocean: better handling of url params in api requests
2013-08-16 19:47:22 +02:00
Jack Pearkes
e11fbcdad2
builder/digitalocean: display friendler API error messages
...
Fixes #85
2013-07-01 09:29:45 +02:00
Mitchell Hashimoto
b78fd17a0a
builder/digitalocean: compile with scrub changes
2013-06-19 13:26:03 -07:00
Mitchell Hashimoto
a775c97907
builder/digitalocean: Scrub sensitive information out of logs
...
/cc @pearkes
2013-06-19 13:18:53 -07:00
Mitchell Hashimoto
264e59d75d
builder/digitalocean: Implement Artifact destroy
...
/cc @pearkes
2013-06-18 21:54:15 -07:00
Jack Pearkes
6eb0568f07
builder/digitalocean: print bad status code as string
2013-06-17 14:54:24 +02:00
Jack Pearkes
341cfb2c2d
builder/digitalocean: improve error messages from DO api
2013-06-17 14:54:18 +02:00
Jack Pearkes
8ba8932552
builder/digitalocean: No need for destroy steps, builder works!
2013-06-14 15:26:03 +02:00
Jack Pearkes
dd6e4e4933
builder/digitalocean: connect_ssh, create_droplet, droplet_info
2013-06-13 18:48:19 +02:00
Jack Pearkes
4e6993909c
builder/digitalocean: builder config tests and create_ssh_key step
2013-06-13 17:58:06 +02:00
Jack Pearkes
787a3178b3
builder/digitalocean: WIP commit of api interface and initial config
2013-06-13 16:03:10 +02:00