Commit Graph
155 Commits
Author SHA1 Message Date
Josh Soref 3b694feabc spelling: transfer 2018-03-14 03:25:35 +00:00
Matthew Hooker a831d522be change run signatures
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.

`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker 366dc3da0a move multistep imports to helper.
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Lawrence 5509d0734b Added ipv6 option for digitalocean builder
the ipv6 option is already part of the godo package

Updated documentation to reflect new feature

Closes: https://github.com/hashicorp/packer/issues/5533
2017-11-01 15:41:25 -04:00
Luke Farnell 7c3eb33cda Fixed spelling mistakes 2017-08-07 13:45:50 -04:00
Matthew Hooker ee5d13611f update ssh client usage for new crypto/ssh version 2017-05-18 12:01:44 -07:00
Matthew Hooker 06c7136e30 compare regions against valid regions 2017-05-16 21:00:13 -07:00
Luke Farnell 3afd77a5e4 fixed logic error and fixed suggestion 2017-05-16 21:00:13 -07:00
Luke Farnell 078c139ef1 Fix tests and add more 2017-05-16 21:00:13 -07:00
Luke Farnell 0f354614c0 Region Validation 2017-05-16 21:00:13 -07:00
Luke Farnell abf2e618b5 Wait for snapshot transfer and change artifact output 2017-05-16 21:00:13 -07:00
Luke Farnell 4f5d3face2 remove duplicates 2017-05-16 21:00:12 -07:00
Luke Farnell 8ed50608b1 add image transfer for DigitalOcean 2017-05-16 21:00:12 -07:00
Rickard von Essen a3f70b874b Spelling (context) 2017-04-09 20:38:19 +02:00
Rickard von Essen 5ee212c85f Inlined ctx 2017-04-09 20:33:05 +02:00
Luke Farnell 5b7ec545c5 Added monitoring and updated godo 2017-04-08 15:52:57 -04:00
Matthew Hooker 81522dced0 move packer to hashicorp 2017-04-04 13:39:01 -07:00
Matthew Hooker 35578d9ed1 remove unnecessary type conversions 2017-03-28 20:36:21 -07:00
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username 2016-11-17 22:30:34 +01:00
Matthew Hooker d920b3fbf4 run gofmt 2016-11-01 14:08:04 -07:00
Michael Nikitochkin 343c594bb3 Added UserDataFile support for DigitalOcean builder config. 2016-09-28 15:00:57 +02:00
Orivej Desh 6762965696 Add -on-error command line argument to allow preserving artifacts on builder errors
Resolves #409
2016-09-16 12:15:00 +00:00
Rickard von Essen f446c1a1b7 builders/digitalocean: fixes timeout waiting for snapshot #3853 2016-09-08 10:32:43 +02:00
Toby Jaffey 37ef03c41c Use config StateTimeout for DigitalOcean unlock and off transitions. (#3444)
Use config StateTimeout for DigitalOcean unlock and off transitions.
When DigitalOcean's API is responding slowly, the hardcoded timeouts are too short.
2016-08-14 21:12:30 +02:00
Andrew Starr-Bochicchio 6d31470757 Look up snapshot ID based by Droplet, not user. 2016-02-09 11:29:06 -05:00
Vasiliy Tolstov ec4e95493d builder/digitalocean: add ability to specify api url
This is useful in case of using DigitalOcean compatibility api hosting.

Signed-off-by: Vasiliy Tolstov <[email protected]>
2016-02-06 14:15:32 +00:00
Chris Bednarski d6c02f5aeb Change test to use something that looks like a real region code 2016-01-21 11:29:39 -08:00
Chris Bednarski 7b468af6b8 Merge pull request #2939 from bitrise-io/digitalocean_timeout_increase
increased DigitalOcean unlock wait timeouts
2016-01-13 14:11:09 -08:00
Andrew Starr-Bochicchio 2212125f46 Return DigitalOcean image ID in output. 2015-12-15 12:00:04 -05:00
Viktor Benei eda2c9c605 actually make it 20 mins 2015-11-14 14:14:33 +01:00