Commit Graph

35 Commits

Author SHA1 Message Date
hbdgr 7d723b7c7b builder/digitalocean: add snapshotTimeout option 2019-07-04 16:25:42 +02:00
hbdgr 750e4b0f31 builder/digitalocean: increase timeout for waitForActionState 2019-07-04 09:55:13 +02:00
Adrien Delorme c4f3dccc14 rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
Andrew Starr-Bochicchio c0c5c6afac Add DigitalOcean post-processor. 2018-11-29 21:00:57 -05:00
Adrien Delorme 5389ab1694 pass config as a pointer so that ssh configuration is correctly set 2018-09-18 11:36:21 +02:00
Rickard von Essen c0ae1b7790
digitalocean: artifact should include build region and fixed docs
- Add the build region to the list of regions for the artefact
- Corrected docs: `snapshot_name` doesn't have to be unique.
- Updated example to use Ubuntu 16.04
2018-06-03 16:37:38 +02: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
Luke Farnell 7c3eb33cda Fixed spelling mistakes 2017-08-07 13:45:50 -04:00
Luke Farnell 3afd77a5e4
fixed logic error and fixed suggestion 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 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
Rickard von Essen f446c1a1b7
builders/digitalocean: fixes timeout waiting for snapshot #3853 2016-09-08 10:32:43 +02:00
Andrew Starr-Bochicchio 6d31470757 Look up snapshot ID based by Droplet, not user. 2016-02-09 11:29:06 -05:00
Viktor Benei eda2c9c605 actually make it 20 mins 2015-11-14 14:14:33 +01:00
Viktor Benei 7e568644a5 increased DigitalOcean unlock wait timeouts 2015-11-14 12:11:44 +01:00
Mitchell Hashimoto 669f301881 builder/digitalocean: use helper/comm 2015-06-13 18:26:13 -04:00
Mitchell Hashimoto dcf140f99f builder/digitalocean: more robust wait for pending 2015-06-10 19:53:07 -07:00
Mitchell Hashimoto 9a393a5601 builder/digitalocean: only list user images 2015-06-10 14:18:38 -07:00
Mitchell Hashimoto d9c48e82fb builder/digitalocean: switch to new lib 2015-06-10 14:02:06 -07:00
Mitchell Hashimoto 7d0f94834e builder/digitalocean: interpolation change 2015-05-27 12:50:43 -07: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
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 2cad46aa1f post-processor/vagrant: Adds vagrant support for digitalocean
Conflicts:
	post-processor/vagrant/post-processor.go
2013-11-05 14:27:28 -08: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 94b76036fc builder/digitalocean: new multistep API 2013-08-31 12:25:08 -07: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 264e59d75d builder/digitalocean: Implement Artifact destroy
/cc @pearkes
2013-06-18 21:54:15 -07:00
Jack Pearkes 477ac8cd31 builder/digitalocean: use text/template for the snapshot name 2013-06-17 14:21:15 +02:00
Jack Pearkes a774e2b444 builder/digitalocean: completed initial pass at all steps. 2013-06-13 19:56:34 +02:00