This project is mirrored from https://gitee.com/mirrors/nomad.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 22 Feb, 2019 1 commit
-
-
Charlie Voiselle authored
* caller should created eval id * prev/next eval used in failed-follow-up
-
- 21 Feb, 2019 1 commit
-
-
Charlie Voiselle authored
This allows users to locate failed-follow-up evals more easily
-
- 20 Feb, 2019 13 commits
-
-
Danielle Tomlinson authored
docker: Avoid leaking containers during Reattach
-
Michael Schurter authored
tests: port TestAllocRunner_Destroy from 0.8
-
Michael Schurter authored
Also add destroy(ar) helper to fix a bunch of shutdown races in AR tests.
-
Danielle Tomlinson authored
Currently if a docker_logger cannot be reattached to, we will leak the container that was being used. This is problematic if e.g using static ports as it means you can never recover your task, or if a service is expensive to run and will then be running without supervision.
-
Danielle Tomlinson authored
Increase resiliency of docker driver logging
-
Michael Schurter authored
Co-Authored-By:
dantoml <dani@tomlinson.io>
-
Danielle Tomlinson authored
Sometimes the nomad docker_logger may be killed by a service manager when restarting the client for upgrades or reliability reasons. Currently if this happens, we leak the users container and try to reschedule over it. This commit adds a new step to the recovery process that will spawn a new docker logger process that will fetch logs from _the current timestamp_. This is to avoid restarting users tasks because our logging sidecar has failed.
-
Danielle Tomlinson authored
Fix colored terminal output on Windows
-
Danielle Tomlinson authored
This commit uses the go-colorable library to enable support for coloured UI output on Windows. This acts as a compatibility layer that takes standard unix-y terminal codes and translates them into the requisite windows calls as required.
-
Danielle Tomlinson authored
-
Mahmood Ali authored
drivers: restore port_map old json support
-
Mahmood Ali authored
storage_opts is a new field in 0.9 cycle and doesn't have backward compatibility constraints.
-
Mahmood Ali authored
* CVE-2019-5736: Update libcontainer depedencies Libcontainer is vulnerable to a runc container breakout, that was reported as CVE-2019-5736[1]. Upgrading vendored libcontainer with the fix. The runc changes are captured in https://github.com/hashicorp/runc/commits/369b920277d27630441336775cd728bc0f19e496 . [1] https://seclists.org/oss-sec/2019/q1/119
-
- 19 Feb, 2019 5 commits
-
-
Omar Khawaja authored
-
Michael Schurter authored
client: fix setting alloc unhealthy at deadline
-
Michael Schurter authored
During the 0.9 client refactor the code to fail a deployment when the deadline was reached was broken. This restores and tests that behavior.
-
Danielle Tomlinson authored
This commit adds some extra resiliency to the docker logger in the case of API failure from the docker daemon, by restarting the stream from the current point in time if the stream returns and the container is still running.
-
Charlie Voiselle authored
-
- 16 Feb, 2019 2 commits
-
-
-
Mahmood Ali authored
This ensures that `port_map` along with other block like attribute declarations (e.g. ulimit, labels, etc) can handle various hcl and json syntax that was supported in 0.8. In 0.8.7, the following declarations are effectively equivalent: ``` // hcl block port_map { http = 80 https = 443 } // hcl assignment port_map = { http = 80 https = 443 } // json single element array of map (default in API response) {"port_map": [{"http": 80, "https": 443}]} // json array of individual maps (supported accidentally iiuc) {"port_map: [{"http": 80}, {"https": 443}]} ``` We achieve compatbility by using `NewAttr("...", "list(map(string))", false)` to be serialized to a `map[string]string` wrapper, instead of using `BlockAttrs` declaration. The wrapper merges the list of maps automatically, to ease driver development. This approach is closer to how v0.8.7 implemented the fields [1][2], and despite its verbosity, seems to perserve 0.8.7 behavior in hcl2. This is o...
-
- 14 Feb, 2019 14 commits
-
-
Preetha authored
expand job init example with spread and affinity
-
Preetha Appan authored
-
Preetha Appan authored
-
Chris Baker authored
minor
-
Preetha Appan authored
-
Michael Schurter authored
Fix Consul Service PreKill Hook
-
Danielle Tomlinson authored
api: Fix compatibility with pre 0.9 API jobs
-
Mahmood Ali authored
Co-Authored-By:
dantoml <dani@tomlinson.io>
-
Danielle Tomlinson authored
drivers/docker: SIGTERM to stop containers
-
Danielle Tomlinson authored
-
Mahmood Ali authored
Co-Authored-By:
schmichael <michael.schurter@gmail.com>
-
Mahmood Ali authored
Co-Authored-By:
schmichael <michael.schurter@gmail.com>
-
Danielle Tomlinson authored
Windows Docker daemon does not support SIGINT, SIGTERM is the semantic equivalent that allows for graceful shutdown before being followed up by a SIGKILL.
-
Danielle Tomlinson authored
* Includes fixes for handling null blocks https://github.com/hashicorp/hcl2/pull/87 * Updates go-cty as a newer version is required by hcl2
-
- 12 Feb, 2019 4 commits
-
-
Michael Schurter authored
-
Michael Schurter authored
Broke ShutdownDelay but the test was timing dependent so it just appeared flaky. Made the test slower so that it should never incorrectly pass.
-
Michael Schurter authored
-
Michael Schurter authored
Also fix race conditions in the mock vault client.
-