Commit Graph

8843 Commits

Author SHA1 Message Date
Chelsea Holland Komlo e56da12857 match table names to logged values
docs fixup
2017-09-07 21:57:01 +00:00
Alex Dadgar dbab588d60 Merge pull request #3169 from hashicorp/v-cli
Vendor cli to get exit code 127 on unknown command
2017-09-07 12:35:43 -07:00
Alex Dadgar cd28f3479f Merge pull request #3168 from hashicorp/t-job-deployment
Add testing around nomad job deployments command
2017-09-07 12:35:25 -07:00
Alex Dadgar 0d532c9c68 Merge pull request #3150 from hashicorp/f-watchctx
WatchCtx propogates context error
2017-09-07 12:34:03 -07:00
Chelsea Holland Komlo 658172935e update telemetry client metrics for new values 2017-09-07 19:02:38 +00:00
Alex Dadgar abfc56a871 WatchCtx propogates context error 2017-09-06 17:37:40 -07:00
Alex Dadgar ffbafb0618 changelog 2017-09-06 17:20:31 -07:00
Alex Dadgar cc13d4db7d Vendor cli to get exit code 127 on unknown command 2017-09-06 17:19:07 -07:00
Alex Dadgar 9dc8264f32 Add testing around nomad job deployments command 2017-09-06 17:16:46 -07:00
Alex Dadgar 1e8d0bfabb Merge pull request #3166 from pkrolikowski/fix-panic-deployment-latest
[cli] Fix panic while running latest deployment command witch -latest flag
2017-09-06 16:55:16 -07:00
Chelsea Holland Komlo 1238efc2a8 improve documentation
move metrics to telemetry; copy to client config
2017-09-06 21:38:06 +00:00
piotr.krolikowski 4f575830ec Fix panic while running latest deployment command 2017-09-06 20:26:22 +02:00
Chelsea Holland Komlo 66fa05405a tagged metrics config options should be on telemetry config
better api example, add telemetry documentation
2017-09-06 15:25:36 +00:00
Chelsea Holland Komlo 11a676c901 add documentation for new HTTP metrics endpoint 2017-09-06 13:51:19 +00:00
Chelsea Holland Komlo 751fc5324e add http endpoint for in memory metrics
prevent against flaky test due to timing/initialization issues
2017-09-06 13:51:19 +00:00
Alex Dadgar f365ee4a9b Fix Windows AMD64 build architecture 2017-09-05 17:23:21 -07:00
Alex Dadgar ccaec2dd48 changelog 2017-09-05 17:18:43 -07:00
Alex Dadgar 31f9e099d9 Merge pull request #3148 from clinta/purge-stopped
Always purge stopped containers
2017-09-05 17:18:05 -07:00
Alex Dadgar 9b6f1244f7 Merge pull request #3165 from hashicorp/b-docker-auth
Fix repo name passed to docker credential helpers
2017-09-05 16:56:51 -07:00
Alex Dadgar 50058386bb Merge pull request #3164 from hashicorp/v-go-getter
Update go-getter
2017-09-05 16:54:19 -07:00
Alex Dadgar 6de1e5d208 Vendor consul-template (#3153)
* Vendor consul-template

Fixes https://github.com/hashicorp/nomad/issues/3133

* changelog
2017-09-05 16:53:28 -07:00
Alex Dadgar 6fdaf38389 Fix repo name passed to docker credential helpers
This PR fixes the server url passed to docker credential helpers and
fixes stderr capture.

Fixes https://github.com/hashicorp/nomad/issues/2957
2017-09-05 16:43:21 -07:00
Alex Dadgar 5e8635ff15 Update go-getter
Fixes https://github.com/hashicorp/nomad/issues/3154
2017-09-05 16:41:33 -07:00
Alex Dadgar d8b0a37a6b Merge pull request #3140 from hashicorp/f-round-trip-test
Integration test for round tripping a job.
2017-09-05 16:38:41 -07:00
Alex Dadgar 38c0453e68 update test to use assert 2017-09-05 16:38:15 -07:00
Alex Dadgar 9471baa814 changelog 2017-09-05 14:46:25 -07:00
Alex Dadgar 21564c7c04 Parse Docker mounts correctly (#3163)
* Parse Docker mounts correctly

This PR fixes the parsing of Docker mounts and adds testing to ensure no
regressions.

Fixes https://github.com/hashicorp/nomad/issues/3156

* Review feedback
2017-09-05 14:02:57 -07:00
Chelsea Komlo e3973a4603 Merge pull request #3147 from hashicorp/b-tagged-metrics
Add support for tagged metrics
2017-09-05 15:55:39 -04:00
Chelsea Holland Komlo dc096b1cec add changelog 2017-09-05 19:24:34 +00:00
Chelsea Holland Komlo 0ef43c3c5f final code review fixups 2017-09-05 18:47:44 +00:00
Chelsea Holland Komlo dea1fa089b fix up travis test failure via race condition 2017-09-05 15:04:59 +00:00
Chelsea Holland Komlo a8cbd0b559 fixups from code review 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo f72e4aad13 labels depend on full setup of client beforehand 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo b4d21869ca update comments 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo ba4abbe09c remove prints during test 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo 5c10a9325e parse config for metrics fields 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo 87a814397d refactor to use baseLabels 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo b2953d905a pass in commonly used values 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo c634043069 create base labels to be used in every metric 2017-09-05 14:13:34 +00:00
Chelsea Holland Komlo f5ea83da8d emit metrics using labels, add option for backwards compatibility 2017-09-05 14:12:57 +00:00
Chelsea Holland Komlo 0175f80775 add metrics options to client config 2017-09-05 14:12:57 +00:00
Chelsea Holland Komlo f59cef0c2f vendor latest version of go-metrics and datadog-go/statsd 2017-09-05 14:11:49 +00:00
Armon Dadgar efa34cad2d Merge pull request #3160 from hashicorp/f-acl
Initial ACL enforcement framework
2017-09-04 13:46:31 -07:00
Armon Dadgar 1c7fb1bfbb Remove generated structs 2017-09-04 13:33:37 -07:00
Armon Dadgar 10500c39e5 nomad: fixing test 2017-09-04 13:21:01 -07:00
Armon Dadgar 3f35b1ef0c api: Fixing double region merge conflict 2017-09-04 13:20:51 -07:00
Armon Dadgar e74ea8a152 nomad: use hashes for efficient token/policy diffing 2017-09-04 13:09:34 -07:00
Armon Dadgar 97404e3f8c nomad: compute hash for ACL policies and tokens 2017-09-04 13:09:34 -07:00
Armon Dadgar d49bc49274 api: full CRUD for ACL token API 2017-09-04 13:09:34 -07:00
Armon Dadgar 4512094058 api: support token listing 2017-09-04 13:09:34 -07:00