Commit graph

11647 commits

Author SHA1 Message Date
Alex Dadgar dc2907c2c9 Codecgen full package 2018-04-26 15:24:53 -07:00
Alex Dadgar bcec68d41d Travis tests binary built with generated files 2018-04-26 15:24:53 -07:00
Alex Dadgar d0f237086b UX touchups 2018-04-26 15:24:27 -07:00
Alex Dadgar 479f84089d changelog 2018-04-26 14:48:04 -07:00
Alex Dadgar 5a7d90c134
Merge pull request #4222 from hashicorp/b-proxy
Track all client connections
2018-04-26 14:46:52 -07:00
Chelsea Holland Komlo fca0169dbc handle potential panic in cron parsing 2018-04-26 16:57:45 -04:00
Alex Dadgar ff7e2b960f Add test 2018-04-26 13:28:24 -07:00
Alex Dadgar 4a23307baf Track all client connections 2018-04-26 13:22:09 -07:00
Alex Dadgar 88dceb33b2
Merge pull request #4190 from hashicorp/je.remove-turbolinks
Turbolinks adjustments
2018-04-26 10:42:42 -07:00
Alex Dadgar ffb703772d
Merge pull request #4216 from hashicorp/b-signal-constraints
Sort signals in implicit constraint
2018-04-26 10:14:03 -07:00
Alex Dadgar 9146f97f90 changelog 2018-04-26 10:13:33 -07:00
Alex Dadgar 5320205853 Sort signals in implicit constraint
Fixes https://github.com/hashicorp/nomad/issues/4212
2018-04-26 10:12:47 -07:00
Alex Dadgar f69ceb2eda
Merge pull request #4205 from hashicorp/docs-drain-cli
Update docs CLI output for node drain
2018-04-25 16:45:38 -07:00
Alex Dadgar ebe1b20ecb
Merge pull request #4217 from hashicorp/f-govendor-update
Update go-getter to pick up file access time fix
2018-04-25 16:33:31 -07:00
Alex Dadgar ae72fc8e23 Changelog 2018-04-25 16:33:00 -07:00
Preetha Appan 698a52f4d1 Fix vendor file format 2018-04-25 16:32:36 -07:00
Preetha Appan f2a817fdf4 Update go-getter to pick up file accesstime fix 2018-04-25 16:32:36 -07:00
Alex Dadgar e46bbdd582
Merge pull request #4215 from hashicorp/b-drain
Fix panic draining when alloc on non-existent node
2018-04-25 16:03:12 -07:00
Alex Dadgar 3ba9978a0c Changelog 2018-04-25 16:01:17 -07:00
Alex Dadgar 79844f1d01 Safety guard 2018-04-25 16:00:56 -07:00
Alex Dadgar d45f39f24e Fix detecting drain strategy on GC'd node 2018-04-25 16:00:56 -07:00
Michael Lange fd4df462dd UI changes in 0.8.2 added to changelog 2018-04-25 15:53:35 -07:00
Alex Dadgar e1f45e2651
Merge pull request #4209 from herver/patch-1
Fix typo in cap_add whitelisting
2018-04-25 15:18:19 -07:00
Nick Ethier b624d88312
Merge pull request #4214 from hashicorp/f-4176-changelog
CHANGELOG: add line for #4176
2018-04-25 14:57:42 -04:00
Nick Ethier b5ea070f51
CHANGELOG: add line for #4176 2018-04-25 14:51:17 -04:00
herver 0ba319a789
Fix typo in cap_add whitelisting 2018-04-25 08:40:37 +02:00
Michael Schurter 0e602d4779
Merge pull request #4188 from hashicorp/f-rkt-stats
rkt: create parent cgroup to enable stats
2018-04-24 14:54:36 -07:00
Michael Lange 0c1c66776b
Merge pull request #4195 from hashicorp/b-ui-retry-stats-requests
UI: Retry stats requests
2018-04-24 14:13:34 -07:00
Michael Schurter 6117e7f8eb docs: add changelog entry for rkt stats #4188 2018-04-24 14:10:10 -07:00
Michael Schurter d687761ebf rkt: test Stats() and always run tests
Remove the NOMAD_TEST_RKT flag as a guard for rkt tests. Still require
Linux, root, and rkt to be installed. Only check for rkt installation
once in hopes of speeding up rkt tests a bit.
2018-04-24 11:05:42 -07:00
Michael Schurter 93bd3f0de9 docs: update cli output for node drain
CLI output changed in #4202
2018-04-24 11:02:34 -07:00
Michael Schurter 236559dd2e
Merge pull request #4202 from jrasell/gh_4183
Update node-drain logging message to be clearer for operators.
2018-04-24 10:49:24 -07:00
Alex Dadgar e0befc41a1
Merge pull request #4196 from jvrplmlmn/driverContext/add-taskGroup-job-details
DriverContext: Add the TaskGroup and the Job name
2018-04-24 09:52:57 -07:00
James Rasell b7c2ce2991
Update node-drain logging message to clearer for operators.
This change updates the console log message when performing a node
drain and particulary when a node has marked all allocs for
migration. Previously it logged 'drain complete' which was a little
confusing to operators as the node is not drained at this point.

Closes #4183
2018-04-24 07:50:01 +01:00
Michael Lange 603da9b4ea Test coverage for the changes to the searchable mixin 2018-04-23 16:49:04 -07:00
Michael Lange 50b0892c14 Trim whitespace on the search term
Trailing whitespace messes with tokenization
2018-04-23 16:49:04 -07:00
Michael Lange e0a0dbae9f Add tokenization to fuse search options 2018-04-23 14:58:01 -07:00
Michael Lange 0fb407baec Show how many jobs exist but are being hidden by the serach term 2018-04-23 14:58:01 -07:00
Michael Lange 47f4630607 Apply new search features to the job index page 2018-04-23 14:58:01 -07:00
Michael Lange 854c1665e0 Add optional fuzzy search support to the searchable mixin
This time around fuzzy, exact, and regex can all be toggled.
Additionally, each search type gets its own set of keys to search
for. This means fuzzy search can only look at name while regex and
exact match will still look at ID.
2018-04-23 14:58:01 -07:00
Michael Lange 8e410c01fb Bring fuse.js back 2018-04-23 14:58:01 -07:00
Javier Palomo Almena 3e6c01ffa1 docker tests: Fix usage of NewDriverContext 2018-04-23 22:51:06 +02:00
Jeff Escalante 4d24959e93 adjust analytics and scripts for turbolinks 2018-04-23 13:09:52 -04:00
Javier Palomo Almena 74d3c5df07 DriverContext: Add the TaskGroup and the Job name
Adding this fields to the DriverContext object, will allow us to pass
them to the drivers.

An use case for this, will be to emit tagged metrics in the drivers,
which contain all relevant information:
- Job
- TaskGroup
- Task
- ...

Ref: https://github.com/hashicorp/nomad/pull/4185
2018-04-23 00:15:29 +02:00
Michael Lange b8c91c90fe
Merge pull request #4189 from hashicorp/f-ui-stop-job-button
UI: Stop job button
2018-04-20 18:12:24 -07:00
Michael Lange 71ca73c19b Test coverage for alloc stats retrying 2018-04-20 18:11:32 -07:00
Michael Lange d7daf86067 Move resource generation helper to a common place 2018-04-20 18:10:41 -07:00
Michael Lange eca7bf5ea2 Keep polling for alloc stats when a request fails 2018-04-20 16:50:54 -07:00
Michael Schurter ec201d5f19
Merge pull request #4178 from hashicorp/f-sort-drivers
cli: sort drivers in `node status <node_id>`
2018-04-20 14:03:26 -07:00
Michael Schurter f9764023a9
Merge pull request #4181 from hashicorp/docs-move-operating-guide
Move Operating a Job from /docs/ to /guides/
2018-04-20 14:01:47 -07:00