Commit Graph

  • 5e17fbdaca packer: Set GOMAXPROCS for number of CPU if n ot set Mitchell Hashimoto 2013-05-08 18:30:39 -07:00
  • 085533c17f packer: Test to ensure the default config can parse Mitchell Hashimoto 2013-05-08 18:14:40 -07:00
  • 5f8330ecc2 Parse/load configs Mitchell Hashimoto 2013-05-08 18:13:15 -07:00
  • 8ffbc2efe7 packer: Start pulling out the global config stuff Mitchell Hashimoto 2013-05-08 17:28:05 -07:00
  • 8a78de02c7 packer: Cleaner way to build up a list of names Mitchell Hashimoto 2013-05-08 17:11:02 -07:00
  • 198f984b92 packer: error if UI fails Mitchell Hashimoto 2013-05-08 17:09:10 -07:00
  • 4b665e39bd Fix the UI Mitchell Hashimoto 2013-05-08 17:01:57 -07:00
  • fd2d8480e1 Lots more logging everywhere Mitchell Hashimoto 2013-05-08 16:59:36 -07:00
  • bc01d28857 command/build: More complete error handling Mitchell Hashimoto 2013-05-08 15:14:08 -07:00
  • 95153413a6 packer: Ui has Error method Mitchell Hashimoto 2013-05-08 15:12:48 -07:00
  • a803af7016 Move the build command into the actual build command Mitchell Hashimoto 2013-05-08 14:58:06 -07:00
  • 6633f3df80 packer: Handle errors with executing the CLI Mitchell Hashimoto 2013-05-08 14:53:20 -07:00
  • c5e83a4b15 packer/plugin: Client.Kill should only kill process if it is running Mitchell Hashimoto 2013-05-08 14:51:14 -07:00
  • 947209a028 packer: PACKER_LOG to toggle logging from an env var [GH-3] Mitchell Hashimoto 2013-05-08 14:45:17 -07:00
  • 7dfeda350a packer/plugin: Properly log the max port Mitchell Hashimoto 2013-05-08 13:45:57 -07:00
  • 88f7b33082 packer/rpc: Rename Command to follow RPC style Mitchell Hashimoto 2013-05-08 13:42:25 -07:00
  • ac83cf652a packer/rpc: Setup the Environment properly for Command Mitchell Hashimoto 2013-05-08 13:11:47 -07:00
  • adb533fd3e Properly defer a client cleanup in case of a pnic Mitchell Hashimoto 2013-05-08 13:06:57 -07:00
  • abb51ebb35 packer/plugin: Don't wrap bytesBuffer in bufio, fixes GH-10 Mitchell Hashimoto 2013-05-08 13:02:21 -07:00
  • 286f0aa91c More logging, some tweaks to the format Mitchell Hashimoto 2013-05-08 12:43:41 -07:00
  • 26a998f721 packer/plugin: Managed clients for automatic cleanup Mitchell Hashimoto 2013-05-08 11:54:59 -07:00
  • c8079a4290 packer/plugin: client kill waits for logging to complete Mitchell Hashimoto 2013-05-08 11:23:24 -07:00
  • e1785e424e packer/plugin: client to encapsulate logic for starting plugins Mitchell Hashimoto 2013-05-08 11:14:21 -07:00
  • 4d9b5fa86d packer/plugin: Better command logging, but not good enough yet Mitchell Hashimoto 2013-05-08 10:52:23 -07:00
  • 8a32494e3f Start working on logging across the board Mitchell Hashimoto 2013-05-08 09:46:37 -07:00
  • 17188f078d Get packer compiling again Mitchell Hashimoto 2013-05-07 23:09:34 -07:00
  • cbab761ab1 packer: Environment.Cli error tests Mitchell Hashimoto 2013-05-07 20:50:22 -07:00
  • de444867d3 packer: Tests for the Builder error cases Mitchell Hashimoto 2013-05-07 20:47:56 -07:00
  • 869732826b packer, packer/rpc: Make command/builderFunc support errors Mitchell Hashimoto 2013-05-07 20:42:49 -07:00
  • fbc2013b8c packer/plugin: Documentation Mitchell Hashimoto 2013-05-07 19:50:34 -07:00
  • 70d378b936 packer/plugin: Better command cleanup Mitchell Hashimoto 2013-05-07 19:48:14 -07:00
  • 68a024b59a packer/plugin: Make sure subprocess properly dies if error Mitchell Hashimoto 2013-05-07 19:47:32 -07:00
  • 2ff1fabbf9 packer/plugin: timeout when starting a plugin Mitchell Hashimoto 2013-05-07 19:39:20 -07:00
  • c9c294f136 packer/plugin: More robust command exit detection + tests Mitchell Hashimoto 2013-05-07 17:10:45 -07:00
  • 9219a19f61 packer/plugin: Better error handling around command exit cases Mitchell Hashimoto 2013-05-07 17:02:55 -07:00
  • ff23b67929 packer/plugin: error if command can't start Mitchell Hashimoto 2013-05-07 14:05:51 -07:00
  • f601625f7b Commands Mitchell Hashimoto 2013-05-07 13:40:49 -07:00
  • 04563764a0 packer build now communicates through RPC! Mitchell Hashimoto 2013-05-07 11:50:42 -07:00
  • 91ade277a6 Create the build command/plugin Mitchell Hashimoto 2013-05-07 11:39:32 -07:00
  • 399d8ab028 Build command plugin Mitchell Hashimoto 2013-05-07 11:14:14 -07:00
  • 8697cb6f6a Get packer building again Mitchell Hashimoto 2013-05-07 11:09:36 -07:00
  • e9278cc0bd packer/plugin: Randomly generate port to run on Mitchell Hashimoto 2013-05-06 15:27:44 -07:00
  • b9e3eb1ff7 packer/rpc: Get rid of the heavy server stuff Mitchell Hashimoto 2013-05-05 17:38:50 -07:00
  • 0cc3a5f918 packer/plugin: Much more robust subprocess starting Mitchell Hashimoto 2013-05-05 16:25:32 -07:00
  • 86f1fbe925 packer/rpc: Support the new Builder func on Environment Mitchell Hashimoto 2013-05-05 15:12:55 -07:00
  • a6aafde00e packer/rpc: tests green from new BuilderFactory changes Mitchell Hashimoto 2013-05-05 14:50:27 -07:00
  • 14c568a9d2 Get rid of BuilderFactory Mitchell Hashimoto 2013-05-05 14:47:17 -07:00
  • 3370c55e2c Start packer/plugin. Big WiP Mitchell Hashimoto 2013-05-04 21:26:30 -07:00
  • 01405c864b packer/rpc: Use the proper Server for tests Mitchell Hashimoto 2013-05-04 19:59:34 -07:00
  • 5aec3f6745 packer/rpc: Remote environments Mitchell Hashimoto 2013-05-04 15:58:42 -07:00
  • 255b94761c packer/rpc: Test BuilderFactory result works. Close back RPC after one conn Mitchell Hashimoto 2013-05-04 15:33:36 -07:00
  • 5aebe7b149 packer/rpc: BuilderFactory remote Mitchell Hashimoto 2013-05-04 15:29:00 -07:00
  • 8a78d4d8a5 packer/rpc: Test Builder.Run Mitchell Hashimoto 2013-05-04 13:50:02 -07:00
  • c537c304cb Remote builders Mitchell Hashimoto 2013-05-04 13:47:11 -07:00
  • 68341e6e8a Test regisering a UI with the server Mitchell Hashimoto 2013-05-04 13:36:56 -07:00
  • 720bb0c297 Better comments Mitchell Hashimoto 2013-05-04 13:32:02 -07:00
  • 03ff35d6a0 Server tests Mitchell Hashimoto 2013-05-04 13:31:07 -07:00
  • 22549b0388 Fix race condition issue where listner could become nil Mitchell Hashimoto 2013-05-04 13:29:45 -07:00
  • 5007b240dc Server opens a port in the given range Mitchell Hashimoto 2013-05-04 13:23:28 -07:00
  • dbe5360262 Ability to get a net listener in a given port range Mitchell Hashimoto 2013-05-04 13:17:22 -07:00
  • f0a09ffa6b Crazy things with RPC servers and stuff Mitchell Hashimoto 2013-05-03 23:55:08 -07:00
  • 0985d26167 Make Build an interface Mitchell Hashimoto 2013-05-03 20:45:38 -07:00
  • 8dea720627 rpc.Ui Mitchell Hashimoto 2013-05-03 15:49:15 -07:00
  • 94cdedf40f Move RPC stuff into a new "packer/rpc" package Mitchell Hashimoto 2013-05-03 14:26:21 -07:00
  • b1993dc24d Test that coreEnvironment can't encode/decode Mitchell Hashimoto 2013-05-02 15:36:30 -07:00
  • 575489fa78 RPC commands and some basic tests for this [GH-1] Mitchell Hashimoto 2013-05-02 15:20:12 -07:00
  • 520503e10c Turn Environment into an interface Mitchell Hashimoto 2013-05-02 14:03:55 -07:00
  • fefd2ae208 Separate commands into other directories Mitchell Hashimoto 2013-04-21 19:04:35 -07:00
  • f49c0cb313 Pull out Command interface out into separate file Mitchell Hashimoto 2013-04-21 18:45:44 -07:00
  • 262d8aa9a8 Template can create Builds Mitchell Hashimoto 2013-04-21 12:36:55 -07:00
  • 8f08c5d8a2 Require Prepare to be called on Build Mitchell Hashimoto 2013-04-20 20:03:53 -06:00
  • f579ff05f2 Initial work on Build Mitchell Hashimoto 2013-04-20 19:55:02 -06:00
  • 05e254a2ff BuilderFactory getter on Environment Mitchell Hashimoto 2013-04-20 19:31:42 -06:00
  • 298c0ffa17 Use default environment for now for packer Mitchell Hashimoto 2013-04-20 19:09:53 -06:00
  • f4ea172178 NilBuilderFactory Mitchell Hashimoto 2013-04-20 19:08:10 -06:00
  • 116442510b Require configuration to create Environment Mitchell Hashimoto 2013-04-20 19:00:03 -06:00
  • 12049e3d87 Some documentation Mitchell Hashimoto 2013-04-20 18:33:27 -06:00
  • f21db281c2 better testing of the help printing on CLIs Mitchell Hashimoto 2013-04-20 18:30:09 -06:00
  • 109be6b5e3 Better testing of CLI Mitchell Hashimoto 2013-04-20 18:22:27 -06:00
  • a8853da063 Test the CLI that Run is called on custom commands Mitchell Hashimoto 2013-04-20 18:17:53 -06:00
  • 9849a98b6b Show the stderr for when test builds fail Mitchell Hashimoto 2013-04-20 18:17:44 -06:00
  • 216d5cb0d1 Fix tests Mitchell Hashimoto 2013-04-20 18:09:54 -06:00
  • 0de922d14a Make environment config export variables Mitchell Hashimoto 2013-04-20 18:08:43 -06:00
  • 2e1b50769f Just some types and their documentation Mitchell Hashimoto 2013-04-20 18:05:27 -06:00
  • 37bd1cd308 Test setting the UI for tests Mitchell Hashimoto 2013-04-15 20:26:38 -07:00
  • 4eb8ac80c2 Ability to get a builder from the env Mitchell Hashimoto 2013-04-15 19:53:29 -07:00
  • 6bed06e01c Lots of template parsing stuff Mitchell Hashimoto 2013-04-15 17:04:19 -07:00
  • 298a7cdbe4 Basic template parsing, tests, build command progress Mitchell Hashimoto 2013-04-15 15:48:42 -07:00
  • 49256895cc CLI calls should slice the first arg out before running Mitchell Hashimoto 2013-04-15 15:03:41 -07:00
  • c2ee139973 Don't install test dependencies Mitchell Hashimoto 2013-04-15 14:41:57 -07:00
  • d9b07bcf4a Ignore Makefile change Mitchell Hashimoto 2013-04-15 14:36:53 -07:00
  • 85f177b98a update makefile to clear pkg to force rebuilding of our packages Mitchell Hashimoto 2013-04-15 14:36:27 -07:00
  • 8c5b695de7 Initial build command Mitchell Hashimoto 2013-04-15 14:36:23 -07:00
  • 759261dcf1 Bad commit message Mitchell Hashimoto 2013-03-25 16:29:26 -07:00
  • 791e048268 Makefile to grab test dependencies Mitchell Hashimoto 2013-03-25 14:17:21 -07:00
  • bde32e964f Alphabetize Mitchell Hashimoto 2013-03-24 16:41:58 -07:00
  • b25bf0c0c9 Format Mitchell Hashimoto 2013-03-24 16:36:02 -07:00
  • f6919cf18b Short-circuit -h and --help to printing help for the top-level cmd Mitchell Hashimoto 2013-03-24 16:35:33 -07:00
  • 4d10489f51 Implement the help method Mitchell Hashimoto 2013-03-24 16:28:35 -07:00
  • 91c524c7ec More environment testing Mitchell Hashimoto 2013-03-24 14:47:59 -07:00