Commit Graph

24 Commits

Author SHA1 Message Date
Megan Marsh 0f6d1beccf add an extra string array to the Prepare() return values in the builder interfaces; this sets up the ability for builders to give the provisioners custom user-accessible build-time variables. 2019-12-16 21:23:05 -08:00
hbdgr 6a8f45123a test for snapshotTimeout option 2019-07-04 16:28:09 +02:00
Matthew Hooker 81522dced0
move packer to hashicorp 2017-04-04 13:39:01 -07:00
Rickard von Essen 96e9a8e6e9 Removed default value for ssh_username 2016-11-17 22:30:34 +01:00
Mitchell Hashimoto 669f301881 builder/digitalocean: use helper/comm 2015-06-13 18:26:13 -04:00
Mitchell Hashimoto 0e0cd28071 builder/digitalocean: fix failing unit tests 2015-06-10 19:31:48 -07:00
Mitchell Hashimoto 5da56d2aa6 builder/digitalocean: image, region, etc. required 2015-06-10 18:54:51 -07:00
Mitchell Hashimoto 311c9eb5c2 builder/digitalocean: fix unit tests 2015-06-10 14:28:05 -07:00
Mitchell Hashimoto d9c48e82fb builder/digitalocean: switch to new lib 2015-06-10 14:02:06 -07:00
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
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
Jack Pearkes 7a956e1a11 builder/digitalocean: add private_networking option for droplets 2013-12-27 10:26:27 -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 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 0a31fac749 builder/digitalocean: use new template processing 2013-08-08 17:25:25 -07:00
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104] 2013-07-14 09:28:56 +09:00
Jack Pearkes 490279c6b9 builder/digitalocean: add tests for credentials via env vars 2013-07-12 09:47:45 +02:00
Mitchell Hashimoto fd44adf2aa builder/digitalocean: Make tests pass again 2013-06-24 09:25:00 -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
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
Mitchell Hashimoto d8cdc88cbe builder/digitalocean: Make tests pass
/cc @pearkes
2013-06-15 11:11:03 -07:00
Jack Pearkes 4e6993909c builder/digitalocean: builder config tests and create_ssh_key step 2013-06-13 17:58:06 +02:00