Commit Graph

743 Commits

Author SHA1 Message Date
Mitchell Hashimoto 92a4f27868 packer/rpc: Support provisioners 2013-05-22 15:35:52 -07:00
Mitchell Hashimoto 638e191186 packer: Parse provisioners out of template 2013-05-22 15:12:43 -07:00
Mitchell Hashimoto 06b0cebd1e packer: Template properly calls builder type builderType 2013-05-22 14:39:32 -07:00
Mitchell Hashimoto 4bd7db0759 go fmt 2013-05-22 14:36:33 -07:00
Mitchell Hashimoto 8273565255 better comments for TODO 2013-05-22 14:36:21 -07:00
Mitchell Hashimoto fc0c1a726c command/build: No newlines in output now 2013-05-22 14:25:58 -07:00
Mitchell Hashimoto c51223bab7 packer: Template parsing error if name/type is not string 2013-05-22 14:14:40 -07:00
Mitchell Hashimoto f9c59c714f packer: Better error handling for template parsing 2013-05-22 14:11:34 -07:00
Mitchell Hashimoto 615f993de2 packer: MultiError to represent multiple errors 2013-05-22 13:36:09 -07:00
Mitchell Hashimoto 09ca5be74f command/build: Newline before results 2013-05-22 13:25:12 -07:00
Mitchell Hashimoto c4522a6265 packer: Provisioner interface 2013-05-22 13:25:03 -07:00
Mitchell Hashimoto 4011660fc8 command/build: Output artifact info 2013-05-21 22:38:56 -07:00
Mitchell Hashimoto 41a7fd45b9 packer: Return artifact from build 2013-05-21 22:38:41 -07:00
Mitchell Hashimoto cf6d2218ea builder/amazonebs: Artifact returns AMIs 2013-05-21 22:28:41 -07:00
Mitchell Hashimoto e9618b0d07 packer/plugin: Properly supports Artifacts 2013-05-21 22:16:26 -07:00
Mitchell Hashimoto caa2b7711b packer/rpc: Builders return valid artifacts 2013-05-21 22:14:58 -07:00
Mitchell Hashimoto 53c3d330e4 packer/rpc: Support Artifacts 2013-05-21 22:10:21 -07:00
Mitchell Hashimoto 55d9cd2124 packer: First pass at Artifact interface 2013-05-21 21:53:16 -07:00
Mitchell Hashimoto 64ea06d542 command/build; Remove end UI stuff 2013-05-21 15:48:42 -07:00
Mitchell Hashimoto 9a3a3bad55 command/build: properly prefix the build outputs 2013-05-21 15:43:50 -07:00
Mitchell Hashimoto 6a98134682 command/build: Use PrefixedUi for each build 2013-05-21 15:10:51 -07:00
Mitchell Hashimoto 2c4a873a5f packer: Add PrefixedUi 2013-05-21 13:20:51 -07:00
Mitchell Hashimoto cc4970d424 packer/rpc: Allow "error" interfaces to be sent over RPC 2013-05-21 11:58:14 -07:00
Mitchell Hashimoto 8dfe78dd19 packer: Log UI output 2013-05-21 11:40:07 -07:00
Mitchell Hashimoto dfc332f98c builder/amazonebs: Add ssh_* settings 2013-05-21 11:36:26 -07:00
Mitchell Hashimoto 4453fda2e8 go fmt 2013-05-21 00:56:27 -07:00
Mitchell Hashimoto 3a97bae000 builder/amazonebs: Refactor into multiple steps 2013-05-21 00:55:32 -07:00
Mitchell Hashimoto 559777e5b7 packer: Ui automatically appends newline 2013-05-20 23:43:37 -07:00
Mitchell Hashimoto 2ee8859ac0 builder/amazonebs: SSH test. It works! 2013-05-20 23:18:44 -07:00
Mitchell Hashimoto 39a05400dd communicator/ssh: Test to verify keychain impls ssh.ClientKeyring 2013-05-20 22:51:51 -07:00
Mitchell Hashimoto abcdd5a613 communicator/ssh: Add SimpleKeychain 2013-05-20 22:50:13 -07:00
Mitchell Hashimoto 0ea19cf818 builder/amazonebs: Create a temporary keypair for use 2013-05-20 22:35:16 -07:00
Mitchell Hashimoto 15f215d04f go fmt 2013-05-20 16:50:35 -07:00
Mitchell Hashimoto 2efab467a8 builder/amazonebs: Switch from json to mapstructure for decode 2013-05-20 16:39:43 -07:00
Mitchell Hashimoto bee266008e communicator/ssh: Ensure valid communicator 2013-05-20 15:52:34 -07:00
Mitchell Hashimoto 6d3e7e9964 communicator/ssh: Simplify tests 2013-05-20 15:49:14 -07:00
Mitchell Hashimoto 08ac912cb7 Start work on SSH communicator 2013-05-20 15:47:41 -07:00
Mitchell Hashimoto 7475ee8377 packer: Add Communicator to Hook arguments 2013-05-12 17:30:30 -07:00
Mitchell Hashimoto 7fdb53f5d1 packer: Test to make sure DispatchHook implements Hook 2013-05-12 17:15:03 -07:00
Mitchell Hashimoto f74341a7b9 packer/rpc: Complete Upload/Download implementation 2013-05-12 17:09:14 -07:00
Mitchell Hashimoto 9262a85e6c packer/rpc: Communicator.Upload 2013-05-12 16:48:46 -07:00
Mitchell Hashimoto daa431af63 packer: Communicator Upload/Download return an error 2013-05-12 16:25:40 -07:00
Mitchell Hashimoto 496a320a82 packer/rpc: Implement full communicator interface 2013-05-12 16:19:34 -07:00
Mitchell Hashimoto 2799cccf4b packer: Waiting for a remote command and setting the exit status 2013-05-12 16:18:17 -07:00
Mitchell Hashimoto 88a018bf5d packer: Work on communicators... WIP 2013-05-12 14:47:55 -07:00
Mitchell Hashimoto a2bf964f30 packer/rpc: Properly support hooks 2013-05-11 11:11:40 -07:00
Mitchell Hashimoto cb1e0cbabf packer/plugin: Support hooks 2013-05-11 10:46:17 -07:00
Mitchell Hashimoto d926b98708 Update all packer/rpc, packer/plugin, builders for new builder API 2013-05-11 10:31:30 -07:00
Mitchell Hashimoto 441edd25d2 packer: Changes to build parameters and DispatchHook 2013-05-11 10:27:07 -07:00
Mitchell Hashimoto 25fd2fe877 packer: Template looks up hooks and adds them to the build 2013-05-11 10:00:37 -07:00