Commit Graph

741 Commits

Author SHA1 Message Date
Mitchell Hashimoto 9e78cbaa89 packer: PostProcessor takes a UI [GH-20] 2013-06-18 20:38:21 -07:00
Mitchell Hashimoto 44087ca7df website: finish digitalocean docs 2013-06-18 19:25:54 -07:00
Mitchell Hashimoto 78de34538d rename digital-ocean to digitalocean 2013-06-18 16:52:22 -07:00
Mitchell Hashimoto 31982bcfc6 website: document digitalocean builder 2013-06-18 16:51:46 -07:00
Mitchell Hashimoto 338298b8af command/build, command/validate: Setup proper components to avoid nil 2013-06-18 16:29:29 -07:00
Mitchell Hashimoto 0edeb49467 builder/amazonebs: If only one error on destroy, just return it 2013-06-18 16:25:35 -07:00
Mitchell Hashimoto 4f229dea09 builder/amazonebs: Implement Artifact.Destroy 2013-06-18 16:24:35 -07:00
Mitchell Hashimoto 0f354c79d1 packer: Add Destroy method to artifact
[GH-18]
2013-06-18 16:01:14 -07:00
Mitchell Hashimoto ce1900c477 website: custom post-processor dev 2013-06-18 14:40:37 -07:00
Mitchell Hashimoto 1bf8237d64 website: post-processors docs for templates 2013-06-18 14:40:37 -07:00
Robby Colvin c992de45a3 Fix for find in Linux 2013-06-18 14:07:36 -07:00
Mitchell Hashimoto 51fe46e6d9 packer/plugin: Support PostProcessor 2013-06-18 13:49:07 -07:00
Mitchell Hashimoto 9b9af6dc9d packer/rpc: Support PostProcessor 2013-06-18 13:44:57 -07:00
Mitchell Hashimoto ca7e8dbb74 Allow post-processors in the core configuration 2013-06-18 11:00:31 -07:00
Mitchell Hashimoto e2534fe88d packer: Build runs the post-processors 2013-06-18 10:54:29 -07:00
Mitchell Hashimoto 04a8bfb455 packer: Post-processors are configured 2013-06-18 10:31:52 -07:00
Mitchell Hashimoto 1015df8fa8 packer: Build can return multiple artifacts 2013-06-18 10:24:23 -07:00
Mitchell Hashimoto dab3eb5ece packer/rpc: Get RPC compliant with Environment again 2013-06-18 10:05:45 -07:00
Mitchell Hashimoto 91a6a7797d packer: builds now have post processors as part of them 2013-06-18 09:58:39 -07:00
Mitchell Hashimoto 18f9677b54 packer: Environment can look up post processors 2013-06-18 09:49:05 -07:00
Mitchell Hashimoto 6a549f0548 packer: panic if Prepare called twice on build, lock 2013-06-18 09:37:49 -07:00
Mitchell Hashimoto 7522c36112 packer: Avoid an extra allocation by using clever addressing 2013-06-18 09:30:23 -07:00
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