Michael Schurter
703ddea1dc
Add Canonicalize test mimicing example job + template
2017-02-24 12:08:31 -08:00
Michael Schurter
6011a74ab9
Missed initializing another field in Template!
2017-02-24 10:47:50 -08:00
Michael Schurter
531af8f932
Template.Canonicalize wasn't initializing all fields
2017-02-24 10:31:05 -08:00
Michael Schurter
2f0a5e355e
Oops! Don't try to build darwin on Linux.
...
Someday maybe
2017-02-23 16:58:21 -08:00
Michael Schurter
f61b7975a3
Put access to Docker volume drivers behind flag
2017-02-23 15:47:36 -08:00
Alex Dadgar
2239503e6e
Fix noisy log
2017-02-23 14:40:24 -08:00
Michael Schurter
885f4ae9f9
Allow building specific targets
2017-02-23 13:27:28 -08:00
Michael Schurter
2b22b86e61
Fix Go 1.8 in Vagrantfile
2017-02-23 13:27:18 -08:00
Michael Schurter
690dfa8f5a
Mention docker volume drivers #2351
...
Thanks @pietromenna!
2017-02-23 11:24:48 -08:00
Michael Schurter
57eb027e0b
Merge pull request #2351 from pietromenna/docker-volume-drivers
...
Docker Volume Drivers
2017-02-23 11:04:13 -08:00
Pietro Menna
12367ce646
Improved documentation for Docker Volume Drivers
...
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna
2f88d6cb68
Docker Volume Drivers
...
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00
Jorn Wijnands
b549c757d9
Fix the GO_VERSION in the Vagrantfile
...
* Change the GO_VERSION to match the correct upstream version from
(https://storage.googleapis.com/golang/ )
2017-02-23 12:57:37 +01:00
Alex Dadgar
6e8f016cc8
Changelog
2017-02-22 18:56:17 -08:00
Alex Dadgar
346bdeb37b
Merge pull request #2349 from hashicorp/f-node-status-drivers
...
Node-status displays drivers
2017-02-22 18:55:28 -08:00
Alex Dadgar
3d353ffbcd
Node-status displays drivers
...
This PR adds the drivers that are enabled to the output of `nomad
node-status`
2017-02-22 18:54:28 -08:00
Alex Dadgar
537d07c912
Changelog
2017-02-22 18:44:49 -08:00
Alex Dadgar
c7e004b8c5
Merge pull request #2344 from hashicorp/b-fix-allocdir-move-test
...
Fix allocdir Move test and make code more defensive
2017-02-22 18:43:10 -08:00
Alex Dadgar
6936c81720
Merge pull request #2302 from hashicorp/f-task-state-setup
...
Adding a task event for setup
2017-02-22 18:42:57 -08:00
Alex Dadgar
d2cbbac76e
Merge pull request #2347 from hashicorp/b-parse
...
Remove defaulting from parse and fix tests
2017-02-22 18:42:43 -08:00
Alex Dadgar
657e97e0cd
Remove deregister from changelog
2017-02-22 18:28:51 -08:00
Alex Dadgar
cef7882827
Fix tests and docs
2017-02-22 18:28:07 -08:00
Diptanu Choudhury
98921575af
Adding a task event for setup
2017-02-22 18:28:07 -08:00
Alex Dadgar
8ba491f2d7
Merge pull request #2348 from hashicorp/revert-2339-b-job-delete
...
Revert "Deregistering non-existant job returns 404"
2017-02-22 18:22:14 -08:00
Alex Dadgar
ed670f0226
Revert "Deregistering non-existant job returns 404"
2017-02-22 18:22:02 -08:00
Alex Dadgar
06212e6aad
Merge pull request #2341 from hashicorp/docs-task-timeout-kill
...
docs: Add note about max_kill_timeout to tasks
2017-02-22 16:59:24 -08:00
Alex Dadgar
c105e5a080
Fix wrong types
2017-02-22 16:56:51 -08:00
Alex Dadgar
5ba3379e4b
Undo demo files
2017-02-22 16:02:49 -08:00
Alex Dadgar
6c0ced6af1
vendor go-memdb/radix
2017-02-22 16:02:02 -08:00
Alex Dadgar
ecefb51151
Merge branch 'master' of github.com:hashicorp/nomad
2017-02-22 15:58:30 -08:00
Alex Dadgar
eae24d7d3f
Fix flakey test TestNetworkIndex_AssignNetwork_Dynamic_Contention
2017-02-22 15:58:21 -08:00
Alex Dadgar
b5995c6cd7
Vendor + test fixes
2017-02-22 15:55:33 -08:00
Alex Dadgar
556fb2562f
Remove defaulting from parse and fix parser tests
...
This PR removes defaulting from the parse, fixes some regressions that
existed as part of the parser refactor and fixes the tests.
2017-02-22 12:30:05 -08:00
James Nugent
74d363d342
docs: Add note about max_kill_timeout to tasks
...
This commit makes an explicit note in the documentation for the Nomad
task specification about capping of `max_kill_timeout` based on agent
configuration as well as task configuration.
2017-02-21 22:03:10 -06:00
Michael Schurter
e5a29b82db
Fix allocdir Move test and make code more defensive
...
A change in the behavior of `os.Rename` in Go 1.8 brought to light a
difference in the logic between `{Alloc,Task}Runner` and this test:
AllocRunner builds the alloc dir, moves dirs if necessary, and then lets
TaskRunner call TaskDir.Build().
This test called `TaskDir.Build` *before* `AllocDir.Move`, so in Go 1.8
it failed to `os.Rename over` the empty {data,local} dirs.
I updated the test to behave like the real code, but I defensively added
`os.Remove` calls as a subtle change in call order shouldn't break this
code. `os.Remove` won't remove a non-empty directory, so it's still
safe.
2017-02-21 17:22:10 -08:00
Michael Schurter
8a6e3fb706
Merge pull request #2342 from hashicorp/b-docker-noswap-on-win
...
Skip setting MemorySwap on Windows
2017-02-21 15:56:44 -08:00
Michael Schurter
e75c395679
Add changelog entry
2017-02-21 15:46:07 -08:00
Seth Vargo
139aff9609
Fix logo
2017-02-21 17:19:22 -05:00
Michael Schurter
12c549d6a0
Skip setting MemorySwap on Windows
...
Windows doesn't support this Docker setting.
Fixes #2193
2017-02-21 13:21:42 -08:00
Alex Dadgar
51f157d378
Merge pull request #2340 from troyswanson/patch-1
...
Tiny grammar fix
2017-02-21 12:54:26 -08:00
Troy Swanson
e94b987075
s/successfully/successful
2017-02-21 10:58:33 -06:00
Alex Dadgar
e8391ae1df
changelog
2017-02-20 20:15:48 -08:00
Alex Dadgar
084b63e711
Merge pull request #2339 from hashicorp/b-job-delete
...
Deregistering non-existant job returns 404
2017-02-20 20:11:24 -08:00
Alex Dadgar
1e5183fb89
Deregistering non-existant job returns 404
...
Fixes https://github.com/hashicorp/nomad/issues/2326
2017-02-20 20:10:21 -08:00
Alex Dadgar
dd6a4fead8
changelog
2017-02-20 19:53:57 -08:00
Alex Dadgar
ad39d138a6
Merge pull request #2338 from hashicorp/b-meta
...
Don't force uppercase meta keys in env vars
2017-02-20 19:53:17 -08:00
Alex Dadgar
d0fd0e277a
Don't force uppercase meta keys in env vars
2017-02-20 19:51:24 -08:00
Alex Dadgar
74eceec989
changelog
2017-02-20 19:37:50 -08:00
Alex Dadgar
4d1b314e20
Merge pull request #2337 from hashicorp/f-driver-errors
...
Drivers log during fingerprinting
2017-02-20 19:36:57 -08:00
Alex Dadgar
f9323f03df
Drivers log during fingerprinting
...
This PR fixes a regression in which some drivers did not log during
fingerprinting.
2017-02-20 19:35:51 -08:00