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.
- 01 Dec, 2018 4 commits
-
-
Danielle Tomlinson authored
this allows us to drop a cyclical import, but is subobptimal as it requires BaseDriver tests to move. This falls firmly into the realm of being a hack. Alternatives welcome.
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
This removes a cyclical dependency when importing client/structs from dependencies of the plugin_loader, specifically, drivers. Due to client/config also depending on the plugin_loader. It also better reflects the ownership of fingerprint structs, as they are fairly internal to the fingerprint manager.
-
Mahmood Ali authored
Batch update for the PRs I recently merged.
-
- 30 Nov, 2018 24 commits
-
-
Omar Khawaja authored
-
Danielle Tomlinson authored
Refactor and repackage client/driver
-
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>
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
With the introduction of driver plugins, we're temporarily relying on _run time validation_ of driver configurations, rather than submission time.
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
The logging package is used by logmon and the legacy mock_driver. Because the legacy drivers are going away, I'm moving it here to signify its actual ownership.
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
This creates a drivers/shared/structs package and moves the buffer size checks into it.
-
Danielle Tomlinson authored
-
Danielle Tomlinson authored
As part of deprecating legacy drivers, we're moving the env package to a new drivers/shared tree, as it is used by the modern docker and rkt driver packages, and is useful for 3rd party plugins.
-
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 5 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
-