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
|
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
|
c4522a6265
|
packer: Provisioner interface
|
2013-05-22 13:25:03 -07:00 |
Mitchell Hashimoto
|
41a7fd45b9
|
packer: Return artifact from build
|
2013-05-21 22:38: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
|
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
|
4453fda2e8
|
go fmt
|
2013-05-21 00:56:27 -07:00 |
Mitchell Hashimoto
|
559777e5b7
|
packer: Ui automatically appends newline
|
2013-05-20 23:43:37 -07:00 |
Mitchell Hashimoto
|
15f215d04f
|
go fmt
|
2013-05-20 16:50:35 -07:00 |
Mitchell Hashimoto
|
7475ee8377
|
packer: Add Communicator to Hook arguments
|
2013-05-12 17:30:30 -07:00 |
Mitchell Hashimoto
|
7fdb53f5d1
|
packer: Test to make sure DispatchHook implements Hook
|
2013-05-12 17:15:03 -07:00 |
Mitchell Hashimoto
|
f74341a7b9
|
packer/rpc: Complete Upload/Download implementation
|
2013-05-12 17:09:14 -07:00 |
Mitchell Hashimoto
|
9262a85e6c
|
packer/rpc: Communicator.Upload
|
2013-05-12 16:48:46 -07:00 |
Mitchell Hashimoto
|
daa431af63
|
packer: Communicator Upload/Download return an error
|
2013-05-12 16:25:40 -07:00 |
Mitchell Hashimoto
|
496a320a82
|
packer/rpc: Implement full communicator interface
|
2013-05-12 16:19:34 -07:00 |
Mitchell Hashimoto
|
2799cccf4b
|
packer: Waiting for a remote command and setting the exit status
|
2013-05-12 16:18:17 -07:00 |
Mitchell Hashimoto
|
88a018bf5d
|
packer: Work on communicators... WIP
|
2013-05-12 14:47:55 -07:00 |
Mitchell Hashimoto
|
a2bf964f30
|
packer/rpc: Properly support hooks
|
2013-05-11 11:11:40 -07:00 |
Mitchell Hashimoto
|
cb1e0cbabf
|
packer/plugin: Support hooks
|
2013-05-11 10:46:17 -07:00 |
Mitchell Hashimoto
|
d926b98708
|
Update all packer/rpc, packer/plugin, builders for new builder API
|
2013-05-11 10:31:30 -07:00 |
Mitchell Hashimoto
|
441edd25d2
|
packer: Changes to build parameters and DispatchHook
|
2013-05-11 10:27:07 -07:00 |
Mitchell Hashimoto
|
25fd2fe877
|
packer: Template looks up hooks and adds them to the build
|
2013-05-11 10:00:37 -07:00 |
Mitchell Hashimoto
|
779f489894
|
packer: Template takes a component finder
|
2013-05-11 09:56:42 -07:00 |
Mitchell Hashimoto
|
30ab944437
|
packer/rpc: Support Hooks
|
2013-05-11 09:51:49 -07:00 |
Mitchell Hashimoto
|
8ed313e7b5
|
packer: Add concept of hooks to Environment
|
2013-05-10 23:15:13 -07:00 |
Mitchell Hashimoto
|
5ac06e116e
|
packer: Parse "hooks" configuration into the Template
|
2013-05-10 22:47:20 -07:00 |
Mitchell Hashimoto
|
44bd56c3a8
|
go fmt
|
2013-05-10 17:01:24 -07:00 |
Mitchell Hashimoto
|
368ccab8e8
|
packer: Put Builder definition into its own file
|
2013-05-10 16:59:28 -07:00 |
Mitchell Hashimoto
|
208daf7d03
|
packer: Hook interface, not hooked up yet
|
2013-05-10 16:58:50 -07:00 |
Mitchell Hashimoto
|
de03e97643
|
packer: More comments/docs
|
2013-05-10 16:41:35 -07:00 |
Mitchell Hashimoto
|
077f15bdfb
|
packer/plugin: Docs
|
2013-05-09 14:27:20 -07:00 |
Mitchell Hashimoto
|
c580faa1a5
|
packer/rpc: error interface wrapper to RPC errors around
|
2013-05-09 13:59:33 -07:00 |
Mitchell Hashimoto
|
6d4136c5ab
|
packer/plugin: Add plugin path to the log messages
|
2013-05-09 13:29:14 -07:00 |
Mitchell Hashimoto
|
44c61e537d
|
Some additional logging
|
2013-05-09 13:26:40 -07:00 |
Mitchell Hashimoto
|
9600bf5b4b
|
packer: Build.Name
|
2013-05-09 11:32:03 -07:00 |
Mitchell Hashimoto
|
587d359887
|
packer: Builder.Prepare can return an error
|
2013-05-09 10:54:42 -07:00 |
Mitchell Hashimoto
|
c164b4c23c
|
packer/plugin: Actually try more ports for plugins
|
2013-05-08 22:25:47 -07:00 |
Mitchell Hashimoto
|
cce59af2e8
|
Support builders in config, packer/rpc, packer/plugin
|
2013-05-08 21:05:35 -07:00 |
Mitchell Hashimoto
|
8ffbc2efe7
|
packer: Start pulling out the global config stuff
|
2013-05-08 17:28:05 -07:00 |
Mitchell Hashimoto
|
8a78de02c7
|
packer: Cleaner way to build up a list of names
|
2013-05-08 17:11:02 -07:00 |
Mitchell Hashimoto
|
198f984b92
|
packer: error if UI fails
|
2013-05-08 17:09:10 -07:00 |
Mitchell Hashimoto
|
fd2d8480e1
|
Lots more logging everywhere
|
2013-05-08 16:59:36 -07:00 |
Mitchell Hashimoto
|
95153413a6
|
packer: Ui has Error method
|
2013-05-08 15:12:48 -07:00 |
Mitchell Hashimoto
|
a803af7016
|
Move the build command into the actual build command
|
2013-05-08 14:58:06 -07:00 |
Mitchell Hashimoto
|
c5e83a4b15
|
packer/plugin: Client.Kill should only kill process if it is running
|
2013-05-08 14:51:56 -07:00 |
Mitchell Hashimoto
|
947209a028
|
packer: PACKER_LOG to toggle logging from an env var [GH-3]
|
2013-05-08 14:45:17 -07:00 |
Mitchell Hashimoto
|
7dfeda350a
|
packer/plugin: Properly log the max port
|
2013-05-08 13:45:57 -07:00 |
Mitchell Hashimoto
|
88f7b33082
|
packer/rpc: Rename Command to follow RPC style
|
2013-05-08 13:42:25 -07:00 |
Mitchell Hashimoto
|
ac83cf652a
|
packer/rpc: Setup the Environment properly for Command
|
2013-05-08 13:11:47 -07:00 |
Mitchell Hashimoto
|
abb51ebb35
|
packer/plugin: Don't wrap bytesBuffer in bufio, fixes GH-10
|
2013-05-08 13:02:21 -07:00 |
Mitchell Hashimoto
|
286f0aa91c
|
More logging, some tweaks to the format
|
2013-05-08 12:43:41 -07:00 |
Mitchell Hashimoto
|
26a998f721
|
packer/plugin: Managed clients for automatic cleanup
|
2013-05-08 11:54:59 -07:00 |
Mitchell Hashimoto
|
c8079a4290
|
packer/plugin: client kill waits for logging to complete
|
2013-05-08 11:23:24 -07:00 |
Mitchell Hashimoto
|
e1785e424e
|
packer/plugin: client to encapsulate logic for starting plugins
|
2013-05-08 11:14:21 -07:00 |
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
|
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 |