Commit Graph

6719 Commits

Author SHA1 Message Date
Michael Schurter
24f5ec3e09 Template.Canonicalize wasn't initializing all fields 2017-02-24 10:31:05 -08:00
Michael Schurter
8a57aadbcd Oops! Don't try to build darwin on Linux.
Someday maybe
2017-02-23 16:58:21 -08:00
Alex Dadgar
18107556ab Fix noisy log 2017-02-23 14:40:24 -08:00
Michael Schurter
c7da4ec618 Allow building specific targets 2017-02-23 13:27:28 -08:00
Michael Schurter
efc4108a9e Fix Go 1.8 in Vagrantfile 2017-02-23 13:27:18 -08:00
Michael Schurter
2fa4bbb6e1 Mention docker volume drivers #2351
Thanks @pietromenna!
2017-02-23 11:24:48 -08:00
Michael Schurter
6d1b37254f Merge pull request #2351 from pietromenna/docker-volume-drivers
Docker Volume Drivers
2017-02-23 11:04:13 -08:00
Pietro Menna
c57d9c6bdb Improved documentation for Docker Volume Drivers
Incorporated comments from @schmichael
2017-02-23 16:01:27 -03:00
Pietro Menna
5d29600341 Docker Volume Drivers
This commit adds the functionality to use Docker Volume Drivers.
2017-02-23 14:36:32 -03:00
Alex Dadgar
863d9f7e47 Changelog 2017-02-22 18:56:17 -08:00
Alex Dadgar
ad64573213 Merge pull request #2349 from hashicorp/f-node-status-drivers
Node-status displays drivers
2017-02-22 18:55:28 -08:00
Alex Dadgar
22969c07ea 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
2757c8ee4c Changelog 2017-02-22 18:44:49 -08:00
Alex Dadgar
8723d3a6e5 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
c89d8247e6 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
85a59d3852 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
b1ef0d8641 Remove deregister from changelog 2017-02-22 18:28:51 -08:00
Alex Dadgar
7447ccd7e4 Fix tests and docs 2017-02-22 18:28:07 -08:00
Diptanu Choudhury
c80bdd9f5f Adding a task event for setup 2017-02-22 18:28:07 -08:00
Alex Dadgar
5f8e0bca6b 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
6c1673cbc5 Revert "Deregistering non-existant job returns 404" 2017-02-22 18:22:02 -08:00
Alex Dadgar
1f01e249ff 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
89b259b089 Fix wrong types 2017-02-22 16:56:51 -08:00
Alex Dadgar
80802dfc8a Undo demo files 2017-02-22 16:02:49 -08:00
Alex Dadgar
78260f62d2 vendor go-memdb/radix 2017-02-22 16:02:02 -08:00
Alex Dadgar
a305de3d15 Merge branch 'master' of github.com:hashicorp/nomad 2017-02-22 15:58:30 -08:00
Alex Dadgar
358bedb8f8 Fix flakey test TestNetworkIndex_AssignNetwork_Dynamic_Contention 2017-02-22 15:58:21 -08:00
Alex Dadgar
eaa57878d9 Vendor + test fixes 2017-02-22 15:55:33 -08:00
Alex Dadgar
55e7ad7fd9 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
50c90dbbde 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
da3e34710c 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
ac12e61553 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
022d6a9e4f Add changelog entry 2017-02-21 15:46:07 -08:00
Seth Vargo
fa7083643a Fix logo 2017-02-21 17:19:22 -05:00
Michael Schurter
8c35388677 Skip setting MemorySwap on Windows
Windows doesn't support this Docker setting.

Fixes #2193
2017-02-21 13:21:42 -08:00
Alex Dadgar
90b224b350 Merge pull request #2340 from troyswanson/patch-1
Tiny grammar fix
2017-02-21 12:54:26 -08:00
Troy Swanson
fcbffba61a s/successfully/successful 2017-02-21 10:58:33 -06:00
Alex Dadgar
e652510bc1 changelog 2017-02-20 20:15:48 -08:00
Alex Dadgar
4cd2a5bfd8 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
1ba2875393 Deregistering non-existant job returns 404
Fixes https://github.com/hashicorp/nomad/issues/2326
2017-02-20 20:10:21 -08:00
Alex Dadgar
6ffb1e780e changelog 2017-02-20 19:53:57 -08:00
Alex Dadgar
fbf3741f1f 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
bfd34bb1e8 Don't force uppercase meta keys in env vars 2017-02-20 19:51:24 -08:00
Alex Dadgar
1d910e9269 changelog 2017-02-20 19:37:50 -08:00
Alex Dadgar
e49f672769 Merge pull request #2337 from hashicorp/f-driver-errors
Drivers log during fingerprinting
2017-02-20 19:36:57 -08:00
Alex Dadgar
4ba4987625 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
Alex Dadgar
c441f50236 changelog 2017-02-20 16:45:35 -08:00
Alex Dadgar
d601a4bf57 Merge pull request #2315 from hashicorp/f-delimiters
Allow specification of template delimiters
2017-02-20 16:44:45 -08:00
Alex Dadgar
ee76b78922 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar
69aa5db628 Add leader and timezone to conversion 2017-02-20 16:36:41 -08:00