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.
- 19 Dec, 2019 7 commits
-
-
Tim Gross authored
-
Charlie Voiselle authored
* [docs] Migrating Web-UI and Governance Guides to learn * fix 404s caught in checks
-
Charlie Voiselle authored
* Allow user to specify dest filename for nomad init * Create changelog entry for GH-6520
-
Drew Bailey authored
Update CHANGELOG.md
-
Drew Bailey authored
-
Preetha authored
-
Mahmood Ali authored
Add option to set certificate in-memory
-
- 18 Dec, 2019 4 commits
-
-
Drew Bailey authored
Group shutdown_delay
-
Drew Bailey authored
update go-hclog to latest release
-
Drew Bailey authored
-
John Schlederer authored
* Making pull activity timeout configurable in Docker plugin config, first pass * Fixing broken function call * Fixing broken tests * Fixing linter suggestion * Adding documentation on new parameter in Docker plugin config * Adding unit test * Setting min value for pull_activity_timeout, making pull activity duration a private var
-
- 17 Dec, 2019 2 commits
-
-
Lang Martin authored
-
Lang Martin authored
-
- 16 Dec, 2019 15 commits
-
-
Mahmood Ali authored
cli: sequence cli.Ui operations
-
Drew Bailey authored
-
Drew Bailey authored
update docs, address pr comments ensure pointer is not nil use pointer for diff tests, set vs unset
-
Drew Bailey authored
more explicit test case, remove select statement
-
Drew Bailey authored
copy struct values ensure groupserviceHook implements RunnerPreKillhook run deregister first test that shutdown times are delayed move magic number into variable
-
Mahmood Ali authored
Fixes a bug where if a command flag parsing errors, the resulting error and help usage messages get interleaved in unexpected and non-user friendly way. The reason is that we have flag parsing library effectively writes to ui.Error in a goroutine. This is problematic: first, we lose the sequencing between help usage and error message; second, cli.Ui methods are not concurrent safe. Here, we introduce a custom error writer that buffers result and calls ui.Error() in the write method and in the same goroutine. For context, we need to wrap ui.Error because it's line-oriented, while flags library expects a io.Writer which is bytes oriented.
-
Danielle authored
env_aws: Disable Retries and set Session cfg
-
Danielle authored
Co-Authored-By:
Mahmood Ali <mahmood@hashicorp.com>
-
Seth Hoenig authored
tests: remove trace statements from nodeDrainWatcher.watch
-
Tim Gross authored
Adds Windows targets to the client/allocs metrics tests. Removes the `allocstats` test, which covers less than these tests and is now redundant. Adds a firewall rule to our Windows instances so that the prometheus server can scrape the Nomad HTTP API for metrics.
-
Michel Vocks authored
-
Seth Hoenig authored
Avoid logging in the `watch` function as much as possible, since it is not waited on during a server shutdown. When the logger logs after a test passes, it may or may not cause the testing framework to panic. More info in: https://github.com/golang/go/issues/29388#issuecomment-453648436
-
Michel Vocks authored
-
Michel Vocks authored
-
Danielle Lancashire authored
Previously, Nomad used hand rolled HTTP requests to interact with the EC2 metadata API. Recently however, we switched to using the AWS SDK for this fingerprinting. The default behaviour of the AWS SDK is to perform retries with exponential backoff when a request fails. This is problematic for Nomad, because interacting with the EC2 API is in our client start path. Here we revert to our pre-existing behaviour of not performing retries in the fast path, as if the metadata service is unavailable, it's likely that nomad is not running in AWS.
-
- 13 Dec, 2019 12 commits
-
-
Michael Schurter authored
connect: canonicalize before adding sidecar
-
Mahmood Ali authored
driver: allow disabling log collection
-
Mahmood Ali authored
Update go-multierror library
-
Mahmood Ali authored
-
Mahmood Ali authored
multierror library changed formatting slightly.
-
Buck Doyle authored
-
Mahmood Ali authored
To pick up https://github.com/hashicorp/go-multierror/pull/28
-
Buck Doyle authored
I unintentionally introduced a flapping test in #6817. The draining status of the node will be randomly chosen and that flag takes precedence over eligibility. This forces the draining flag to be false rather than random so the test should no longer flap. See here for an example failure: https://circleci.com/gh/hashicorp/nomad/26368
-
Preetha Appan authored
-
Mahmood Ali authored
executor: stop joining executor to container cgroup
-
Michael Schurter authored
Also make Connect related fixes more consistent in the changelog. I suspect users won't care if a Connect related fix is in the server's admission controller or in the client's groupservice hook or somewhere else, so I think grouping them by `consul/connect:` makes the most sense.
-
Michael Schurter authored
Fixes #6853 Canonicalize jobs first before adding any sidecars. This fixes a bug where sidecar tasks were added without interpolated names and broke validation. Sidecar tasks must be canonicalized independently. Also adds a group network to the mock connect job because it wasn't a valid connect job before!
-