Emil Hessman
413b84af6b
builder/digitalocean: fix incorrect printf verb types
...
Fixes the following vet reports:
builder/digitalocean/builder_test.go:267: arg b.config.SSHUsername for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:300: arg b.config.RawSSHTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:341: arg b.config.RawStateTimeout for printf verb %d of wrong type: string
builder/digitalocean/builder_test.go:382: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
builder/digitalocean/builder_test.go:397: arg b.config.PrivateNetworking for printf verb %s of wrong type: bool
2015-02-25 05:29:53 +01:00
Ryan Uber
78d6dda005
builder/digitalocean: fix response decoding after api changes
2015-01-26 13:19:46 -08:00
Ryan Uber
010c77d05f
builder/digitalocean: default to nyc3
2014-12-10 00:26:56 -08:00
Armon Dadgar
dd5de1e342
Merge pull request #1692 from nitrous-io/digitalocean-image-id
...
Use DigitalOcean image ID for artifact Id()
2014-12-08 11:16:08 -08:00
Cheah Chu Yeow
3d6865fafc
builder/digitalocean: use DigitalOcean image ID for artifact Id().
2014-11-24 08:14:05 +00:00
Vasiliy Tolstov
1e87e796dc
fix using private ip address in digitalocean builder
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-12 22:57:29 +03:00
Vasiliy Tolstov
8af85df822
add error code for failed auth
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-11-02 18:47:11 +03: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
e5ea82f920
fix digitalocean v2 api size response
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-30 22:16:21 +03:00
Mitchell Hashimoto
0db6cd3533
Merge pull request #1330 from qur/qemu-vagrant
...
Qemu vagrant
2014-10-28 08:42:17 -07:00
Vasiliy Tolstov
10612b5d89
try to avoid pagination
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-28 16:05:37 +03:00
Vasiliy Tolstov
e614a8c3d5
remove debug output
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-10-03 01:47:51 +04: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
Julian Phillips
90a57c411f
Expand Artifact API to expose build state
...
In order that something consuming an artifact can have access to extra
builder specific data add the State method which allows the caller to
ask for arbitary values by name.
2014-09-22 11:15:47 +01: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
e18f0f7f5b
fix missing parts
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
2014-08-28 22:24:31 +04: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
Mitchell Hashimoto
e84e5e4f2c
Merge branch 'update-ssh-package' of github.com:higebu/packer into higebu-update-ssh-package
...
Conflicts:
builder/amazon/common/ssh.go
builder/digitalocean/ssh.go
builder/googlecompute/ssh.go
builder/openstack/ssh.go
communicator/ssh/communicator_test.go
communicator/ssh/keychain.go
communicator/ssh/keychain_test.go
2014-04-26 11:12:06 -07:00
Ross Smith II
203f85bfb0
Merge pull request #1034 from rasa/patch-1
...
builder/digitalocean: updated default image_id, per #1032
2014-04-16 22:36:31 -07:00
higebu
f087ce16dc
Fix the build problem by updating ssh package
2014-04-15 10:17:26 +09:00
Ross Smith II
9cf76ff338
builder/digitalocean: updated default image_id, per #1032
2014-04-13 16:43:43 -07:00
Ross Smith II
27491f93f8
use old ssh code until higebu's branch is ready, see #1019
2014-04-11 08:23:12 -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
c6392481f9
fixed artifact test
2013-11-05 14:27:42 -08: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
Mitchell Hashimoto
79f7936d66
Remove dependency on identifier package, use time ordered UUID [GH-541]
2013-10-16 16:21:14 -10: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
4067bab3d4
builder/digitalocean: don't panic if error contains no message [GH-492]
2013-10-04 10:44:04 -07:00
Jack Pearkes
26278a7c72
builder/digitalocean: error message key is "message" not "error_message"
2013-09-29 11:01:30 +02:00
Jason A. Beranek
71358222f0
communicator/ssh, builder/digitalocean: fix new SSH API from upstream
2013-09-19 23:30:22 -05:00
Mitchell Hashimoto
eaba28a370
communicator/ssh, builder/digitalocean: fix new SSH API from upstream
2013-09-15 12:21:21 -07:00
Mitchell Hashimoto
1df0735713
builder/digitalocean: retry longer and don't retry shutdown
2013-09-04 23:01:37 -07:00
Mitchell Hashimoto
362c32015d
builder/digitalocean: retry pending events a lot more
2013-09-04 23:00:54 -07:00
Mitchell Hashimoto
78302f2071
builder/digitalocean: get compilation working again
2013-09-04 22:53:37 -07:00
Mitchell Hashimoto
94d369f558
builder/digitalocean: give up on graceful shutdown more quickly
2013-09-04 22:51:28 -07:00
Mitchell Hashimoto
8643c70e35
builder/digitalocean: proper timeouts so poweroff retries
2013-09-04 22:26:05 -07:00
Mitchell Hashimoto
aedd1555d3
builder/digitalocean: properly cleanup goroutines for status checking
2013-09-04 22:21:59 -07:00
Mitchell Hashimoto
4af230a4dc
builder/digitalocean: actually, we want to try hard on shutdown
2013-09-04 22:14:30 -07:00
Mitchell Hashimoto
39f7a5a617
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
82b46816d3
builder/digitalocean: retry power off a number of times
...
See comment.
2013-09-04 21:59:58 -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
Mitchell Hashimoto
d8b048662f
builder/digitalocean: retry destroy a few times
2013-08-31 21:32:35 -07:00