Commit Graph

6828 Commits

Author SHA1 Message Date
Alex Dadgar
d3ee039422 Display Disk resources on CLI
Fixes https://github.com/hashicorp/nomad/issues/2401
2017-03-06 12:53:24 -08:00
Alex Dadgar
e2ee3f4904 Double the anti-affinity for placing same task group on node 2017-03-06 11:52:53 -08:00
Alex Dadgar
fe5987844d Debug lines 2017-03-06 10:25:26 -08:00
Alex Dadgar
527672b292 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-03 18:27:53 -08:00
Alex Dadgar
498b077627 Remove dead code 2017-03-03 18:27:49 -08:00
Michael Schurter
339f007d0a Merge pull request #2396 from hashicorp/f-smoke-test
Small init and validate smoke test
2017-03-03 16:20:39 -08:00
Michael Schurter
b43494d1f5 Small init and validate smoke test 2017-03-03 16:13:25 -08:00
Alex Dadgar
2293a48fab Release v0.5.5-rc2 2017-03-03 16:06:44 -08:00
Alex Dadgar
15c53b1a0e auto release 2017-03-03 16:06:31 -08:00
Alex Dadgar
f6c67535d1 Fix docs and script 2017-03-03 16:00:39 -08:00
Alex Dadgar
e954aa75be bump version 2017-03-03 15:49:24 -08:00
Alex Dadgar
6d0953e990 Merge pull request #2397 from hashicorp/b-validate
Make validate work without a Nomad agent
2017-03-03 15:35:43 -08:00
Alex Dadgar
8eb9a5d819 Make validate work without a Nomad agent 2017-03-03 15:02:03 -08:00
Michael Schurter
e40fc54f83 Add #2391 and #2394 to the changelog 2017-03-03 09:50:51 -08:00
Michael Schurter
ee0ad0a365 Merge pull request #2394 from hashicorp/b-remount
Ensure dev/, proc/, and alloc/ are mounted every time a task is run
2017-03-03 09:46:43 -08:00
Alex Dadgar
50fafa2808 Fix lint errors 2017-03-02 21:03:05 -08:00
Alex Dadgar
fbfeecb486 Fix TestAllocRunner_SaveRestoreState 2017-03-02 20:45:46 -08:00
Alex Dadgar
94974152fd Mkdir -> MkdirAll to avoid error when folder already exists 2017-03-02 19:35:31 -08:00
Alex Dadgar
833b4bd4dc Merge branch 'master' into b-remount 2017-03-02 19:23:13 -08:00
Alex Dadgar
cfa25620c8 Vendor new cli 2017-03-02 19:23:01 -08:00
Michael Schurter
16fb45e4ba Fix tests broken by API change 2017-03-02 15:54:12 -08:00
Michael Schurter
6535aa8d95 Fix API breaks in tests 2017-03-02 15:50:18 -08:00
Michael Schurter
866600e980 Cleanup comments/names 2017-03-02 15:44:52 -08:00
Michael Schurter
ad4559d019 Safely ensure {dev,proc,alloc} are mounted
If they're unmounted by a reboot they'll be properly remounted.
2017-03-02 13:21:34 -08:00
Michael Schurter
94ce9d2146 unlinkDir should not error if already unlinked 2017-03-02 13:20:47 -08:00
Michael Schurter
ba87cb8a7f Fix typos 2017-03-02 13:20:05 -08:00
Michael Schurter
255240d1b8 Merge pull request #2391 from hashicorp/b-idempotent-umount
Make sure unmounting the secrets dir is idempotent
2017-03-02 11:24:01 -08:00
Michael Schurter
b584fbd001 Make sure unmounting the secrets dir is idemptoent 2017-03-01 17:19:39 -08:00
Alex Dadgar
8865bb8598 Fix mbits default on website 2017-03-01 16:36:59 -08:00
Alex Dadgar
dea5a83ef7 Merge pull request #2389 from tmichaud314/2388-docker-driver-auth-file
Fixes docker-driver docker.auth.config processing
2017-03-01 15:39:35 -08:00
Alex Dadgar
8b1359c2d0 Fix canonicalization of services 2017-03-01 15:30:01 -08:00
Alex Dadgar
923408735f changelog 2017-03-01 15:25:05 -08:00
Alex Dadgar
5ff4bc7888 Merge pull request #2386 from hashicorp/f-go-getter
Update go-getter and add support for git and hg
2017-03-01 15:23:30 -08:00
Tom Michaud
6e561c7aa9 Fixes docker-driver docker.auth.config processing 2017-03-01 16:16:11 -07:00
Alex Dadgar
1b278fbf8a changelog 2017-03-01 14:53:33 -08:00
Alex Dadgar
a6d7dd3864 Merge pull request #2385 from hashicorp/f-periodic-paramaterized
Handle periodic paramaterized jobs
2017-03-01 14:52:56 -08:00
Alex Dadgar
8538770be9 Fix plan 2017-03-01 14:50:26 -08:00
Alex Dadgar
2a683cddea Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
Michael Schurter
7a24146dcc Merge pull request #2378 from hashicorp/update-docker-deps
Update Windows, Docker, and other dependencies
2017-03-01 11:53:18 -08:00
Alex Dadgar
b92e091a81 Handle periodic paramaterized jobs
Fixes https://github.com/hashicorp/nomad/issues/2382
2017-03-01 11:45:20 -08:00
Michael Schurter
aa84fd437e Merge pull request #2380 from Daviey/master
Don't exec uname for node attribute kernel.version
2017-03-01 11:42:54 -08:00
Michael Schurter
a73d3c3c21 Merge pull request #2384 from jonathanio/fix/build-script
Fix spelling error for CGO_ENABLED variable in build script
2017-03-01 11:28:27 -08:00
Jonathan Wright
5112eee9ff Fix spelling error for CGO_ENABLED variable in build script 2017-03-01 19:21:46 +00:00
Dave Walker (Daviey)
5d484dcb96 Enable kernel.version on Windows
Previously, this value was guarded against running on Windows
because it called the `uname` command which is unlikely to
be there.

This change now sets the value from gopsutil, which might
well be an empty string.

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-01 18:48:23 +00:00
Michael Schurter
1df41cffb8 Revert libcontainer to 89ab7f2ccc1 2017-03-01 10:42:31 -08:00
Alex Dadgar
6bdf78330d Merge pull request #2379 from Gerrrr/doc/latest-tag
Add caveat about always pulling latest tag to docker driver docs
2017-03-01 10:09:38 -08:00
Seth Vargo
d2bd63c98f Re-enable soft purging, stale-if-error 2017-03-01 12:36:03 -05:00
Dave Walker (Daviey)
5875bc1066 Don't exec uname for node attribute kernel.version
Previously with client fingerprinting, sys/exec's Command
function was being used to execute `uname -r` and the return
string processed into the kernel.version node attribute.

This change uses gopsutil/host KernelVersion function
instead.  This means we can drop the os/exec, strings and
fmt imports... and not execute an external binary.

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2017-03-01 09:45:56 +00:00
Alex Dadgar
8e6d77ebd5 Fix caching of pull future 2017-02-28 18:19:13 -08:00
Aleksandr Sorokoumov
1113fa2e97 Add caveat about always pulling latest tag to docker driver docs 2017-03-01 00:25:57 +01:00