Commit graph

6969 commits

Author SHA1 Message Date
Alex Dadgar 0124ba1406 Fix docs and script 2017-03-03 16:00:39 -08:00
Alex Dadgar 86b3775f97 bump version 2017-03-03 15:49:24 -08:00
Alex Dadgar 2524d76c86 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 3b9bdfef1c Make validate work without a Nomad agent 2017-03-03 15:02:03 -08:00
Michael Schurter b5c76dd815 Add #2391 and #2394 to the changelog 2017-03-03 09:50:51 -08:00
Michael Schurter 87103a554c 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 36f3788cb7 Fix lint errors 2017-03-02 21:03:05 -08:00
Alex Dadgar 3fb285f7d3 Fix TestAllocRunner_SaveRestoreState 2017-03-02 20:45:46 -08:00
Alex Dadgar 4cba170e4b Mkdir -> MkdirAll to avoid error when folder already exists 2017-03-02 19:35:31 -08:00
Alex Dadgar 5cd43e837a Merge branch 'master' into b-remount 2017-03-02 19:23:13 -08:00
Alex Dadgar dc8ac99db3 Vendor new cli 2017-03-02 19:23:01 -08:00
Michael Schurter 200d31e2e6 Fix tests broken by API change 2017-03-02 15:54:12 -08:00
Michael Schurter 8ac632c3ff Fix API breaks in tests 2017-03-02 15:50:18 -08:00
Michael Schurter d12949fbbd Cleanup comments/names 2017-03-02 15:44:52 -08:00
Michael Schurter e03f64ea6a 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 d5b7c0c302 unlinkDir should not error if already unlinked 2017-03-02 13:20:47 -08:00
Michael Schurter a9f9c485b4 Fix typos 2017-03-02 13:20:05 -08:00
Michael Schurter f5ce13598b 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 1cfe9f88b8 Make sure unmounting the secrets dir is idemptoent 2017-03-01 17:19:39 -08:00
Alex Dadgar e07a337a8d Fix mbits default on website 2017-03-01 16:36:59 -08:00
Alex Dadgar 2aa962a357 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 8827b4f4d0 Fix canonicalization of services 2017-03-01 15:30:01 -08:00
Alex Dadgar 732e6f5e34 changelog 2017-03-01 15:25:05 -08:00
Alex Dadgar b3f73c374f 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 b4db9d33f9 Fixes docker-driver docker.auth.config processing 2017-03-01 16:16:11 -07:00
Alex Dadgar e60f0357e7 changelog 2017-03-01 14:53:33 -08:00
Alex Dadgar 4d3c0ad5ff Merge pull request #2385 from hashicorp/f-periodic-paramaterized
Handle periodic paramaterized jobs
2017-03-01 14:52:56 -08:00
Alex Dadgar ed95a69905 Fix plan 2017-03-01 14:50:26 -08:00
Alex Dadgar af4e400b36 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 efc63d14ce 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 c58494fdb6 Handle periodic paramaterized jobs
Fixes https://github.com/hashicorp/nomad/issues/2382
2017-03-01 11:45:20 -08:00
Michael Schurter d72eb279ea 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 d296bd6fe3 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 87b84c71a6 Fix spelling error for CGO_ENABLED variable in build script 2017-03-01 19:21:46 +00:00
Dave Walker (Daviey) 4958154640 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 22980ae501 Revert libcontainer to 89ab7f2ccc1 2017-03-01 10:42:31 -08:00
Alex Dadgar eaaa259812 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 6c2a250e9f
Re-enable soft purging, stale-if-error 2017-03-01 12:36:03 -05:00
Dave Walker (Daviey) 090e760928 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 d2193048ce Fix caching of pull future 2017-02-28 18:19:13 -08:00
Aleksandr Sorokoumov e05b7b7e3a Add caveat about always pulling latest tag to docker driver docs 2017-03-01 00:25:57 +01:00
Alex Dadgar e21792091a remove leading slash on vault path 2017-02-28 14:03:18 -08:00
Alex Dadgar 9c91550926 Add lookup-self 2017-02-28 13:46:38 -08:00
Michael Schurter 11068959d6 Vendor some missing deps 2017-02-28 13:38:57 -08:00
Michael Schurter f832b09be9 Remove unused vendored packages 2017-02-28 13:10:24 -08:00
Michael Schurter ad29f8fb7c Fix Linux build failure due to struct change 2017-02-28 13:09:35 -08:00
Seth Vargo ab2f399ac8 Merge pull request #2377 from hashicorp/sethvargo/cache
Update caching
2017-02-28 15:53:08 -05:00
Michael Schurter b673b01a2d Update lots of vendored deps 2017-02-28 12:16:52 -08:00
Seth Vargo deaa8a50aa
Update caching 2017-02-28 15:15:29 -05:00
Michael Schurter c1ea0428d0 Hoping updating docker deps will fix panic on Windows
🤞
2017-02-28 11:56:11 -08:00