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.
- 12 Nov, 2019 3 commits
-
-
Mahmood Ali authored
When execing into a task, it's useful to be able to set some special environment variables, namely `TERM` and language environment variable. In this PR, we expose `env` parameter that takes an array of `KEY=VALUE` values that gets thread all the way through to executors exec handling. The main purpose is to allow configuring `TERM` for purposes of web ui, as the appropriate value would depend on the terminal library and not necessarily user friendly. CLI ---------- This PR doesn't expose this configuration to CLI due to some complexities: * It's not as valuable to set environment variables there (i.e. users can export their environment variables before running commands) * The `-e` flag is already used for escape character, and I'm unsure if how to best proceed; I can see the appeal of repurposing `-e` to env-variables as it's the most common thing * We use the standard library `flags` package that doesn't support string array flag to allow for multiple environment variables nicely. As such, I've punted on supporting the CLI for another time as the need arises. External drivers and compatibility ---------- This PR makes some changes to the exec endpoint in drivers. These changes are binary backward compatible: existing drivers continue to run against latest nomad binary as the grpc handler ignores the new `env` field. The drivers continue to compile as normal against the version they vendored or depended on. Though, when plugin authors upgrade the dependency they will need to update code to either handle the `env` field or explicitly ignore it.
-
Lars Lehtonen authored
-
James Rasell authored
closes #6672
-
- 11 Nov, 2019 14 commits
-
-
Tim Gross authored
-
Charlie Voiselle authored
This is the basic code to add the Windows Service Manager hooks to Nomad. Includes vendoring golang.org/x/sys/windows/svc and added Docs: * guide for installing as a windows service. * configuration for logging to file from PR #6429
-
Chris Baker authored
there was a bad (localhost) URL in the vault docs (cherry pick of #6674)
-
Chris Baker authored
-
Chris Raborg authored
Fixes #6645
-
Drew Bailey authored
update changelog
-
Charlie Voiselle authored
linter fixes
-
Charlie Voiselle authored
-
Lars Lehtonen authored
-
Drew Bailey authored
-
Tim Gross authored
The LXC task driver documentation is missing for many of the optional task config fields, and for the recently added `gc` field on the driver configuration.
-
Drew Bailey authored
return a 404 if not found instead of redirect to ui
-
Carlos Neira authored
* Added firecracker-task-driver to community docs Signed-off-by:
Carlos Neira <cneirabustos@gmail.com>
-
Drew Bailey authored
-
- 08 Nov, 2019 13 commits
-
-
Drew Bailey authored
-
Charlie Voiselle authored
website - add -moz-osx-font-smoothing for smooth firefox osx fonts
-
Drew Bailey authored
-
Lars Lehtonen authored
-
Drew Bailey authored
decompress response body from websocket error
-
Drew Bailey authored
return after request has been forwarded
-
Drew Bailey authored
-
Drew Bailey authored
-
Drew Bailey authored
If a websocket connection errors we currently return the error with a copy of the response body. The response body from the websocket can often times be completely illegible so remove it from the error string. make alloc id empty for more reliable failure un-gzip if content encoding header present
-
Lars Lehtonen authored
TestEvalBroker_Dequeue_Blocked() improve test readability
-
Nick Ethier authored
nomad: fix bug that didn't allow for multiple connect services in same tg
-
Nick Ethier authored
-
Nick Ethier authored
-
- 07 Nov, 2019 10 commits
-
-
Chris Baker authored
Consider devices in tasksUpdated
-
Chris Baker authored
-
Lars Lehtonen authored
TestEvalBroker_PauseResumeNackTimeout() improve test readability
-
Chris Baker authored
Co-Authored-By:
Michael Schurter <mschurter@hashicorp.com>
-
RJ Spiker authored
-
Chris Baker authored
-
Chris Baker authored
to be updated to consider devices
-
Drew Bailey authored
updates default consul version to 1.6.1
-
Lars Lehtonen authored
nomad: TestEvalBroker_EnqueueAll_Dequeue_Fair() improve test readability
-
Drew Bailey authored
-