Commit Graph

7974 Commits

Author SHA1 Message Date
Alex Dadgar
fd06341d8d Fix autocmpleting global flags
This PR vendors a change to the CLI package that allows autocompleting
global flags at the top level command.
2017-07-28 09:44:48 -07:00
Michael Schurter
67705efb8f Merge pull request #2917 from hashicorp/b-grammar
Add word
2017-07-27 09:44:53 -07:00
Michael Schurter
d8625f8c8b Merge pull request #2916 from hashicorp/b-fix-typo
Fix typo
2017-07-27 09:43:18 -07:00
Jon Benson
4b7db544e9 Add word 2017-07-26 19:33:03 -07:00
Jon Benson
c3039d75b8 Fix typo 2017-07-26 19:24:23 -07:00
Seth Vargo
e1ef29a28d Better link output 2017-07-26 18:49:56 -04:00
Seth Vargo
30823a69cc Fix broken links 2017-07-26 18:43:51 -04:00
Seth Vargo
ad3038fde2 Fix deploy script 2017-07-26 18:38:29 -04:00
Rob Genova
a76d021ec1 Merge pull request #2914 from hashicorp/f-terraform-update
Update scripts and AMI to reflect Nomad 0.6
2017-07-26 18:36:57 -04:00
Rob Genova
6a367d9f44 Update scripts and AMI to reflect Nomad 0.6 2017-07-26 22:34:34 +00:00
Alex Dadgar
3d243c0435 Update demo vagrant 2017-07-26 15:22:06 -07:00
Alex Dadgar
902d759a2a Release v0.6.0 2017-07-26 15:16:21 -07:00
Alex Dadgar
a76fd8c432 release notes 2017-07-26 15:15:44 -07:00
Alex Dadgar
139a96aee3 bump version 2017-07-26 15:07:34 -07:00
Alex Dadgar
6194ac4073 Update operating a job, upgrade guide (#2913)
* Update operating a job, upgrade guide

This PR updates the guide for updating a job to reflect the changes in
Nomad 0.6

* Feedback changes

* Feedback

* Feedback
2017-07-26 15:06:17 -07:00
Alex Dadgar
b57b9af467 Fix vet issue 2017-07-26 14:53:08 -07:00
Kate Taggart
675caa09ce Getting Started guide updates for 0.6.0 (#2909)
* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* further information in job status added in 0.6

* update  output when changing redis version

* make new date consistent in

* add Latest Deployment and Deployed sections to  output

* small changes in status values so that things the user should see as thesame, are the same in the example (e.g. Node ID should be the same in all places we list it in the example)

* Add new commands for 0.6

* update version in documnetation for 0.6

* more information in example.nomad

* 0.6 additional information for viewing status of a job

* 0.6 status for alloc-status

* changes with 0.6 in modifying a job

* status is healthy when consul is running

* further information in job status added in 0.6

* evaluation  status for deployment in 0.6

* updating client demo config to match website

* update output of status for cluster

* update  output when changing redis version

* update terminal output of adding more redis instances.

* small update so id numbers are consistent in example

* update ouput for , also stitch up ids from previous lines to match

* add  to output when starting server and clients

* add  to  output

* remove text showing large parts of example.nomad file

* Small fixes to stopping and updating a job
2017-07-26 14:24:50 -07:00
Michael Schurter
b064d3d367 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
99f9762787 Test for template envvar validation 2017-07-25 20:27:18 -07:00
Alex Dadgar
c0ce26366b 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
9415ef5b47 Use LookupPath to add the exe extension 2017-07-25 17:42:36 -07:00
Alex Dadgar
8c9234e319 Make test Vault pick random ports 2017-07-25 17:40:59 -07:00
Alex Dadgar
bd5959a4bb parallel nomad tests 2017-07-25 17:39:36 -07:00
Alex Dadgar
843b803b81 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
c38c964d3b Fix indentation 2017-07-25 17:37:09 -07:00
Michael Schurter
4901816810 Missing period 2017-07-25 17:37:09 -07:00
Alex Dadgar
487e1eafee 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
278195e6dc validate 2017-07-25 17:37:09 -07:00
Alex Dadgar
92991771f2 inspect 2017-07-25 17:37:09 -07:00
Alex Dadgar
82e128f038 Fix eval-status bug 2017-07-25 17:37:09 -07:00
Alex Dadgar
fcc4655b6f alloc-status 2017-07-25 17:37:09 -07:00
Alex Dadgar
f977c7e7f8 Status command 2017-07-25 17:34:43 -07:00
Alex Dadgar
c1e333074b 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
6986e54f92 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
cf629764c6 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
a6a0e7f7a1 Merge pull request #2911 from hashicorp/d-api
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Michael Schurter
abf3b992a1 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
58898e1426 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
0e3e79b749 Explain change in default advertise behavior 2017-07-25 17:15:39 -07:00
Michael Schurter
93c2696df5 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
df6172a888 Mention node attrs 2017-07-25 16:53:10 -07:00
Michael Schurter
e76d1e56ec Prevent using env templates with signals 2017-07-25 16:34:41 -07:00
Alex Dadgar
08b31d4545 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
58d5cd140d Mention restart 2017-07-25 16:26:42 -07:00
Alex Dadgar
d46f7da36c 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
fe27034044 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
f0c713f4fa 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
9c610a8862 Custom help output 2017-07-25 15:42:22 -07:00
Michael Schurter
55bd0c8df7 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
887c3e0e24 Merge pull request #2895 from hashicorp/d-env-example
Use better example for env template
2017-07-25 14:58:19 -07:00