Commit graph

115 commits

Author SHA1 Message Date
Brian Cain 5d129e1368
Fixup mixed tabs in script for Vagrantfile demo
This commit replaces a hard tab with two spaces to match the intendation
of the rest of the defined script
2019-03-26 15:23:38 -07:00
githubfoam b4b79ed96a no need to double the work 2018-12-02 01:03:44 +03: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
Alex Dadgar f7a450536e bump vagrant version 2018-04-17 14:13:14 -07:00
Peter Dave Hello 3798b97935 Use CONSUL_VERSION variable in demo Vagrantfile 2018-04-17 13:51:30 +08:00
Peter Dave Hello 180a59093c Fix consul download url in Vagrant demo
This issue was introduced in 07cbe23b8c5bc23a4290a577909f1731de81dc7c

```
$ curl -I https://releases.hashicorp.com/consul/1.0.0/consul_1.0.7_linux_amd64.zip
curl: (22) The requested URL returned error: 403 Forbidden

$ curl -I https://releases.hashicorp.com/consul/1.0.7/consul_1.0.7_linux_amd64.zip
HTTP/1.1 200 OK
Cache-Control: max-age=31536000, stale-white-revalidate=86400,
stale-if-error=604800, public
Content-Disposition: attachment
Last-Modified: Fri, 13 Apr 2018 17:21:08 GMT
ETag: "c5ed9baed01b2b3e52a7ecb9850cecc6"
Content-Type: application/zip
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: sameorigin
Content-Length: 12317246
Accept-Ranges: bytes
Date: Mon, 16 Apr 2018 07:04:47 GMT
Connection: keep-alive
```
2018-04-16 15:04:55 +08:00
Alex Dadgar 315564ae94 Bump versions 2018-04-13 16:16:16 -07:00
Michael Schurter 7dcea6a37f demo: give agents unique names
Give demo agents unique names to improve `nomad node status` output.
Since the agents default to the hostname, they all had the same name
whether using the root or demo Vagrantfiles.
2018-03-27 14:29:53 -07:00
Michael Schurter 1cc4759025 Add demo TLS certificates and configs
As well as a brief readme and makefile for generating the certificates.
2018-01-09 10:14:42 -08:00
Michael Schurter 7cc8a4825f Update site for 0.7.0 2017-11-01 11:25:34 -07:00
Alex Dadgar 4173834231 Enable more linters 2017-09-26 15:26:33 -07:00
Anubhav Mishra 3167a0110a update consul version to 0.9.3 2017-09-23 20:38:32 -07:00
Alex Dadgar d4be9b22d4 bump getting started vagrant 2017-09-11 16:46:54 -07:00
Chelsea Holland Komlo 1867ab3b82 automatically install autocomplete 2017-08-25 23:38:24 +00:00
Michael Schurter 51c6aa1872 Oops! Forgot demo/vagrant/cfssl.json file 2017-08-11 20:57:59 -07:00
Michael Schurter 930dc9ef38 Lots of fixes from @sethvargo
* hclfmt the world
  * 2 space indent
  * make every example well formed with stanzas and comments
* jsonfmt too
* mdfmt manually
  * _ instead of *
  * no [links][], only [links][links]
* ordered lists instead of bullets when possible
* lots of wording fixes
* de-contractionization
* add 127.0.0.1 to SANs
* -1 on intentional errors
* -1 on first person
2017-08-01 15:40:36 -07:00
Michael Schurter a11244ac62 Switch to cfssl and get everything working 2017-07-27 14:47:43 -07:00
Michael Schurter 36ec2793b6 WIP tls guide 2017-07-26 17:25:28 -07:00
Alex Dadgar 5e1b52ba68 Update demo vagrant 2017-07-26 15:22:06 -07:00
Kate Taggart 0f92cf9058 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 24e5e2faa0 Advertise block shouldn't be needed in 0.6 2017-07-24 15:58:28 -07:00
Michael Schurter 0192fb7a4c Remove synced folder from demo vagrant
Demo vagrant isn't intended to be used from a cloned repo, so this was
syncing random host folders which is a bit sketchy.
2017-07-13 11:47:19 -07:00
Michael Schurter caaf4adbf2 Don't require cloned repo for demo vagrant
Also update how Docker installed to match the latest upstream
instructions.
2017-07-11 08:00:46 -07:00
Michael Schurter a296a24215 Start consul in getting started vagrant
Sneak a version bump to consul in as well
2017-07-03 16:45:13 -07:00
Michael Schurter 6e7cc3964e Merge pull request #2709 from hashicorp/f-advertise-docker-ips
Advertise driver-specific addresses
2017-07-03 14:04:12 -07:00
Michael Schurter e81252ba45 Default no_host_uuid to true instead of false
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
Michael Schurter 8d677bc6b9 Fix lxc tests 2017-06-21 17:19:08 -07:00
Ben e801af74cf Make example clients generate random HostIDs
The tutorial has you make two clients on the same Vagrant box, so they
end up with the same secret ID.

Fixes #2661.
2017-05-21 19:20:32 -04:00
Alex Dadgar cd7538dc44 Fix readme 2017-05-17 12:57:38 -04:00
Alex Dadgar e00f9c9413 Restore state + upgrade path 2017-05-02 18:21:49 -07:00
Miguel Gagliardo bf1ab0a321 Bumping up NOMAD version to 0.5.6 and adding version as ENV variable 2017-04-25 18:02:33 -03:00
Alex Dadgar 3d978e1e13 remove second client1 2017-03-11 17:25:03 -08:00
Alex Dadgar 6910678c21 Allow random UUID 2017-02-27 13:42:37 -08:00
Michael Schurter 4cd173c1bb Bump website + demo to 0.5.4 2017-01-31 17:36:36 -08:00
Michael Schurter 51dc39dae9 Upgrade demo vm to xenial/16.04 as well 2017-01-27 16:08:21 -08:00
Alex Dadgar 567817a099 vagrant version 2017-01-03 11:36:55 -08:00
Michael Schurter c2287adeee Fix demo vagrant server by making hostname resolve 2016-12-15 16:25:58 -08:00
Alex Dadgar f94c8a3588 Update version 2016-12-12 13:56:34 -08:00
Kerim Satirli 981f5fb4d1 bumps Nomad from 0.4.1 to 0.5.0
Noticed that the `Vagrantfile` still references `0.4.1` of Nomad.

Verified this still works by testing it with all steps listed in the [Getting-Started](https://www.nomadproject.io/intro/getting-started/jobs.html) guide.
2016-12-12 11:45:03 +01:00
Alex Dadgar 8a641a8672 Make container exist errors non-retriable
This change makes it so that the task runner does not retry container
exists errors and also a sleep is added on the local retry.
2016-11-25 19:22:58 -08:00
Alex Dadgar 03fde26656 Fix inplace update for pre secret node 2016-10-26 22:05:44 -07:00
Alex Dadgar 751aa114bf Fix Vault parsing of booleans 2016-10-10 18:04:39 -07:00
Lars Cromley 7f5c19429f Updating vagrant file for v0.4.1, logs section of tutorial references 0.4.1 2016-08-18 17:58:14 -04:00
Njal Karevoll 6a2f35a205 Update Nomad version used in Vagrant demo to 0.4.0 2016-07-01 14:48:57 +02:00
Alex Dadgar 9f5d4e11fe remove bind_addr from test config 2016-06-17 15:05:03 -07:00
Alex Dadgar 9406739ba8 remove resolving client rpc addr 2016-06-17 14:55:37 -07:00
Alex Dadgar cf99fc3173 Use Status.Peers instead of Status.Ping 2016-06-15 12:00:20 -07:00
Alex Dadgar 61fcebf296 initial refactor and cleanup 2016-06-12 11:19:45 -07:00
Alex Dadgar 4685275fca version bump 2016-04-22 16:25:15 -07:00
Alex Dadgar 4bc865e47f demo client configs 2016-03-16 15:42:27 -07:00