Commit Graph

342 Commits

Author SHA1 Message Date
Mitchell Hashimoto 30ab944437 packer/rpc: Support Hooks 2013-05-11 09:51:49 -07:00
Mitchell Hashimoto 8ed313e7b5 packer: Add concept of hooks to Environment 2013-05-10 23:15:13 -07:00
Mitchell Hashimoto 5ac06e116e packer: Parse "hooks" configuration into the Template 2013-05-10 22:47:20 -07:00
Mitchell Hashimoto 44bd56c3a8 go fmt 2013-05-10 17:01:24 -07:00
Mitchell Hashimoto 368ccab8e8 packer: Put Builder definition into its own file 2013-05-10 16:59:28 -07:00
Mitchell Hashimoto 208daf7d03 packer: Hook interface, not hooked up yet 2013-05-10 16:58:50 -07:00
Mitchell Hashimoto de03e97643 packer: More comments/docs 2013-05-10 16:41:35 -07:00
Mitchell Hashimoto 4fc764430d builder/amazonebs: Wait for AMI to become ready 2013-05-10 15:47:46 -07:00
Mitchell Hashimoto e071739cd8 builder/amazonebs: Can make an AMI. WHAT! 2013-05-10 15:21:11 -07:00
Mitchell Hashimoto 185d2765be command/build: Run the builds in parallel 2013-05-10 13:01:54 -07:00
Mitchell Hashimoto 077f15bdfb packer/plugin: Docs 2013-05-09 14:27:20 -07:00
Mitchell Hashimoto ce6037cca8 builder/amazonebs: Doc for the package 2013-05-09 14:16:39 -07:00
Mitchell Hashimoto fad5233868 builder/amazonebs: More comments 2013-05-09 14:10:57 -07:00
Mitchell Hashimoto 4c37ce5304 builder/amazonebs: Don't worry about the map[string]interface crap 2013-05-09 14:05:15 -07:00
Mitchell Hashimoto c580faa1a5 packer/rpc: error interface wrapper to RPC errors around 2013-05-09 13:59:33 -07:00
Mitchell Hashimoto 6d4136c5ab packer/plugin: Add plugin path to the log messages 2013-05-09 13:29:14 -07:00
Mitchell Hashimoto 44c61e537d Some additional logging 2013-05-09 13:26:40 -07:00
Mitchell Hashimoto 6d0fa84e2c builder/amazonebs: Read config 2013-05-09 13:19:38 -07:00
Mitchell Hashimoto 9600bf5b4b packer: Build.Name 2013-05-09 11:32:03 -07:00
Mitchell Hashimoto 587d359887 packer: Builder.Prepare can return an error 2013-05-09 10:54:42 -07:00
Mitchell Hashimoto d6efe3c757 builder/amazonebs, plugin/builder-amazon-ebs 2013-05-08 22:34:20 -07:00
Mitchell Hashimoto c164b4c23c packer/plugin: Actually try more ports for plugins 2013-05-08 22:25:47 -07:00
Mitchell Hashimoto a519de21b9 Small README update 2013-05-08 21:09:19 -07:00
Mitchell Hashimoto 31e10ecfd1 Ignore packerrc so you can dev with it 2013-05-08 21:07:14 -07:00
Mitchell Hashimoto cce59af2e8 Support builders in config, packer/rpc, packer/plugin 2013-05-08 21:05:35 -07:00
Mitchell Hashimoto 32ec0adbb0 Set PACKER_CONFIG for global config path 2013-05-08 20:56:44 -07:00
Mitchell Hashimoto cd5cecfe89 app: support merging configs 2013-05-08 20:40:04 -07:00
Mitchell Hashimoto 5e17fbdaca packer: Set GOMAXPROCS for number of CPU if n ot set 2013-05-08 18:30:39 -07:00
Mitchell Hashimoto 085533c17f packer: Test to ensure the default config can parse 2013-05-08 18:14:40 -07:00
Mitchell Hashimoto 5f8330ecc2 Parse/load configs 2013-05-08 18:13:15 -07:00
Mitchell Hashimoto 8ffbc2efe7 packer: Start pulling out the global config stuff 2013-05-08 17:28:05 -07:00
Mitchell Hashimoto 8a78de02c7 packer: Cleaner way to build up a list of names 2013-05-08 17:11:02 -07:00
Mitchell Hashimoto 198f984b92 packer: error if UI fails 2013-05-08 17:09:10 -07:00
Mitchell Hashimoto 4b665e39bd Fix the UI 2013-05-08 17:01:57 -07:00
Mitchell Hashimoto fd2d8480e1 Lots more logging everywhere 2013-05-08 16:59:36 -07:00
Mitchell Hashimoto bc01d28857 command/build: More complete error handling 2013-05-08 15:14:08 -07:00
Mitchell Hashimoto 95153413a6 packer: Ui has Error method 2013-05-08 15:12:48 -07:00
Mitchell Hashimoto a803af7016 Move the build command into the actual build command 2013-05-08 14:58:06 -07:00
Mitchell Hashimoto 6633f3df80 packer: Handle errors with executing the CLI 2013-05-08 14:53:20 -07:00
Mitchell Hashimoto c5e83a4b15 packer/plugin: Client.Kill should only kill process if it is running 2013-05-08 14:51:56 -07:00
Mitchell Hashimoto 947209a028 packer: PACKER_LOG to toggle logging from an env var [GH-3] 2013-05-08 14:45:17 -07:00
Mitchell Hashimoto 7dfeda350a packer/plugin: Properly log the max port 2013-05-08 13:45:57 -07:00
Mitchell Hashimoto 88f7b33082 packer/rpc: Rename Command to follow RPC style 2013-05-08 13:42:25 -07:00
Mitchell Hashimoto ac83cf652a packer/rpc: Setup the Environment properly for Command 2013-05-08 13:11:47 -07:00
Mitchell Hashimoto adb533fd3e Properly defer a client cleanup in case of a pnic 2013-05-08 13:06:57 -07:00
Mitchell Hashimoto abb51ebb35 packer/plugin: Don't wrap bytesBuffer in bufio, fixes GH-10 2013-05-08 13:02:21 -07:00
Mitchell Hashimoto 286f0aa91c More logging, some tweaks to the format 2013-05-08 12:43:41 -07:00
Mitchell Hashimoto 26a998f721 packer/plugin: Managed clients for automatic cleanup 2013-05-08 11:54:59 -07:00
Mitchell Hashimoto c8079a4290 packer/plugin: client kill waits for logging to complete 2013-05-08 11:23:24 -07:00
Mitchell Hashimoto e1785e424e packer/plugin: client to encapsulate logic for starting plugins 2013-05-08 11:14:21 -07:00