Michael Schurter
7cbae6e168
Merge pull request #2899 from hashicorp/d-mention-env-in-init
...
Mention env templates in nomad init
2017-07-26 11:17:47 -07:00
Michael Schurter
265e18b8ac
Test for template envvar validation
2017-07-25 20:27:18 -07:00
Alex Dadgar
187eb03731
Merge pull request #2892 from hashicorp/f-parallel-nomad
...
Parallel Nomad pkg tests and more reliable test Vault
2017-07-25 17:43:00 -07:00
Alex Dadgar
b5d782c493
Use LookupPath to add the exe extension
2017-07-25 17:42:36 -07:00
Alex Dadgar
a9c786a4fe
Make test Vault pick random ports
2017-07-25 17:40:59 -07:00
Alex Dadgar
06eddf243c
parallel nomad tests
2017-07-25 17:39:36 -07:00
Alex Dadgar
02bf92a4f3
Merge pull request #2903 from hashicorp/d-cli
...
New commands docs and small CLI fixes
2017-07-25 17:37:24 -07:00
Alex Dadgar
0db6b986eb
Fix indentation
2017-07-25 17:37:09 -07:00
Michael Schurter
f660d79514
Missing period
2017-07-25 17:37:09 -07:00
Alex Dadgar
e0beda704a
New commands docs and small fixes
...
This PR adds the command documentations and has small CLI fixes.
2017-07-25 17:37:09 -07:00
Alex Dadgar
797fc81012
validate
2017-07-25 17:37:09 -07:00
Alex Dadgar
a271b8fc22
inspect
2017-07-25 17:37:09 -07:00
Alex Dadgar
f8b9fc4124
Fix eval-status bug
2017-07-25 17:37:09 -07:00
Alex Dadgar
5a2578eefe
alloc-status
2017-07-25 17:37:09 -07:00
Alex Dadgar
08ce8b85f4
Status command
2017-07-25 17:34:43 -07:00
Alex Dadgar
8c45963440
Merge pull request #2906 from hashicorp/f-custom-help
...
Use a custom help output function
2017-07-25 17:31:44 -07:00
Alex Dadgar
8dc8e17c1b
Merge pull request #2907 from hashicorp/b-promote-err
...
Expose FSM errors into deployment watcher and API
2017-07-25 17:31:33 -07:00
Alex Dadgar
b6b2d75d63
Merge pull request #2908 from hashicorp/b-min-healthy-validation
...
Validate that min_healthy_time < healthy_deadline
2017-07-25 17:28:38 -07:00
Alex Dadgar
f7985535d4
Merge pull request #2911 from hashicorp/d-api
...
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Michael Schurter
b8af7598b0
Merge pull request #2910 from hashicorp/d-upgrading-0.6
...
Explain change in default advertise behavior
2017-07-25 17:20:39 -07:00
Alex Dadgar
fac2567521
Update API and JSON Job Documentation
...
This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
2017-07-25 17:18:15 -07:00
Michael Schurter
2aab3b5dc1
Explain change in default advertise behavior
2017-07-25 17:15:39 -07:00
Michael Schurter
07436d4b03
Merge pull request #2898 from hashicorp/d-config-tasks-env
...
Mention templates & env vars in configuring tasks
2017-07-25 16:54:55 -07:00
Michael Schurter
ca5272dece
Mention node attrs
2017-07-25 16:53:10 -07:00
Michael Schurter
b1c65ca390
Prevent using env templates with signals
2017-07-25 16:34:41 -07:00
Alex Dadgar
9c655e1208
Validate that min_healthy_time < healthy_deadline
...
This PR adds a validation check to the update stanza to ensure that the
min_healthy_time is feasible.
2017-07-25 16:30:53 -07:00
Michael Schurter
9099371a42
Mention restart
2017-07-25 16:26:42 -07:00
Alex Dadgar
5e98c3ce95
Expose FSM errors into deployment watcher and API
...
This PR exposes errors returned by the FSM to the deployment watcher and
thus the API. It also adds an error to handle the case of promoting a
deployment that has no eligible canaries.
2017-07-25 16:23:22 -07:00
Michael Schurter
1aaff0849c
Merge pull request #2894 from hashicorp/b-2891-consul-shutdown-race
...
Synchronously deregister agent on shutdown
2017-07-25 16:22:46 -07:00
Michael Schurter
8f19146f41
Merge pull request #2905 from hashicorp/remove-testing-dep
...
Use go-testing-interface instead of testing
2017-07-25 16:06:51 -07:00
Alex Dadgar
e15e9ee976
Custom help output
2017-07-25 15:42:22 -07:00
Michael Schurter
5f1f91a46c
Use go-testing-interface instead of testing
...
This drops the testings stdlib pkg from our dependencies. Saves a
whopping 46kb on our binary (was really hoping for more of a win there),
but also avoids potential ugliness with how testing sets flags.
2017-07-25 15:35:19 -07:00
Michael Schurter
6d45210b9a
Merge pull request #2895 from hashicorp/d-env-example
...
Use better example for env template
2017-07-25 14:58:19 -07:00
Alex Dadgar
efd0ec5608
Merge pull request #2901 from hashicorp/sethvargo/subdir
...
Use a subdirectory for operator commands
2017-07-25 13:18:04 -07:00
Seth Vargo
0c5e980a8b
Add redirects
2017-07-25 16:00:34 -04:00
Seth Vargo
a293b81b2b
Use a subdirectory for operator commands
2017-07-25 15:55:35 -04:00
Michael Schurter
d2f8fdcad5
Fix comment
2017-07-25 12:13:05 -07:00
Michael Schurter
3e6231842d
Forgot to setcmdenv
...
This would leak a consul agent
2017-07-25 12:09:57 -07:00
Alex Dadgar
b1e83e4803
Merge pull request #2900 from hashicorp/b-multi-tg
...
Improve multiple group handling in a deployment
2017-07-25 11:33:21 -07:00
Alex Dadgar
492239d3ee
Improve multiple group handling in a deployment
...
This PR resolves a bug in which a job with multiple task groups would
create new deployment objects each, thus clearing out all other task
groups deployment state.
2017-07-25 11:27:47 -07:00
Michael Schurter
da6a5ddaf0
Mention env templates in nomad init
2017-07-25 10:28:50 -07:00
Michael Schurter
6627d28bff
Mention templates & env vars in configuring tasks
2017-07-25 10:13:28 -07:00
Michael Schurter
46a17c39bf
Write secrets to secrets!
2017-07-25 09:51:11 -07:00
Michael Schurter
4b83eba599
Use seen more conservatively
2017-07-24 16:48:40 -07:00
Michael Schurter
19dd0be377
Use better example for env template
2017-07-24 16:40:39 -07:00
Michael Schurter
b01dd31f26
Don't attempt to restore tasks that never sync'd
2017-07-24 15:58:46 -07:00
Michael Schurter
24e5e2faa0
Advertise block shouldn't be needed in 0.6
2017-07-24 15:58:28 -07:00
Michael Schurter
cdf138eb27
Always increment failures...
...
...as it's used in calculating the backoff
2017-07-24 15:37:53 -07:00
Seth Vargo
4c0c642c1c
Merge pull request #2880 from hashicorp/sethvargo/updatesite
...
Update website branding
2017-07-24 17:56:06 -04:00
Seth Vargo
34b5e8945c
More changes
2017-07-24 15:14:02 -04:00