Commit Graph

719 Commits

Author SHA1 Message Date
Mitchell Hashimoto 9bd36a76e8 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 e02afe1775 website: update path to core config 2013-06-17 22:30:37 -07:00
Mitchell Hashimoto a6e0ea8bd2 Don't depend on os/user anymore, which requires cgo 2013-06-17 22:10:11 -07:00
Robby Colvin 148d95def5 fmt 2013-06-17 16:36:22 -07:00
Mitchell Hashimoto 75db279364 Check same directory as `packer` for plugins. 2013-06-17 15:55:21 -07:00
Mitchell Hashimoto e1c0616a14 builder/amazonebs: Tests for invalid AMI name 2013-06-17 15:24:33 -07:00
Mitchell Hashimoto dc6519f7c1 communicator/ssh: remove unusable code 2013-06-17 15:20:31 -07:00
Mitchell Hashimoto 206ec4e5bf fmt 2013-06-17 15:19:33 -07:00
Jack Pearkes 8d41363085 builder/digitalocean: only execute the snapshotname template if parsed 2013-06-18 00:06:59 +02:00
Jack Pearkes e0a4e72be5 builder/amazonebs: check for err parsing template for ami name 2013-06-17 23:55:08 +02:00
Jack Pearkes 1a6f410257 builder/digitalocean: check for err parsing template for snapshot name 2013-06-17 23:54:28 +02:00
Mitchell Hashimoto 7127ad967b Merge pull request #17 from mitchellh/b-digital-ocean-fixup
DigitalOcean Completion
2013-06-17 14:34:59 -07:00
Mitchell Hashimoto 9bcca1a77b packer: An initial PostProcessor interface 2013-06-17 11:56:26 -07:00
Mitchell Hashimoto 7d63c196d5 command/build: only output artifacts if we have some 2013-06-17 11:49:12 -07:00
Mitchell Hashimoto d31b2d0038 command/build: Improved output when builds error 2013-06-17 11:48:21 -07:00
Mitchell Hashimoto 1cbd3d6a9f packer: Output a newline when interrupted for UI 2013-06-17 11:40:57 -07:00
Jack Pearkes 46d3e7c1a4 builder/digitalocean: print bad status code as string 2013-06-17 14:54:24 +02:00
Jack Pearkes 1e6780e496 builder/digitalocean: improve error messages from DO api 2013-06-17 14:54:18 +02:00
Jack Pearkes 031b20f197 builder/digitalocean: use text/template for the snapshot name 2013-06-17 14:21:15 +02:00
Jack Pearkes 54e8eaab1c builder/digitalocean: add configurable "event_delay" for sleeps 2013-06-17 13:28:21 +02:00
Jack Pearkes 875ee0a871 builder/digitalocean: implement artifacts with the snapshot name 2013-06-17 13:01:42 +02:00
Mitchell Hashimoto c1e7d4314f packer: If interrupted, Ask is disabled 2013-06-15 18:25:34 -07:00
Mitchell Hashimoto 676041dc15 packer: Ui can return an error for Ask, returns one for interrupt 2013-06-15 18:24:38 -07:00
Jack Pearkes 7f8cd0caf7 builder/digitalocean: generate temp rsa keypairs for ssh communication 2013-06-15 22:43:18 +02:00
Mitchell Hashimoto abbf9798b4 packer/rpc: Panic in error case 2013-06-15 11:27:09 -07:00
Mitchell Hashimoto 3435e63b52 packer: Get rid of "name" in template, wasn't used for anything 2013-06-15 11:14:44 -07:00
Mitchell Hashimoto 793877568f builder/digitalocean: Make tests pass
/cc @pearkes
2013-06-15 11:11:03 -07:00
Mitchell Hashimoto ba1c7101c5 builder/digitalocean: Add support for -debug mode
/cc @pearkes
2013-06-15 11:09:26 -07:00
Mitchell Hashimoto d0dc0a769e fmt 2013-06-15 11:07:30 -07:00
Mitchell Hashimoto 5b31c2f073 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 a6eea4642a 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
Mitchell Hashimoto a45c7fb0ea packer: Add SetDebug to Build objects 2013-06-14 12:22:19 -07:00