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
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 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
Alex Dadgar
4559c8f5c5
Merge pull request #4164 from PeterDaveHello/update-demo-vagrantfile
...
Use CONSUL_VERSION variable in demo Vagrantfile
2018-04-20 13:59:01 -07:00
Michael Lange
ff11ca7dbe
Add button type to the two-step-button buttons
2018-04-20 10:11:21 -07:00
Michael Schurter
65a17d1fcd
Merge pull request #4170 from hashicorp/f-consul-periodic-sync
...
consul: periodically reconcile services/checks
2018-04-19 16:51:32 -07:00
Michael Schurter
cfcbb9fa21
consul: periodically reconcile services/checks
...
Periodically sync services and checks from Nomad to Consul. This is
mostly useful when testing with the Consul dev agent which does not
persist state across restarts. However, this is a reasonable safety
measure to prevent skew between Consul's state and Nomad's
services+checks.
Also modernized the test suite a bit.
2018-04-19 15:45:42 -07:00
Michael Lange
e180e8d74a
Move job-page helpers and repeat stop tests on the service type
2018-04-19 14:22:05 -07:00
Michael Lange
1f3f26b30d
Refactor periodic job tests
2018-04-19 14:22:04 -07:00
Michael Lange
82ca110cd0
New tests for stop job action
2018-04-19 14:22:04 -07:00
Michael Lange
f0cf931c7b
Refactor job-page components to use common title and error parts
2018-04-19 14:22:04 -07:00
Michael Lange
cf7d5543c3
New errorMessage format
2018-04-19 14:22:04 -07:00
Michael Lange
ccd3a91362
Common error component for job pages
2018-04-19 14:22:04 -07:00
Michael Lange
60938b6eb6
Move common title parts into a part component
2018-04-19 14:22:04 -07:00
Michael Lange
bb61fda409
Test coverage for the two-step-button component
2018-04-19 14:22:04 -07:00
Michael Lange
f83eb25c14
New two-step-button
...
For performing an action that requires confirmation
2018-04-19 14:22:04 -07:00
Michael Lange
c7639237ba
Add new model action for stopping a job
2018-04-19 14:22:04 -07:00
Rob Genova
361ff9e140
Merge pull request #4180 from hashicorp/f-update-tf-version
...
tf: Bump Nomad to 0.8.1, Hadoop to 2.7.6
2018-04-19 12:41:47 -07:00
Nick Ethier
2e6c95f511
Merge pull request #4138 from hashicorp/i-hcl-json-endpoint
...
HCL to JSON api endpoint
2018-04-19 14:18:34 -04:00
Michael Schurter
1a85d0c990
run goimports
2018-04-19 11:16:28 -07:00
Michael Schurter
d77c265d1f
Merge pull request #4168 from ninoles/b-2117-windows-group-process
...
B 2117 windows group process
2018-04-19 11:10:51 -07:00
Nick Ethier
c67c4f2d6e
Merge pull request #4176 from hashicorp/i-cli-error-help
...
Improve help text when invalid arguments are given
2018-04-19 12:45:22 -04:00
Nick Ethier
50bab2dd83
command: fix job dispatch arg check
2018-04-18 21:21:43 -04:00
Michael Schurter
5f1033263b
docs: move operating-a-job to guides
...
Add redirects from /docs/ -> /guides/ and update old redirects to point
to the new location.
2018-04-18 16:21:16 -07:00
Michael Schurter
fdbcbd4e5b
Merge pull request #4058 from hashicorp/f-mock-by-default
...
[Post-0.8] test: build with mock_driver by default
2018-04-18 15:57:00 -07:00
Rob Genova
40fff0cbfa
bump Nomad to 0.8.1, Hadoop to 2.7.6
2018-04-18 22:33:58 +00:00
Michael Schurter
4d8c65300d
Merge pull request #4174 from hashicorp/tests-fix-ar-race
...
tests: fix race in alloc_runner_test.go
2018-04-18 14:49:00 -07:00
Michael Schurter
d3650fb2cd
test: build with mock_driver by default
...
`make release` and `make prerelease` set a `release` tag to disable
enabling the `mock_driver`
2018-04-18 14:45:33 -07:00
Michael Schurter
8ece6b7163
cli: sort drivers in node status <node_id>
2018-04-18 14:30:44 -07:00
Michael Schurter
04b62e9056
Merge pull request #4160 from hashicorp/docs-job-telemetry
...
Document job telemetry from #3467
2018-04-18 13:57:33 -07:00
Nick Ethier
d0326503ac
command: use ':' instead of ',' in error msg
2018-04-18 13:55:51 -04:00
Nick Ethier
bde560a863
command: update tests to check for new error message
2018-04-18 13:51:17 -04:00
Preetha
7bc122dd5b
Merge pull request #4172 from omame/patch-1
...
Typo fix on a link
2018-04-18 12:05:34 -05:00
Nick Ethier
71fd07d4d0
command: fix misspelling in comment
2018-04-18 12:19:53 -04:00
Nick Ethier
182e3bec1b
command: improve help text when invalid arguments are given
2018-04-18 12:02:11 -04:00
Charlie Voiselle
8aa9b8fda3
Merge pull request #4173 from hashicorp/docs-acl-vault-typos
...
Fix typos in example commands
2018-04-18 11:41:27 -04:00
Laura Uva
7f2b036031
Fix typos in example commands in the Vault Integration Configuration section of ACL guide
2018-04-17 17:16:35 -07:00
Michael Schurter
a991923389
tests: fix race in alloc_runner_test.go
...
I could not reproduce the failure locally even with `stress -cpu ...`
eating all the cpu it could on my machine.
But I think the race was in one of two places:
* The task could restart which could create new events
* I think there could be a race between the updater's version of events
and alloc runners as updates are async
I fixed both. Here's hoping that fixes this flaky test.
2018-04-17 17:14:59 -07:00
Alex Dadgar
f7a450536e
bump vagrant version
2018-04-17 14:13:14 -07:00
Alex Dadgar
8bf46dfb95
changelog and version
2018-04-17 14:06:14 -07:00
Alex Dadgar
eeb85299ff
gofmt -s nomad/structs/structs_test.go
2018-04-17 13:39:32 -07:00
Michael Lange
e3433ac449
Merge pull request #4167 from hashicorp/ui-fix-flaky-tests
...
UI: Fix a couple flaky tests
2018-04-17 13:36:35 -07:00
Daniele Valeriani
b318e78fdf
Typo fix on a link
2018-04-17 22:17:48 +02:00