Michael Schurter
18853a1df2
Update devices/gpu/nvidia/README.md
...
Co-Authored-By: dadgar <alex@hashicorp.com>
2019-01-23 17:44:24 -08:00
Nick Ethier
00272dd568
Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
...
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad :
2019-01-23 20:29:08 -05:00
Nick Ethier
1f7d1fa9ea
Merge pull request #5232 from hashicorp/f-driver-upgradepath-docker
...
drivers: add docker upgrade path and e2e test
2019-01-23 20:28:51 -05:00
Nick Ethier
ccdc1c4615
Merge branch 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad into f-driver-upgradepath-test
...
* 'f-driver-upgradepath-test' of https://github.com/hashicorp/nomad :
Apply suggestions from code review
2019-01-23 20:26:32 -05:00
Preetha Appan
9983364df7
Add scheduler config docs and link from preemption docs
2019-01-23 18:57:45 -06:00
Preetha Appan
5bdfac0819
Add preemption section to scheduling internals
...
Also reorganize the docs so that scheduling has subpages in it
2019-01-23 18:10:36 -06:00
Nick Ethier
fc380f8e8e
Merge pull request #5233 from hashicorp/f-split-slowtests
...
ci: run seperate build jobs for slower packages
2019-01-23 16:31:55 -05:00
Alex Dadgar
41d5f52f63
fix package import
2019-01-23 12:53:33 -08:00
Nick Ethier
204f6d3270
ci: run seperate build jobs for slower packages
2019-01-23 15:39:34 -05:00
Nick Ethier
5b9013528e
drivers: add docker upgrade path and e2e test
2019-01-23 14:44:42 -05:00
Nick Ethier
a36c4320ff
Merge pull request #5227 from hashicorp/b-client-highcpu-usage
...
Fix bug related to high cpu usage
2019-01-23 14:27:51 -05:00
Michael Schurter
ce4a828fd1
Apply suggestions from code review
...
Co-Authored-By: nickethier <ncethier@gmail.com>
2019-01-23 14:09:49 -05:00
Alex Dadgar
3ecc68c6a6
change example job a bit
2019-01-23 10:58:46 -08:00
Alex Dadgar
48dfbbcad9
fix docker runtime attribute
2019-01-23 10:58:46 -08:00
Alex Dadgar
37d5def1d5
Json job
2019-01-23 10:58:46 -08:00
Alex Dadgar
003aa2a69c
nvidia device plugin docs
2019-01-23 10:58:46 -08:00
Alex Dadgar
5198ff05c3
convert driver to device for device constraint/attributes
2019-01-23 10:58:45 -08:00
Alex Dadgar
867ebce6b6
link to resources page
2019-01-23 10:58:45 -08:00
Alex Dadgar
dbd9d22a32
Device job stanza
2019-01-23 10:58:45 -08:00
Mahmood Ali
698f0a1575
Merge pull request #5229 from hashicorp/r-grabbag-201901019
...
Grab bag of small changes
2019-01-23 13:06:51 -05:00
Mahmood Ali
8d76bb0e82
tests: avoid assertion in goroutine
2019-01-23 12:34:16 -05:00
Mahmood Ali
651bbe5330
spell check
2019-01-23 10:54:52 -05:00
Mahmood Ali
d696143da7
ci: run checkscripts
...
`travis.sh` contained some bash-ism despite it being invoked with `sh`.
2019-01-23 10:54:52 -05:00
Mahmood Ali
464a70fda6
tests: deflake TestRktDriver_StartWaitRecoverWaitStop
2019-01-23 10:54:49 -05:00
Mahmood Ali
08db847aa8
drivers/rkt: Remove unused github.com/rkt/rkt
2019-01-23 10:53:49 -05:00
Mahmood Ali
a64ad99b94
drivers/rkt: allow development on non-linux
...
Avoid depending on OS-specific library for some simple structs.
2019-01-23 10:53:49 -05:00
Danielle Tomlinson
4f63925667
Merge pull request #5230 from hashicorp/dani/b-hide-docker_logger-command
...
cli: Hide `nomad docker_logger` from help output
2019-01-23 16:46:11 +01:00
Danielle Tomlinson
92ebe06d77
cli: Hide nomad docker_logger
from help output
2019-01-23 16:27:05 +01:00
Mahmood Ali
d2ef657abc
api: test api and structs are in sync
...
Add some tests to ensure that api/structs values are in sync.
Given that vendoring libraries prune tests by default, test dependencies
aren't leaked to clients of the package - so it should be safe to add
such dependency without affecting api clients.
2019-01-23 10:00:17 -05:00
Michael Schurter
13f061a83f
Merge pull request #5196 from hashicorp/f-plugin-utils
...
Make plugins/shared external and make pluginutls/
2019-01-23 06:59:32 -08:00
Preetha
05bf183ba3
Merge pull request #5225 from hashicorp/b-notaskevent-terminalallocs
...
Don't emit task events after alloc is in a terminal DesiredState
2019-01-23 08:54:10 -06:00
Preetha
8963b029d0
Merge pull request #5226 from hashicorp/b-node-status-panic
...
nil check node resources to prevent panic
2019-01-23 08:30:14 -06:00
Michael Schurter
32daa7b47b
goimports until make check is happy
2019-01-23 06:27:14 -08:00
Nick Ethier
a3510413ff
e2e: remove unused script
2019-01-22 23:29:15 -05:00
Nick Ethier
753e03f9b8
Merge branch 'master' into f-driver-upgradepath-test
...
* master: (91 commits)
increase log level
CHANGELOG: added 0.9 ui changes
test: port TestTaskRunner_CheckWatcher_Restart
test: port RestartTask from 0.8
test: port SignalFailure test from 0.8
Rename TaskKillRequest/Response to TaskPreKillRequest/Response
Fix log comments
Rename TaskKillHook to TaskPreKillHook to more closely match usage
Fix comment
Rename TaskKillHook to TaskPreKillHook to more closely match usage
Update CHANGELOG.md
tests: deflake TestClientAllocations_GarbageCollect_Remote
tests: deflake client TestFS_Logs_TaskPending test
Update CHANGELOG.md
test: fix flaky garbage collect test
drivers: regen proto
api: avoid codegen for syncing
code review comments
revert unintended change
ar: return error from hooks if occured
...
2019-01-22 23:28:09 -05:00
Nick Ethier
fc370c3d5e
e2e/nomad09upgrade: add comments
2019-01-22 23:25:27 -05:00
Preetha Appan
5f1d467ed2
nil check node resources to prevent panic
2019-01-22 19:34:02 -06:00
Nick Ethier
bcc3935228
tr: use context in as select statement
2019-01-22 20:11:39 -05:00
Michael Schurter
be0bab7c3f
move pluginutils -> helper/pluginutils
...
I wanted a different color bikeshed, so I get to paint it
2019-01-22 15:50:08 -08:00
Alex Dadgar
80c6eb1bc5
vet
2019-01-22 15:44:31 -08:00
Alex Dadgar
4bdccab550
goimports
2019-01-22 15:44:31 -08:00
Alex Dadgar
b7a65676fe
gofmt
2019-01-22 15:43:34 -08:00
Alex Dadgar
2ca0e97361
Split hclspec
2019-01-22 15:43:34 -08:00
Alex Dadgar
5ca6dd7988
move hclutils
2019-01-22 15:43:34 -08:00
Alex Dadgar
72a5691897
Driver tests do not use hcl2/hcl, hclspec, or hclutils
2019-01-22 15:43:34 -08:00
Alex Dadgar
b2c7268843
move reattach config
2019-01-22 15:11:58 -08:00
Alex Dadgar
cdcd3c929c
loader and singleton
2019-01-22 15:11:57 -08:00
Alex Dadgar
6c2782f037
move catalog + grpcutils
2019-01-22 15:11:57 -08:00
Preetha Appan
38422642cb
Use DesiredState to determine whether to stop sending task events
2019-01-22 16:43:32 -06:00
Preetha Appan
862c9b7de5
dont emit events for terminal allocs
2019-01-22 16:26:33 -06:00