Commit Graph

682 Commits

Author SHA1 Message Date
Mitchell Hashimoto b89d13f3ee website: post-processors docs for templates 2013-06-18 14:40:37 -07:00
Robby Colvin 033b143965 Fix for find in Linux 2013-06-18 14:07:36 -07:00
Mitchell Hashimoto 9b406a9010 packer/plugin: Support PostProcessor 2013-06-18 13:49:07 -07:00
Mitchell Hashimoto d823d2550a packer/rpc: Support PostProcessor 2013-06-18 13:44:57 -07:00
Mitchell Hashimoto 540fac6454 Allow post-processors in the core configuration 2013-06-18 11:00:31 -07:00
Mitchell Hashimoto e73c224764 packer: Build runs the post-processors 2013-06-18 10:54:29 -07:00
Mitchell Hashimoto 75fe58d5f7 packer: Post-processors are configured 2013-06-18 10:31:52 -07:00
Mitchell Hashimoto 218692950b packer: Build can return multiple artifacts 2013-06-18 10:24:23 -07:00
Mitchell Hashimoto 9c89e33b5b packer/rpc: Get RPC compliant with Environment again 2013-06-18 10:05:45 -07:00
Mitchell Hashimoto d95f0a620a packer: builds now have post processors as part of them 2013-06-18 09:58:39 -07:00
Mitchell Hashimoto eee22b32f6 packer: Environment can look up post processors 2013-06-18 09:49:05 -07:00
Mitchell Hashimoto 57fef22429 packer: panic if Prepare called twice on build, lock 2013-06-18 09:37:49 -07:00
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