Commit Graph

3942 Commits

Author SHA1 Message Date
Mitchell Hashimoto 4d9b5fa86d packer/plugin: Better command logging, but not good enough yet 2013-05-08 10:52:23 -07:00
Mitchell Hashimoto 8a32494e3f Start working on logging across the board 2013-05-08 09:46:37 -07:00
Mitchell Hashimoto 17188f078d Get packer compiling again 2013-05-07 23:09:34 -07:00
Mitchell Hashimoto cbab761ab1 packer: Environment.Cli error tests 2013-05-07 20:50:22 -07:00
Mitchell Hashimoto de444867d3 packer: Tests for the Builder error cases 2013-05-07 20:47:56 -07:00
Mitchell Hashimoto 869732826b packer, packer/rpc: Make command/builderFunc support errors 2013-05-07 20:42:49 -07:00
Mitchell Hashimoto fbc2013b8c packer/plugin: Documentation 2013-05-07 19:50:34 -07:00
Mitchell Hashimoto 70d378b936 packer/plugin: Better command cleanup 2013-05-07 19:48:14 -07:00
Mitchell Hashimoto 68a024b59a packer/plugin: Make sure subprocess properly dies if error 2013-05-07 19:47:32 -07:00
Mitchell Hashimoto 2ff1fabbf9 packer/plugin: timeout when starting a plugin 2013-05-07 19:39:20 -07:00
Mitchell Hashimoto c9c294f136 packer/plugin: More robust command exit detection + tests 2013-05-07 17:10:45 -07:00
Mitchell Hashimoto 9219a19f61 packer/plugin: Better error handling around command exit cases 2013-05-07 17:02:55 -07:00
Mitchell Hashimoto ff23b67929 packer/plugin: error if command can't start 2013-05-07 14:05:51 -07:00
Mitchell Hashimoto f601625f7b Commands 2013-05-07 13:40:49 -07:00
Mitchell Hashimoto 04563764a0 `packer build` now communicates through RPC! 2013-05-07 11:50:42 -07:00
Mitchell Hashimoto 91ade277a6 Create the build command/plugin 2013-05-07 11:39:32 -07:00
Mitchell Hashimoto 399d8ab028 Build command plugin 2013-05-07 11:14:14 -07:00
Mitchell Hashimoto 8697cb6f6a Get packer building again 2013-05-07 11:09:36 -07:00
Mitchell Hashimoto e9278cc0bd packer/plugin: Randomly generate port to run on 2013-05-06 15:27:44 -07:00
Mitchell Hashimoto b9e3eb1ff7 packer/rpc: Get rid of the heavy server stuff 2013-05-05 17:38:50 -07:00
Mitchell Hashimoto 0cc3a5f918 packer/plugin: Much more robust subprocess starting 2013-05-05 16:25:32 -07:00
Mitchell Hashimoto 86f1fbe925 packer/rpc: Support the new Builder func on Environment 2013-05-05 15:12:55 -07:00
Mitchell Hashimoto a6aafde00e packer/rpc: tests green from new BuilderFactory changes 2013-05-05 14:50:27 -07:00
Mitchell Hashimoto 14c568a9d2 Get rid of BuilderFactory 2013-05-05 14:47:17 -07:00
Mitchell Hashimoto 3370c55e2c Start packer/plugin. Big WiP 2013-05-04 21:26:30 -07:00
Mitchell Hashimoto 01405c864b packer/rpc: Use the proper Server for tests 2013-05-04 19:59:42 -07:00
Mitchell Hashimoto 5aec3f6745 packer/rpc: Remote environments 2013-05-04 15:58:42 -07:00
Mitchell Hashimoto 255b94761c packer/rpc: Test BuilderFactory result works. Close back RPC after one
conn
2013-05-04 15:33:36 -07:00
Mitchell Hashimoto 5aebe7b149 packer/rpc: BuilderFactory remote 2013-05-04 15:29:00 -07:00
Mitchell Hashimoto 8a78d4d8a5 packer/rpc: Test Builder.Run 2013-05-04 13:50:02 -07:00
Mitchell Hashimoto c537c304cb Remote builders 2013-05-04 13:47:11 -07:00
Mitchell Hashimoto 68341e6e8a Test regisering a UI with the server 2013-05-04 13:36:56 -07:00
Mitchell Hashimoto 720bb0c297 Better comments 2013-05-04 13:32:02 -07:00
Mitchell Hashimoto 03ff35d6a0 Server tests 2013-05-04 13:31:07 -07:00
Mitchell Hashimoto 22549b0388 Fix race condition issue where listner could become nil 2013-05-04 13:29:45 -07:00
Mitchell Hashimoto 5007b240dc Server opens a port in the given range 2013-05-04 13:23:28 -07:00
Mitchell Hashimoto dbe5360262 Ability to get a net listener in a given port range 2013-05-04 13:17:22 -07:00
Mitchell Hashimoto f0a09ffa6b Crazy things with RPC servers and stuff 2013-05-03 23:55:08 -07:00
Mitchell Hashimoto 0985d26167 Make Build an interface 2013-05-03 20:45:38 -07:00
Mitchell Hashimoto 8dea720627 rpc.Ui 2013-05-03 15:49:15 -07:00
Mitchell Hashimoto 94cdedf40f Move RPC stuff into a new "packer/rpc" package 2013-05-03 14:26:21 -07:00
Mitchell Hashimoto b1993dc24d Test that coreEnvironment can't encode/decode 2013-05-02 15:36:30 -07:00
Mitchell Hashimoto 575489fa78 RPC commands and some basic tests for this [GH-1] 2013-05-02 15:20:12 -07:00
Mitchell Hashimoto 520503e10c Turn Environment into an interface 2013-05-02 14:03:55 -07:00
Mitchell Hashimoto fefd2ae208 Separate commands into other directories 2013-04-21 19:04:35 -07:00
Mitchell Hashimoto f49c0cb313 Pull out Command interface out into separate file 2013-04-21 18:45:44 -07:00
Mitchell Hashimoto 262d8aa9a8 Template can create Builds 2013-04-21 12:36:55 -07:00
Mitchell Hashimoto 8f08c5d8a2 Require Prepare to be called on Build 2013-04-20 20:03:53 -06:00
Mitchell Hashimoto f579ff05f2 Initial work on Build 2013-04-20 19:55:02 -06:00
Mitchell Hashimoto 05e254a2ff BuilderFactory getter on Environment 2013-04-20 19:31:42 -06:00