Commit Graph

6795 Commits

Author SHA1 Message Date
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
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
Alex Dadgar
04d2be3d2c remove leading slash on vault path 2017-02-28 14:03:18 -08:00
Alex Dadgar
97d6bab88b Add lookup-self 2017-02-28 13:46:38 -08:00
Michael Schurter
2b479554fd Vendor some missing deps 2017-02-28 13:38:57 -08:00
Michael Schurter
925ec07a45 Remove unused vendored packages 2017-02-28 13:10:24 -08:00
Michael Schurter
2de6f7e614 Fix Linux build failure due to struct change 2017-02-28 13:09:35 -08:00
Seth Vargo
6f7c8fd263 Merge pull request #2377 from hashicorp/sethvargo/cache
Update caching
2017-02-28 15:53:08 -05:00
Michael Schurter
29d3c8b604 Update lots of vendored deps 2017-02-28 12:16:52 -08:00
Seth Vargo
db258480e4 Update caching 2017-02-28 15:15:29 -05:00
Michael Schurter
939224ea89 Hoping updating docker deps will fix panic on Windows
🤞
2017-02-28 11:56:11 -08:00
Alex Dadgar
eece5c3c21 Changelog 2017-02-28 10:41:11 -08:00
Alex Dadgar
243c0846a6 Merge pull request #2376 from hashicorp/b-fix-restore-errors
Fix two issues during client restore state
2017-02-28 10:40:09 -08:00
Alex Dadgar
4826d8464e Fix two issues during client restore state
This PR fixes two issues:

1) A close of a nil stopCollection channel when restoring and prestart
fails. The failure will cause the killCh to be triggered which will
close collection before it has been initialized.

2) Fixes a deadlock in which the handleWaitCh is never triggered since
it is not initialized when there is an error in prestart and the killCh
is triggered.

Both fixes are by maintaining the loop invariant that the two channels
are valid after there is a handle.
2017-02-28 10:29:12 -08:00
Alex Dadgar
ca97b37a71 Merge pull request #2373 from jmvacdmon/patch-1
change example to logging docker driver
2017-02-28 09:07:14 -08:00
jmvacdmon
a975c186d3 change example to logging docker driver 2017-02-28 13:51:36 +01:00
Alex Dadgar
90cd50b597 Delete on increment and add a safety guard 2017-02-27 20:23:21 -08:00
Alex Dadgar
b2a7daed9d Merge branch 'master' of github.com:hashicorp/nomad 2017-02-27 19:09:50 -08:00
Alex Dadgar
14074d8ff7 Fix delete future 2017-02-27 19:09:13 -08:00
Alex Dadgar
33133a3a49 Merge pull request #2372 from hashicorp/f-vet
Fix vet script and fix vet problems
2017-02-27 16:20:03 -08:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Alex Dadgar
d7e1ab0536 Merge pull request #2371 from crokita/patch-1
Fix syntax of docker.cleanup.image example
2017-02-27 13:53:04 -08:00
Alex Dadgar
7b73e786cb Docker open stores image/image ID for next ID 2017-02-27 13:49:54 -08:00
Alex Dadgar
b6991b3357 Allow random UUID 2017-02-27 13:42:37 -08:00
Chris
31ee80a0da Fix syntax of docker.cleanup.image example
I found this syntax issue because I copy-pasted the snippet into my config file and attempted to run Nomad with it. Whoops
2017-02-27 16:34:43 -05:00
Alex Dadgar
ec0c822dcb Changelog 2017-02-27 12:00:39 -08:00
Alex Dadgar
ecc6e1da06 Merge pull request #2370 from hashicorp/f-gc
Allow specification of eval/job gc threshold
2017-02-27 12:00:05 -08:00
Alex Dadgar
e2d2911d06 Allow specification of eval/job gc threshold 2017-02-27 11:58:10 -08:00
Seth Vargo
6a69a09afd Merge pull request #2369 from hashicorp/sethvargo-patch-1
Do not soft purge
2017-02-27 14:42:00 -05:00
Alex Dadgar
05ff5e3b9e Fix typo 2017-02-27 11:40:24 -08:00
Seth Vargo
e7f76dd441 Do not soft purge
Soft purging is great, but we warm the cache immediately after deploy, and even then, if a user happens to be visiting the site in that few hundred milliseconds, they eat the time of a Fastly-S3 lookup, which is still 100x better than 99% of the websites out there.
2017-02-27 14:36:08 -05:00
Alex Dadgar
71462bf0b4 More auth docs 2017-02-27 11:02:01 -08:00
Seth Vargo
f8e77fa256 Merge pull request #2368 from hashicorp/sethvargo/missing_asset
Fix missing asset
2017-02-27 13:43:40 -05:00
Seth Vargo
b24a7ee723 Fix missing asset 2017-02-27 13:43:33 -05:00
Alex Dadgar
aaf709e80b Merge pull request #2363 from alistanis/fix-readme-typo
changes request to requested
2017-02-27 10:17:08 -08:00