Mitchell Hashimoto
1d3a4d6aa2
packer: remove ConfigTemplate
2015-05-27 17:56:45 -07:00
Mitchell Hashimoto
7d0f94834e
builder/digitalocean: interpolation change
2015-05-27 12:50:43 -07:00
Ryan Uber
010c77d05f
builder/digitalocean: default to nyc3
2014-12-10 00:26:56 -08:00
Vasiliy Tolstov
a5dc41a730
fix digitalocean v2 api content-type when using json
...
In case of using json we need to set content-type header.
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-02 01:47:04 +03:00
Vasiliy Tolstov
f4c756a2cb
fix copy/paste error
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-03 00:02:46 +04:00
Vasiliy Tolstov
6c6f3c24a5
add v2 api support
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-09-05 18:49:37 +04:00
Mitchell Hashimoto
90d4bcdbe8
builder/digitalocean: region supports vars [GH-1452]
2014-09-02 11:16:39 -07:00
Vasiliy Tolstov
4166c63732
add ability to set api url in template
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-08-28 16:53:07 +04:00
Mitchell Hashimoto
5c5d62733f
fmt
2014-05-01 14:24:19 -07:00
Ross Smith II
2bcd9a304e
builder/digitalOcean: use names/slugs as well as IDs for image/region/size
2014-04-29 20:33:31 -07:00
Ross Smith II
9cf76ff338
builder/digitalocean: updated default image_id, per #1032
2014-04-13 16:43:43 -07:00
Jack Pearkes
7a956e1a11
builder/digitalocean: add private_networking option for droplets
2013-12-27 10:26:27 -08:00
Chris Kozak
f5d6df6416
Updated DigitalOcean default image id
...
It looks like DigitalOcean replaced the "Ubuntu 12.04" image with "Ubuntu 12.04.3". We've updated the ImageID to point to the new image.
2013-12-17 17:41:47 +00:00
Ross Smith II
2cad46aa1f
post-processor/vagrant: Adds vagrant support for digitalocean
...
Conflicts:
post-processor/vagrant/post-processor.go
2013-11-05 14:27:28 -08:00
Jack Pearkes
b13c25532c
builder/digitalocean: add a droplet_name configuration value
...
Practically, this lets you set the hostname of the droplet
used for provisioning.
2013-11-03 17:35:58 +01:00
Mitchell Hashimoto
a6150e6596
builder/all: update to warnings
2013-11-02 23:03:59 -05:00
Matthew Hooker
5315b19822
common/config: config filter function [GH-521]
...
Fixes #521
2013-10-13 11:01:12 -07:00
Matthew Hooker
7417748772
builder/digitalocean: Scrub config before logging [GH-516]
2013-10-10 15:04:42 -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
Mitchell Hashimoto
94b76036fc
builder/digitalocean: new multistep API
2013-08-31 12:25:08 -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
64d87bfaf3
*: switch to packer ConfigTemplate
2013-08-15 19:17:23 -07:00
Mitchell Hashimoto
332bdf6edc
builder/*, provisioner/*: set user vars
2013-08-09 15:57:08 -07:00
Mitchell Hashimoto
0a31fac749
builder/digitalocean: use new template processing
2013-08-08 17:25:25 -07:00
Mitchell Hashimoto
5b7d8fbc74
rename builder/common to common since it is generally useful
2013-08-01 12:11:54 -07:00
Mitchell Hashimoto
56c3cbfb2a
builder/common: common config struct for Packer configs
2013-07-23 22:48:31 -05:00
Mitchell Hashimoto
16d102d055
builder/*: switch to MultiErrorAppend
2013-07-19 19:08:25 -04:00
Mitchell Hashimoto
42059f9b07
builder/*: extract to common the config decoding
2013-07-19 15:00:32 -04:00
Mitchell Hashimoto
8e1e40c096
builder/*: convert to common StepProvision
2013-07-16 15:44:41 +09:00
Mitchell Hashimoto
3bf49d1c66
builder/digitalocean: use common connect ssh
2013-07-15 14:14:23 +09:00
Mitchell Hashimoto
05acb7b461
builder/digitalocean: unexport calcaulted settings
2013-07-14 21:20:29 +09:00
Mitchell Hashimoto
3b4ef72e47
Unused keys are invalid in templates [GH-104]
2013-07-14 09:28:56 +09:00
Jack Pearkes
d701adb3e0
builder/digitalocean: use detected env variables for credentials
2013-07-11 11:31:09 +02:00
Jack Pearkes
76c2fcee87
website: update digitalocean state_timeout default
2013-06-24 09:07:33 +02:00
Jack Pearkes
513c8bc4bb
builder/digitalocean: raised state_timeout default to 6 minutes [GH-26]
2013-06-24 09:03:25 +02:00
Jack Pearkes
ba8fbc8621
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
da4dfbcd12
builder/digitalocean: Properly return errors
2013-06-19 21:00:51 -07:00
Mitchell Hashimoto
70fa3fbaac
builder/digitalocean: fmt
2013-06-18 22:02:09 -07:00
Mitchell Hashimoto
264e59d75d
builder/digitalocean: Implement Artifact destroy
...
/cc @pearkes
2013-06-18 21:54:15 -07:00
Jack Pearkes
4236ffc8eb
builder/digitalocean: only execute the snapshotname template if parsed
2013-06-18 00:06:59 +02:00
Jack Pearkes
e62bcefcb8
builder/digitalocean: check for err parsing template for snapshot name
2013-06-17 23:54:28 +02:00
Jack Pearkes
477ac8cd31
builder/digitalocean: use text/template for the snapshot name
2013-06-17 14:21:15 +02:00
Jack Pearkes
1e17e90acd
builder/digitalocean: add configurable "event_delay" for sleeps
2013-06-17 13:28:21 +02:00
Jack Pearkes
c12e9ff9a8
builder/digitalocean: implement artifacts with the snapshot name
2013-06-17 13:01:42 +02:00
Mitchell Hashimoto
f289ddce60
builder/digitalocean: Add support for -debug mode
...
/cc @pearkes
2013-06-15 11:09:26 -07:00
Mitchell Hashimoto
03d7a7f6b5
builder/digitalocean: Adhere to new interface, make default in Packer
...
@pearkes: I added "digital-ocean" to the default config since it will
be shipping with Packer. :)
2013-06-15 11:06:39 -07: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