open-nomad/client
Danielle Tomlinson 95a0c4fb29 taskrunner: Use a random suffix for Task Config
The RestartCount is not really suitable for use as a source of
uniqueness within task invocations as it is not monotonic, and interacts
with the restart stanza in a users config, so conflates restarts due to
task failures, with restarts due to enviromental changes, such as consul
template or vault secrets changing.

Here we instead use a substring from a uuid, which is more random than
we strictly need, but is nicer than rolling our own random string
generator here.
2018-12-19 00:38:54 +01:00
..
allocdir Merge pull request #4925 from hashicorp/f-driver-plugins-dani 2018-12-03 20:48:19 +01:00
allochealth client: emit last sent alloc to new listeners 2018-11-27 14:06:08 -08:00
allocrunner taskrunner: Use a random suffix for Task Config 2018-12-19 00:38:54 +01:00
allocrunnerdeprecated client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
allocwatcher client: Style: use fluent style for building loggers 2018-12-11 18:03:45 +01:00
config client: interpolate driver configurations 2018-11-15 16:25:57 -08:00
consul fix build errors post merges 2018-10-16 16:53:31 -07:00
devicemanager Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
fingerprint client: Move fingerprint structs to pkg 2018-12-01 17:10:39 +01:00
interfaces Populate alloc stats API with device stats 2018-11-16 10:26:32 -05:00
lib fifo: add new fifo package for named pipes (#4665) 2018-10-16 16:53:30 -07:00
logmon Recover from any possible io error when invoking Write on FileRotator 2018-12-07 18:22:29 +01:00
pluginmanager client/plugin: remove println from plugin group func 2018-11-27 22:45:09 -05:00
servers fix test compiling 2018-10-16 16:56:55 -07:00
state review comments 2018-11-07 11:31:52 -08:00
stats Add Client Device Stats structs in api package 2018-11-14 14:41:19 -05:00
structs client: Move fingerprint structs to pkg 2018-12-01 17:10:39 +01:00
taskenv client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
testutil
vaultclient address review comments 2018-11-20 17:10:54 -05:00
acl.go client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
acl_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
alloc_endpoint.go
alloc_endpoint_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
alloc_watcher_e2e_test.go client: review comments and fixup/skip tests 2018-10-16 16:56:56 -07:00
client.go Merge pull request #4989 from hashicorp/dani/b-client-update-race-condition 2018-12-17 10:49:46 +01:00
client_stats_endpoint.go
client_stats_endpoint_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
client_test.go client: update driver info on new fingerprint 2018-12-11 14:25:10 -05:00
fingerprint_manager.go client: Move fingerprint structs to pkg 2018-12-01 17:10:39 +01:00
fingerprint_manager_test.go test: fix TestFingerprintManager_Run_Combination 2018-12-11 09:35:26 -05:00
fs_endpoint.go client: expose task state to client 2018-10-16 16:56:55 -07:00
fs_endpoint_test.go convert all config durations to strings in tests 2018-11-13 10:21:40 -05:00
gc.go client: hclog-ify most of the client 2018-10-16 16:53:30 -07:00
gc_test.go gc: Fix maxallocs integration test 2018-12-06 21:50:50 +01:00
rpc.go client.rpc: don't log errors on shutdown 2018-11-19 16:39:30 -08:00
rpc_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
testing.go Remove implicit check 2018-12-16 09:14:26 -05:00
util.go example redis job "runs" on arv2! see below 2018-10-16 16:53:29 -07:00
util_test.go Update state with server 2018-10-16 16:53:29 -07:00