Alex Dadgar
|
262ccbcc10
|
rename api TotalShares -> CpuShares
|
2018-10-16 17:25:55 -07:00 |
|
Michael Schurter
|
84c9bc95a6
|
Merge pull request #4792 from hashicorp/r-clientv2-rebased
AllocRunner v2 Feature Branch PR
|
2018-10-16 19:06:49 -05:00 |
|
Michael Schurter
|
2361c1904b
|
tests: get tests building if not yet passing
|
2018-10-16 16:56:57 -07:00 |
|
Michael Schurter
|
4cf022ceed
|
templates: fix tests
|
2018-10-16 16:56:57 -07:00 |
|
Michael Schurter
|
cf42289c8b
|
fix linter errors
|
2018-10-16 16:56:57 -07:00 |
|
Michael Schurter
|
7ebe701a44
|
changelog: add client refactor feature branch merge
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
cb1996461e
|
client: remove unused handleproxy
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
3a9ed23d71
|
driver/docker: rename container logger
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
e026d6e80a
|
tr: remove unused DriverHandle interface
was causing typed nil interface panics and served no purpose
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
9c4a1d4c28
|
drivers/mock: fix plugin name
Was mock_driver before plugins, so keep the name.
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
2b249eee14
|
plugins: msgpack codec should use cty tags
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
b12de40124
|
Address review comments around logging task properly
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
ed2b3b25c5
|
Address review comments
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
be57b3e84d
|
Switch back to using map[string]string for port map
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
4175e908dd
|
fixup comments, logging, and missing method impls
from #4777 comments
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
7848acbea4
|
register drivers by default
Do not register mock_driver on release builds.
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
089bce5ab4
|
drivers/mock: complete plugin impl
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
9bd696e2de
|
drivers/mock: start mock driver implementation
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
2256917936
|
Port client portion of #4392 to new taskrunner
PR #4392 was merged to master *after* allocrunnerv2 was branched, so the
client-specific portions must be ported from master to arv2.
|
2018-10-16 16:56:56 -07:00 |
|
Michael Schurter
|
a44e82f326
|
tr: implement dispatch payload hook
Now passing the TaskDir struct to prestart hooks instead of just the
root task dir itself as dispatch needs local/.
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
f13a0943a3
|
make port map a slice of maps to match existing rkt driver
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
3c6d6b9377
|
Review comments
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
04a2aad209
|
Stats collection test
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
0ebc3bdd2f
|
RKT driver plugin and unit tests
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
19b222b127
|
client: log retry during driver fingerprint redispense
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
2e055fe18a
|
client: add test for driverfailure during fingerprinting
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
b751030765
|
rkt: start rkt driver plugin
|
2018-10-16 16:56:56 -07:00 |
|
Preetha Appan
|
53381035db
|
Get raw exec tests compiling and passing again
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
993e045ff9
|
taskrunner: return error on waitCh
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
44cc52a0d4
|
client: simplify driver plugin logic from review comments
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
b016b2b5b0
|
plugin/driver: add Copy funcs
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
d68f2f0819
|
client: fix broked tests from refactoring
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
4f9522dd54
|
client: review comments and fixup/skip tests
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
dd3b2ef91c
|
docklog: add go-plugin for forwarding of docker logs
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
ea9ed2282e
|
client: refactor post allocrunnerv2 finalization
|
2018-10-16 16:56:56 -07:00 |
|
Nick Ethier
|
d335a82859
|
client: begin driver plugin integration
client: fingerprint driver plugins
|
2018-10-16 16:56:56 -07:00 |
|
Alex Dadgar
|
627e20801d
|
Fix lints
|
2018-10-16 16:56:56 -07:00 |
|
Alex Dadgar
|
3c0b073513
|
compile on windows
|
2018-10-16 16:56:56 -07:00 |
|
Alex Dadgar
|
7b7cb382dc
|
more test fixes
|
2018-10-16 16:56:56 -07:00 |
|
Alex Dadgar
|
3a492bb33f
|
allocrunnerv2 -> allocrunner
|
2018-10-16 16:56:56 -07:00 |
|
Alex Dadgar
|
f91b269b2a
|
fix test compiling
|
2018-10-16 16:56:55 -07:00 |
|
Alex Dadgar
|
31d49c72ab
|
skip building deprecated files
|
2018-10-16 16:56:55 -07:00 |
|
Alex Dadgar
|
2e535aefcc
|
move files around
|
2018-10-16 16:56:55 -07:00 |
|
Nick Ethier
|
3f7c14c7f5
|
drivers/shared: added func comment to eventer
|
2018-10-16 16:56:55 -07:00 |
|
Nick Ethier
|
db981de8e4
|
drivers/shared: move eventer to subpackage under drivers shared package
|
2018-10-16 16:56:55 -07:00 |
|
Nick Ethier
|
ca27a0254b
|
drivers/utils: better handling of consumer cleanup in eventer
|
2018-10-16 16:56:55 -07:00 |
|
Nick Ethier
|
a8d50e83b1
|
plugins/drivers: remove bool to track if eventLoop shutdown and use context instead
|
2018-10-16 16:56:55 -07:00 |
|
Nick Ethier
|
207522be55
|
drivers/rawexec: PR comments and feedback
|
2018-10-16 16:56:55 -07:00 |
|
Nick Ethier
|
0d7bf53c57
|
plugin/drivers: rework eventer and change naming stream -> consumer
|
2018-10-16 16:56:55 -07:00 |
|
Michael Schurter
|
37387bbf6f
|
tests: fix missing logger caused by bad merge
|
2018-10-16 16:56:55 -07:00 |
|