Commit graph

135 commits

Author SHA1 Message Date
Mahmood Ali 648bbd9ca2 update nomad to 0.12.1 2020-07-24 11:53:44 -04:00
James Rasell 446cf104df demo: update Nomad and Consul install versions in Vagrant demo. 2020-07-24 11:53:44 -04:00
Seth Hoenig 97bd3e1a17 demos: remove externalized demo files
These have been moved into github.com/hashicorp/nomad-connect-demos
2020-07-02 11:30:59 -05:00
Seth Hoenig a1c198b3e0
Merge pull request #7781 from hashicorp/demo-countdash-docker
demo: create build scripts for our countdash demo
2020-05-07 08:34:20 -06:00
Charlie Voiselle e5ebce0e6b
Merge pull request #7792 from angrycub/f-disable_dangling_container_gc
Disable dangling container GC for demo
2020-04-24 23:12:16 -04:00
Seth Hoenig f2ef576510 demo: create a demo service for grpc healthchecks
Examples for HTTP based task-group service healthchecks are
covered by the `countdash` demo, but gRPC checks currently
have no runnable examples.

This PR adds a trivial gRPC enabled application that provides
a Service implementing the standard gRPC healthcheck interface.
2020-04-24 10:59:50 -06:00
Charlie Voiselle 14b5a00932
Disable dangling container GC for demo 2020-04-23 11:51:03 -04:00
Seth Hoenig 334d2abb20 demo: create build scripts for our countdash demo
We use the education team's "countdash" demo in many places
to showcase Nomad's Consul Connect integration. This change
adds a Dockerfile for each of `counter-dashboard` and
`counter-api` that can be used to build artifacts to publish
to Nomad's Docker Hub organization.

The recent "0.0.3" release of the `countdash` demo includes
changes we want in order to demo task group service checks.
2020-04-22 12:30:26 -06:00
Jeffrey 'jf' Lim 35418efb60
demo/vagrant/Vagrantfile: Update Nomad version (0.11.0) (#7579) 2020-04-20 09:29:12 -04:00
Yoan Blanc 62af14196a
ci: bump consul and vault
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 11:01:55 +01:00
Michael Schurter 02af3cd33a docs: update to Nomad 0.10.4 in Vagrantfile 2020-02-19 12:55:59 -08:00
Pavel Pulec 79813c639b fix port forwarding of TCP/4646 2020-02-15 22:17:08 +01:00
Michael Schurter 60e1ae5012 docs: bump 0.10.2 -> 0.10.3 2020-01-30 15:22:59 -08:00
Michael Schurter 3ae3d43ec6 docs: release 0.10.2 and 0.9.7 2019-12-04 14:18:17 -08:00
Ruslan Stelmachenko 62fe9df044
Fix demo vagrant provision hung when libssl asks for confirmation
The provision shell script tries to install libssl1.1 package as dependency of ca-certificates package.

The installing of libssl requires to restart some services, and it asks for confirmation of this.
But there are no interactive session at this stage, so Vagrant provisioning just hungs.

This commit add a `libraries/restart-without-asking boolean true` setting before installing libssl,
so it doesn't ask confirmation anymore and the provisioning works again.
2019-11-24 02:35:09 +02:00
Michael Schurter 05e9930e2a docs: bump website to Nomad 0.10.1 2019-11-04 12:01:43 -08:00
Michael Schurter fdd067de58 docs: bump to Nomad 0.10.0 2019-10-22 07:35:37 -07:00
Omar Khawaja 9f8cc217e6
update Nomad and Consul versions along with Ubuntu vagrant box version (#6451) 2019-10-09 12:30:23 -04:00
Veraghin 169b170835
Update GNUmakefile
Cert auth generation echo fixed
2019-09-17 22:05:53 +01:00
Danielle Lancashire d454dab39b
chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
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