Commit Graph

9670 Commits

Author SHA1 Message Date
Mitchell Hashimoto e851ac5d26 packer: Avoid an extra allocation by using clever addressing 2013-06-18 09:30:23 -07:00
Mitchell Hashimoto 7a07802eb4 packer: Parse post-processors in templates
This includes parsing for the simple, detailed, and sequential
processors.
2013-06-18 09:27:08 -07:00
Mitchell Hashimoto 886ac53665 website: update path to core config 2013-06-17 22:30:37 -07:00
Mitchell Hashimoto e1cf5abde5 Don't depend on os/user anymore, which requires cgo 2013-06-17 22:10:11 -07:00
Robby Colvin 39cd5736e6 fmt 2013-06-17 16:36:22 -07:00
Mitchell Hashimoto 6cd0e7cbea Check same directory as `packer` for plugins. 2013-06-17 15:55:21 -07:00
Mitchell Hashimoto 64f9173e8b builder/amazonebs: Tests for invalid AMI name 2013-06-17 15:24:33 -07:00
Mitchell Hashimoto 72bb2d68dd communicator/ssh: remove unusable code 2013-06-17 15:20:31 -07:00
Mitchell Hashimoto 46108ce13f fmt 2013-06-17 15:19:33 -07:00
Jack Pearkes 4236ffc8eb builder/digitalocean: only execute the snapshotname template if parsed 2013-06-18 00:06:59 +02:00
Jack Pearkes b75daf62ff builder/amazonebs: check for err parsing template for ami name 2013-06-17 23:55:08 +02:00
Jack Pearkes e62bcefcb8 builder/digitalocean: check for err parsing template for snapshot name 2013-06-17 23:54:28 +02:00
Mitchell Hashimoto 5ecd30a75f Merge pull request #17 from mitchellh/b-digital-ocean-fixup
DigitalOcean Completion
2013-06-17 14:34:59 -07:00
Mitchell Hashimoto dd89716ed5 packer: An initial PostProcessor interface 2013-06-17 11:56:26 -07:00
Mitchell Hashimoto 8f097399bf command/build: only output artifacts if we have some 2013-06-17 11:49:12 -07:00
Mitchell Hashimoto 47dcd47376 command/build: Improved output when builds error 2013-06-17 11:48:21 -07:00
Mitchell Hashimoto f4a5adf471 packer: Output a newline when interrupted for UI 2013-06-17 11:40:57 -07:00
Jack Pearkes 6eb0568f07 builder/digitalocean: print bad status code as string 2013-06-17 14:54:24 +02:00
Jack Pearkes 341cfb2c2d builder/digitalocean: improve error messages from DO api 2013-06-17 14:54:18 +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
Jack Pearkes c12e9ff9a8 builder/digitalocean: implement artifacts with the snapshot name 2013-06-17 13:01:42 +02:00
Mitchell Hashimoto e0b05355c3 packer: If interrupted, Ask is disabled 2013-06-15 18:25:34 -07:00
Mitchell Hashimoto dc5d261994 packer: Ui can return an error for Ask, returns one for interrupt 2013-06-15 18:24:38 -07:00
Jack Pearkes 25d5874042 builder/digitalocean: generate temp rsa keypairs for ssh communication 2013-06-15 22:43:18 +02:00
Mitchell Hashimoto a73e71c37f packer/rpc: Panic in error case 2013-06-15 11:27:09 -07:00
Mitchell Hashimoto 67eaa07cf4 packer: Get rid of "name" in template, wasn't used for anything 2013-06-15 11:14:44 -07:00
Mitchell Hashimoto d8cdc88cbe builder/digitalocean: Make tests pass
/cc @pearkes
2013-06-15 11:11:03 -07:00
Mitchell Hashimoto f289ddce60 builder/digitalocean: Add support for -debug mode
/cc @pearkes
2013-06-15 11:09:26 -07:00
Mitchell Hashimoto 3983edb1a3 fmt 2013-06-15 11:07:30 -07:00
Mitchell Hashimoto 03d7a7f6b5 builder/digitalocean: Adhere to new interface, make default in Packer
@pearkes: I added "digital-ocean" to the default config since it will
be shipping with Packer. :)
2013-06-15 11:06:39 -07:00
Mitchell Hashimoto a76a9e86fc Merge pull request #15 from pearkes/f-do-builder
DigitalOcean Builder from @pearkes
2013-06-15 11:04:28 -07:00
Mitchell Hashimoto f754c171e8 builder/*: Add support for debug 2013-06-15 10:51:09 -07:00
Mitchell Hashimoto 22e7345148 packer: Ui requires input for Ctrl-C 2013-06-14 17:37:38 -07:00
Mitchell Hashimoto 4c1873d1f3 command/build: Redo interrupt handling to be more robust 2013-06-14 17:20:11 -07:00
Mitchell Hashimoto ea01d7b2c6 fmt 2013-06-14 16:00:16 -07:00
Mitchell Hashimoto 9a69b21025 packer: Ui.Ask quits during interrupt 2013-06-14 15:59:54 -07:00
Mitchell Hashimoto 21b6d2a435 builder/common: multistep debug fn gracefully exits during an interrupt 2013-06-14 15:47:06 -07:00
Mitchell Hashimoto ac029d9ed0 builder/vmware: Use proper pausefn 2013-06-14 15:24:53 -07:00
Mitchell Hashimoto e0f2bcf8a2 packer: Add "Ask" method to Ui to ask for input 2013-06-14 15:17:03 -07:00
Mitchell Hashimoto cbd3f59578 builder/vmware: Enable the debug runner 2013-06-14 15:07:34 -07:00
Mitchell Hashimoto 45566feb75 command/build: Say we're in debug mode if we're in it 2013-06-14 14:47:28 -07:00
Mitchell Hashimoto bd843cfc16 command/build: -debug flag enables debug mode 2013-06-14 13:14:17 -07:00
Mitchell Hashimoto 6c718bc3be website: unset the ruby version breaks things... 2013-06-14 13:01:11 -07:00
Mitchell Hashimoto 9181c8e4ad website: Specify Ruby 1.9.3 as the ruby version for website 2013-06-14 12:45:27 -07:00
Mitchell Hashimoto d500bda916 website: update docs for new builder interface 2013-06-14 12:41:42 -07:00
Mitchell Hashimoto 8217e64a8d packer: Set DebugConfigKey to true if debug is on 2013-06-14 12:38:54 -07:00
Mitchell Hashimoto fd044982d9 packer: Additional comments 2013-06-14 12:32:14 -07:00
Mitchell Hashimoto a6194467ac builder/*: Adhere to the new interface 2013-06-14 12:29:48 -07:00
Mitchell Hashimoto 9f5a247511 packer: Builders can take multiple configs 2013-06-14 12:27:50 -07:00