Michael Lange
fb7e0c19d2
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
443c1f3f3f
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
9b2a73ea19
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
1a78d42635
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
10c9e7ab66
Add button type to the two-step-button buttons
2018-04-20 10:11:21 -07:00
Michael Schurter
4317ea795c
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
972e861410
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
1d19d825f2
Move job-page helpers and repeat stop tests on the service type
2018-04-19 14:22:05 -07:00
Michael Lange
91c9e092d7
Refactor periodic job tests
2018-04-19 14:22:04 -07:00
Michael Lange
396c4b041c
New tests for stop job action
2018-04-19 14:22:04 -07:00
Michael Lange
a3be7ef006
Refactor job-page components to use common title and error parts
2018-04-19 14:22:04 -07:00
Michael Lange
4738144478
New errorMessage format
2018-04-19 14:22:04 -07:00
Michael Lange
67df4dd304
Common error component for job pages
2018-04-19 14:22:04 -07:00
Michael Lange
842ef65487
Move common title parts into a part component
2018-04-19 14:22:04 -07:00
Michael Lange
9899b15bf3
Test coverage for the two-step-button component
2018-04-19 14:22:04 -07:00
Michael Lange
f0cf06a64a
New two-step-button
...
For performing an action that requires confirmation
2018-04-19 14:22:04 -07:00
Michael Lange
67f2fa1734
Add new model action for stopping a job
2018-04-19 14:22:04 -07:00
Rob Genova
45d0c88fac
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
95d9eb9bf3
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
a4bf901559
run goimports
2018-04-19 11:16:28 -07:00
Michael Schurter
d6de69b6fc
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
73b94f5767
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
f1364fbbad
command: fix job dispatch arg check
2018-04-18 21:21:43 -04:00
Michael Schurter
7a3232344e
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
a516dcd0ea
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
61908a0dea
bump Nomad to 0.8.1, Hadoop to 2.7.6
2018-04-18 22:33:58 +00:00
Michael Schurter
9e1145e605
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
29da24b77b
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
91cd1a2258
cli: sort drivers in node status <node_id>
2018-04-18 14:30:44 -07:00
Michael Schurter
1766bc26f7
Merge pull request #4160 from hashicorp/docs-job-telemetry
...
Document job telemetry from #3467
2018-04-18 13:57:33 -07:00
Nick Ethier
0216a8e377
command: use ':' instead of ',' in error msg
2018-04-18 13:55:51 -04:00
Nick Ethier
4a4ed06db1
command: update tests to check for new error message
2018-04-18 13:51:17 -04:00
Preetha
92a801ec22
Merge pull request #4172 from omame/patch-1
...
Typo fix on a link
2018-04-18 12:05:34 -05:00
Nick Ethier
5d39f68f89
command: fix misspelling in comment
2018-04-18 12:19:53 -04:00
Nick Ethier
45b0ce9177
command: improve help text when invalid arguments are given
2018-04-18 12:02:11 -04:00
Charlie Voiselle
60a4952da8
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
b1b29cd3e2
Fix typos in example commands in the Vault Integration Configuration section of ACL guide
2018-04-17 17:16:35 -07:00
Michael Schurter
55dcadc132
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
0dbf00efd2
bump vagrant version
2018-04-17 14:13:14 -07:00
Alex Dadgar
ce180326ac
changelog and version
2018-04-17 14:06:14 -07:00
Alex Dadgar
3916791537
gofmt -s nomad/structs/structs_test.go
2018-04-17 13:39:32 -07:00
Michael Lange
d84bb51d21
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
367dc27a6f
Typo fix on a link
2018-04-17 22:17:48 +02:00
Fabien Ninoles
3eba6ca8c2
Merge branch 'master' into b-2117-windows-group-process
2018-04-17 13:47:25 -04:00
Fabien Ninoles
d6cc8895ca
Update based on PR request.
2018-04-17 13:43:04 -04:00
Michael Lange
61c0b321a0
Track requests in test mode
...
This is now necessary in mirage 0.4
2018-04-17 10:28:59 -07:00
Michael Lange
c84ae85578
Upgrade ember-cli-mirage
2018-04-17 10:28:58 -07:00
Michael Lange
f5d8324d18
Don't read properties off of null objects
...
Somehow this controller code runs sometimes when the existing jobs
are dematerializing. This makes this.get('model') and array of null
2018-04-17 10:28:58 -07:00
Michael Lange
69251628f7
Make sure jobs and task groups have no spaces
...
Faker hacker nouns can sometimes be two words.
2018-04-17 10:28:58 -07:00
Alex Dadgar
30cd227763
Merge pull request #4166 from hashicorp/b-panic-fix-update
...
Fixes races accessing node and updating it during fingerprinting
2018-04-17 10:02:19 -07:00