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.
- 30 Nov, 2018 5 commits
-
-
Mahmood Ali authored
Use user provided image name to launch container
-
Mahmood Ali authored
Support bind and tmpfs docker mounts
-
Michael Schurter authored
Co-Authored-By:
notnoop <mahmood@notnoop.com>
-
Nick Ethier authored
Port metric prefix filtering to master
-
Nick Ethier authored
-
- 29 Nov, 2018 7 commits
-
-
Danielle Tomlinson authored
make: Fix invocation of vault e2e test
-
Omar Khawaja authored
-
Mahmood Ali authored
vault: protect against empty Vault secret response Fixes #4921 Sadly, we don't have proper mechanism to mock Vault client, so not sure how to best test this. I inspected the Vault client interactions, specially for cases where returned value is nil even if the error is also nil. I believe we covered all correctly now: * [`v.client.Sys().InitStatus()`](https://github.com/hashicorp/nomad/blob/f3853f11daa51336a2d46d883b1aff6feeddc7ec/nomad/vault.go#L427) - the value is non-nil boolean * [`v.client.Sys().CapabilitiesSelf(path)`](https://github.com/hashicorp/nomad/blob/f3853f11daa51336a2d46d883b1aff6feeddc7ec/nomad/vault.go#L812): Capabilities handles empty bodies in [`hasCapability`](https://github.com/hashicorp/nomad/blob/f3853f11daa51336a2d46d883b1aff6feeddc7ec/vendor/github.com/hashicorp/vault/api/sys_capabilities.go#L43-L45) - also the `nil` array is handled with proper fail-safe default. * [`v.client.Logical().Read(fmt.Sprintf("auth/token/roles/%s", role))`](https://github.com/hashicorp/nomad/blob/f3853f11daa51336a2d46d883b1aff6feeddc7ec/nomad/vault.go#L834-L840) handles when `rsecret` is nil
-
Danielle Tomlinson authored
-
Mahmood Ali authored
Also, fix a case where a successful second attempt of loading token can cause a panic.
-
Chris Baker authored
change to testing utilities to fix rkt tests
-
Nick Ethier authored
add generic plugin manager interface and orchestration
-
- 28 Nov, 2018 24 commits
-
-
Chris Baker authored
testing: in MkAllocDir, do not update TaskConfig with All() from the task builder, just with Env() (because it pollutes environment variables with node attributes and fails the rkt tests)
-
Preetha authored
Modify fingerprint interface to use typed attribute struct
-
Preetha Appan authored
-
Michael Schurter authored
Device hook and devices affect computed node class
-
Preetha Appan authored
-
Preetha Appan authored
-
Preetha Appan authored
-
Preetha Appan authored
-
Nick Ethier authored
-
Nick Ethier authored
-
Nick Ethier authored
-
Mahmood Ali authored
Add LXC driver
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Mahmood Ali authored
-
Michael Schurter authored
Looking at NewTaskRunner I'm unsure whether TaskRunner.TaskResources (from which req.TaskResources is set) is intended to be nil at times or if the TODO in NewTaskRunner is intended to ensure it is always non-nil.
-
Michael Schurter authored
-
Michael Schurter authored
The old approach was incomplete. Hook env vars are now: * persisted and restored between agent restarts * deterministic (LWW if 2 hooks set the same key)
-
Alex Dadgar authored
This PR introduces a device hook that retrieves the device mount information for an allocation. It also updates the computed node class computation to take into account devices. TODO Fix the task runner unit test. The environment variable is being lost even though it is being properly set in the prestart hook.
-
Michael Schurter authored
-
Michael Schurter authored
Fix deadlock in previous alloc watcher by emitting last alloc update
-
Michael Schurter authored
-
Michael Schurter authored
-
- 27 Nov, 2018 4 commits
-
-
Chris Baker authored
drivers/rkt: fix invalid volumes
-
Chris Baker authored
-
Danielle Tomlinson authored
taskrunner: Return the restart delay correctly
-
Michael Schurter authored
-