Commit Graph

13655 Commits

Author SHA1 Message Date
Mitchell Hashimoto 1b78fc88a9 packer: coreBuild runs provisioners as part of Run 2013-05-23 21:26:24 -07:00
Mitchell Hashimoto 83eab87c26 packer: TODO item 2013-05-23 21:13:40 -07:00
Mitchell Hashimoto 812722c20d packer: ProvisionHook 2013-05-23 21:13:18 -07:00
Mitchell Hashimoto 73b7d94933 packer: better commenting 2013-05-22 17:06:06 -07:00
Mitchell Hashimoto e69e74b2dc packer: Panic if provisioners and no provisioner function 2013-05-22 17:05:36 -07:00
Mitchell Hashimoto 3d0dde03e6 packer: Panic on template if no builder function 2013-05-22 17:02:34 -07:00
Mitchell Hashimoto d919f9545a command/build: Specify a provisioner function 2013-05-22 16:56:04 -07:00
Mitchell Hashimoto 534f32067a packer: Test that hooks are callable from builds 2013-05-22 16:46:23 -07:00
Mitchell Hashimoto 0f57370dec packer: Prepare provisioners as part of Build prepare 2013-05-22 16:29:07 -07:00
Mitchell Hashimoto cb91ca72ac packer: Build.Prepare takes a UI 2013-05-22 16:20:40 -07:00
Mitchell Hashimoto fbcc6cb2b2 packer: Build now has provisioners, template parses and builds 2013-05-22 16:15:57 -07:00
Mitchell Hashimoto 11d46a3a2c packer: ProvisionerFunc 2013-05-22 15:39:30 -07:00
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