Commit Graph

18303 Commits (98176f54297b3d6fde4dee8aec08c94de71a67fd)
 

Author SHA1 Message Date
Mitchell Hashimoto c5e83a4b15 packer/plugin: Client.Kill should only kill process if it is running
13 years ago
Mitchell Hashimoto 947209a028 packer: PACKER_LOG to toggle logging from an env var [GH-3]
13 years ago
Mitchell Hashimoto 7dfeda350a packer/plugin: Properly log the max port
13 years ago
Mitchell Hashimoto 88f7b33082 packer/rpc: Rename Command to follow RPC style
13 years ago
Mitchell Hashimoto ac83cf652a packer/rpc: Setup the Environment properly for Command
13 years ago
Mitchell Hashimoto adb533fd3e Properly defer a client cleanup in case of a pnic
13 years ago
Mitchell Hashimoto abb51ebb35 packer/plugin: Don't wrap bytesBuffer in bufio, fixes GH-10
13 years ago
Mitchell Hashimoto 286f0aa91c More logging, some tweaks to the format
13 years ago
Mitchell Hashimoto 26a998f721 packer/plugin: Managed clients for automatic cleanup
13 years ago
Mitchell Hashimoto c8079a4290 packer/plugin: client kill waits for logging to complete
13 years ago
Mitchell Hashimoto e1785e424e packer/plugin: client to encapsulate logic for starting plugins
13 years ago
Mitchell Hashimoto 4d9b5fa86d packer/plugin: Better command logging, but not good enough yet
13 years ago
Mitchell Hashimoto 8a32494e3f Start working on logging across the board
13 years ago
Mitchell Hashimoto 17188f078d Get packer compiling again
13 years ago
Mitchell Hashimoto cbab761ab1 packer: Environment.Cli error tests
13 years ago
Mitchell Hashimoto de444867d3 packer: Tests for the Builder error cases
13 years ago
Mitchell Hashimoto 869732826b packer, packer/rpc: Make command/builderFunc support errors
13 years ago
Mitchell Hashimoto fbc2013b8c packer/plugin: Documentation
13 years ago
Mitchell Hashimoto 70d378b936 packer/plugin: Better command cleanup
13 years ago
Mitchell Hashimoto 68a024b59a packer/plugin: Make sure subprocess properly dies if error
13 years ago
Mitchell Hashimoto 2ff1fabbf9 packer/plugin: timeout when starting a plugin
13 years ago
Mitchell Hashimoto c9c294f136 packer/plugin: More robust command exit detection + tests
13 years ago
Mitchell Hashimoto 9219a19f61 packer/plugin: Better error handling around command exit cases
13 years ago
Mitchell Hashimoto ff23b67929 packer/plugin: error if command can't start
13 years ago
Mitchell Hashimoto f601625f7b Commands
13 years ago
Mitchell Hashimoto 04563764a0 `packer build` now communicates through RPC!
13 years ago
Mitchell Hashimoto 91ade277a6 Create the build command/plugin
13 years ago
Mitchell Hashimoto 399d8ab028 Build command plugin
13 years ago
Mitchell Hashimoto 8697cb6f6a Get packer building again
13 years ago
Mitchell Hashimoto e9278cc0bd packer/plugin: Randomly generate port to run on
13 years ago
Mitchell Hashimoto b9e3eb1ff7 packer/rpc: Get rid of the heavy server stuff
13 years ago
Mitchell Hashimoto 0cc3a5f918 packer/plugin: Much more robust subprocess starting
13 years ago
Mitchell Hashimoto 86f1fbe925 packer/rpc: Support the new Builder func on Environment
13 years ago
Mitchell Hashimoto a6aafde00e packer/rpc: tests green from new BuilderFactory changes
13 years ago
Mitchell Hashimoto 14c568a9d2 Get rid of BuilderFactory
13 years ago
Mitchell Hashimoto 3370c55e2c Start packer/plugin. Big WiP
13 years ago
Mitchell Hashimoto 01405c864b packer/rpc: Use the proper Server for tests
13 years ago
Mitchell Hashimoto 5aec3f6745 packer/rpc: Remote environments
13 years ago
Mitchell Hashimoto 255b94761c packer/rpc: Test BuilderFactory result works. Close back RPC after one
13 years ago
Mitchell Hashimoto 5aebe7b149 packer/rpc: BuilderFactory remote
13 years ago
Mitchell Hashimoto 8a78d4d8a5 packer/rpc: Test Builder.Run
13 years ago
Mitchell Hashimoto c537c304cb Remote builders
13 years ago
Mitchell Hashimoto 68341e6e8a Test regisering a UI with the server
13 years ago
Mitchell Hashimoto 720bb0c297 Better comments
13 years ago
Mitchell Hashimoto 03ff35d6a0 Server tests
13 years ago
Mitchell Hashimoto 22549b0388 Fix race condition issue where listner could become nil
13 years ago
Mitchell Hashimoto 5007b240dc Server opens a port in the given range
13 years ago
Mitchell Hashimoto dbe5360262 Ability to get a net listener in a given port range
13 years ago
Mitchell Hashimoto f0a09ffa6b Crazy things with RPC servers and stuff
13 years ago
Mitchell Hashimoto 0985d26167 Make Build an interface
13 years ago