Commit Graph

666 Commits

Author SHA1 Message Date
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 04563764a0 `packer build` now communicates through RPC! 2013-05-07 11:50:42 -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
Mitchell Hashimoto f4ea172178 NilBuilderFactory 2013-04-20 19:08:10 -06:00
Mitchell Hashimoto 116442510b Require configuration to create Environment 2013-04-20 19:00:03 -06:00
Mitchell Hashimoto 12049e3d87 Some documentation 2013-04-20 18:33:27 -06:00
Mitchell Hashimoto f21db281c2 better testing of the help printing on CLIs 2013-04-20 18:30:09 -06:00
Mitchell Hashimoto 109be6b5e3 Better testing of CLI 2013-04-20 18:22:27 -06:00
Mitchell Hashimoto a8853da063 Test the CLI that Run is called on custom commands 2013-04-20 18:17:53 -06:00
Mitchell Hashimoto 216d5cb0d1 Fix tests 2013-04-20 18:09:54 -06:00
Mitchell Hashimoto 0de922d14a Make environment config export variables 2013-04-20 18:08:43 -06:00
Mitchell Hashimoto 2e1b50769f Just some types and their documentation 2013-04-20 18:05:27 -06:00
Mitchell Hashimoto 37bd1cd308 Test setting the UI for tests 2013-04-15 20:26:38 -07:00
Mitchell Hashimoto 4eb8ac80c2 Ability to get a builder from the env 2013-04-15 19:53:29 -07:00
Mitchell Hashimoto 6bed06e01c Lots of template parsing stuff 2013-04-15 17:04:19 -07:00
Mitchell Hashimoto 298a7cdbe4 Basic template parsing, tests, build command progress 2013-04-15 15:48:42 -07:00
Mitchell Hashimoto 49256895cc CLI calls should slice the first arg out before running 2013-04-15 15:03:41 -07:00
Mitchell Hashimoto 8c5b695de7 Initial build command 2013-04-15 14:36:23 -07:00
Mitchell Hashimoto 759261dcf1 Bad commit message 2013-03-25 16:29:26 -07:00
Mitchell Hashimoto bde32e964f Alphabetize 2013-03-24 16:41:58 -07:00
Mitchell Hashimoto b25bf0c0c9 Format 2013-03-24 16:36:02 -07:00
Mitchell Hashimoto f6919cf18b Short-circuit -h and --help to printing help for the top-level cmd 2013-03-24 16:35:33 -07:00
Mitchell Hashimoto 4d10489f51 Implement the help method 2013-03-24 16:28:35 -07:00
Mitchell Hashimoto 91c524c7ec More environment testing 2013-03-24 14:47:59 -07:00
Mitchell Hashimoto ca93f645be packer.Ui tests 2013-03-24 14:31:18 -07:00
Mitchell Hashimoto db1c11fff5 Lots of stuff, too early for meaningful commit messages
UI, command dispatch
2013-03-24 14:03:53 -07:00