Commit Graph

163 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Jason A. Beranek 71358222f0 communicator/ssh, builder/digitalocean: fix new SSH API from upstream
13 years ago
Mitchell Hashimoto eaba28a370 communicator/ssh, builder/digitalocean: fix new SSH API from upstream
13 years ago
Mitchell Hashimoto 1df0735713 builder/digitalocean: retry longer and don't retry shutdown
13 years ago
Mitchell Hashimoto 362c32015d builder/digitalocean: retry pending events a lot more
13 years ago
Mitchell Hashimoto 78302f2071 builder/digitalocean: get compilation working again
13 years ago
Mitchell Hashimoto 94d369f558 builder/digitalocean: give up on graceful shutdown more quickly
13 years ago
Mitchell Hashimoto 8643c70e35 builder/digitalocean: proper timeouts so poweroff retries
13 years ago
Mitchell Hashimoto aedd1555d3 builder/digitalocean: properly cleanup goroutines for status checking
13 years ago
Mitchell Hashimoto 4af230a4dc builder/digitalocean: actually, we want to try hard on shutdown
13 years ago
Mitchell Hashimoto 39f7a5a617 builder/digitalocean: break loop if we reach off state
13 years ago
Mitchell Hashimoto 82b46816d3 builder/digitalocean: retry power off a number of times
13 years ago
Mitchell Hashimoto 306ebcf042 builder/digitalocean: looser pending event string matching.
13 years ago
Mitchell Hashimoto 302871113a builder/digitalocean: retry on any pending event errors
13 years ago
Mitchell Hashimoto d8b048662f builder/digitalocean: retry destroy a few times
13 years ago
Mitchell Hashimoto 94b76036fc builder/digitalocean: new multistep API
13 years ago
Jack Pearkes 315d4ce5f5 builder/digitalocean: send a "shutdown" before snapshotting
13 years ago
Mitchell Hashimoto 45f3ca13cb builder/digitalocean: use HTTP proxy if in env
13 years ago
Jack Pearkes 0dce7086dc builder/digitalocean: better handling of url params in api requests
13 years ago
Mitchell Hashimoto 64d87bfaf3 *: switch to packer ConfigTemplate
13 years ago
Mitchell Hashimoto 332bdf6edc builder/*, provisioner/*: set user vars
13 years ago
Mitchell Hashimoto 0a31fac749 builder/digitalocean: use new template processing
13 years ago
Mitchell Hashimoto 5b7d8fbc74 rename builder/common to common since it is generally useful
13 years ago
Mitchell Hashimoto 56c3cbfb2a builder/common: common config struct for Packer configs
13 years ago
Mitchell Hashimoto 16d102d055 builder/*: switch to MultiErrorAppend
13 years ago
Mitchell Hashimoto 42059f9b07 builder/*: extract to common the config decoding
13 years ago
Mitchell Hashimoto 8e1e40c096 builder/*: convert to common StepProvision
13 years ago
Mitchell Hashimoto 3bf49d1c66 builder/digitalocean: use common connect ssh
13 years ago
Mitchell Hashimoto 05acb7b461 builder/digitalocean: unexport calcaulted settings
13 years ago
Mitchell Hashimoto a0f1667df1 communicator/ssh: tweakable timeout on retry connection
13 years ago
Mitchell Hashimoto 9718a4656c communicator/ssh: have a Connection func so we can re-establish
13 years ago
Mitchell Hashimoto 3b4ef72e47 Unused keys are invalid in templates [GH-104]
13 years ago
Jack Pearkes 490279c6b9 builder/digitalocean: add tests for credentials via env vars
13 years ago
Jack Pearkes d701adb3e0 builder/digitalocean: use detected env variables for credentials
13 years ago
Jack Pearkes e11fbcdad2 builder/digitalocean: display friendler API error messages
13 years ago
Mitchell Hashimoto 8a609b67c1 builder/*: Fail if provisioning fails [GH-33]
13 years ago
Mitchell Hashimoto fd44adf2aa builder/digitalocean: Make tests pass again
13 years ago
Jack Pearkes 76c2fcee87 website: update digitalocean state_timeout default
13 years ago
Jack Pearkes 513c8bc4bb builder/digitalocean: raised state_timeout default to 6 minutes [GH-26]
13 years ago
Jack Pearkes ba8fbc8621 builder/digitalocean: add configurable state_timeout
13 years ago
Mitchell Hashimoto 1da55ab4b6 builder/digitalocean: Reattempt SSH handshake a few times
13 years ago
Mitchell Hashimoto da4dfbcd12 builder/digitalocean: Properly return errors
13 years ago
Mitchell Hashimoto 867e9d1c8f builder/digitalocean: timeout TCP connections to SSH
13 years ago
Mitchell Hashimoto b78fd17a0a builder/digitalocean: compile with scrub changes
13 years ago
Mitchell Hashimoto a775c97907 builder/digitalocean: Scrub sensitive information out of logs
13 years ago
Mitchell Hashimoto 70fa3fbaac builder/digitalocean: fmt
13 years ago
Mitchell Hashimoto 264e59d75d builder/digitalocean: Implement Artifact destroy
13 years ago
Mitchell Hashimoto b9fb065d27 packer: Add Destroy method to artifact
13 years ago
Jack Pearkes 4236ffc8eb builder/digitalocean: only execute the snapshotname template if parsed
13 years ago
Jack Pearkes e62bcefcb8 builder/digitalocean: check for err parsing template for snapshot name
13 years ago
Jack Pearkes 6eb0568f07 builder/digitalocean: print bad status code as string
13 years ago
Jack Pearkes 341cfb2c2d builder/digitalocean: improve error messages from DO api
13 years ago
Jack Pearkes 477ac8cd31 builder/digitalocean: use text/template for the snapshot name
13 years ago
Jack Pearkes 1e17e90acd builder/digitalocean: add configurable "event_delay" for sleeps
13 years ago
Jack Pearkes c12e9ff9a8 builder/digitalocean: implement artifacts with the snapshot name
13 years ago
Jack Pearkes 25d5874042 builder/digitalocean: generate temp rsa keypairs for ssh communication
13 years ago
Mitchell Hashimoto d8cdc88cbe builder/digitalocean: Make tests pass
13 years ago
Mitchell Hashimoto f289ddce60 builder/digitalocean: Add support for -debug mode
13 years ago
Mitchell Hashimoto 03d7a7f6b5 builder/digitalocean: Adhere to new interface, make default in Packer
13 years ago
Jack Pearkes 8ba8932552 builder/digitalocean: No need for destroy steps, builder works!
13 years ago
Jack Pearkes a774e2b444 builder/digitalocean: completed initial pass at all steps.
13 years ago
Jack Pearkes dd6e4e4933 builder/digitalocean: connect_ssh, create_droplet, droplet_info
13 years ago
Jack Pearkes 4e6993909c builder/digitalocean: builder config tests and create_ssh_key step
13 years ago
Jack Pearkes 787a3178b3 builder/digitalocean: WIP commit of api interface and initial config
13 years ago