Commit Graph

161 Commits

Author SHA1 Message Date
Tim Gross
247e20e10b scripts: fix interpreter for bash (#12549)
Many of our scripts have a non-portable interpreter line for bash and
use bash-specific variables like `BASH_SOURCE`. Update the interpreter
line to be portable between various Linuxes and macOS without
complaint from posix shell users.
2022-04-12 10:08:21 -04:00
Jonathan Tey
65e41fdb54 demo: add missing file for Kadalu CSI demo (#12336) 2022-03-22 09:50:50 -04:00
Tim Gross
02d26ceb1a CSI: set plugin CSI_ENDPOINT env var only if unset by user (#12257)
* Use unix:// prefix for CSI_ENDPOINT variable by default
* Some plugins have strict validation over the format of the
  `CSI_ENDPOINT` variable, and unfortunately not all plugins
  agree. Allow the user to override the `CSI_ENDPOINT` to workaround
  those cases.
* Update all demos and tests with CSI_ENDPOINT
2022-03-21 11:48:47 -04:00
Leela Venkaiah G
3eb852fcfe [demo] Kadalu CSI support for Nomad (#11207) 2021-10-06 15:29:15 -04:00
Michael Schurter
ff2f48f8c1 Merge pull request #10992 from ggriffiths/px_csi_driver_example
Add Portworx CSI Driver example
2021-09-29 10:53:08 -07:00
Michael Schurter
04a3f94692 docs: add @ggriffiths as author 2021-09-29 10:50:51 -07:00
Michael Schurter
de89aca494 docs: note demos/csi is unsupported
Also start tagging authors to ease support by third parties.
2021-09-28 11:11:19 -07:00
Derek Strickland
d641bbca28 Update terraform configuration for demo/csi/digitalocean (#11093)
* Update configuration for csi/digitalocean demo

* hclfmt DigitalOcean CSI demo files

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2021-08-29 06:15:34 -04:00
Grant Griffiths
71287e2514 Add -k consul dependency back in
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-08-11 09:03:25 -07:00
Michael Schurter
38167cdcd1 docs: add brief description to portworx readme
Also hclfmt hcl snippet.
2021-08-10 10:58:26 -07:00
Grant Griffiths
4234bdf1dd Remove install dependency on consul for simplicity
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-08-05 01:09:53 -07:00
Grant Griffiths
827fbb45b8 Add Portworx CSI Driver example
Signed-off-by: Grant Griffiths <ggriffiths@purestorage.com>
2021-08-04 06:19:08 -07:00
Seth Hoenig
bdf734fea9 demo: apply hclfmt to ceph files 2021-05-03 09:27:26 -06:00
Tim Gross
b67fda839b demo: CSI Ceph
This changeset expands on the existing demonstration we had for Ceph by
showing volume creation. It includes a demo setup for Ceph on Vagrant so that
you don't need a whole Ceph cluster to try it out.
2021-05-03 10:49:47 -04:00
Tim Gross
f217503a99 docs: CSI hostpath demo doesn't need docker.volumes.enabled 2021-04-12 10:46:02 -04:00
Drew Bailey
050067a749 hclfmt hostpath.hcl 2021-04-09 12:15:49 -04:00
Tim Gross
842d9d2aa9 CSI: demo for hostpath plugin
A demo for the CSI hostpath plugin, used primarily for development
purposes. This reproduction has been used for testing during our CSI
implementation work, and this changeset makes that public.
2021-04-09 10:46:58 -04:00
Tim Gross
ffcb501820 demo: hclfmt a jobspec 2021-03-09 14:19:14 -05:00
Sylvain Corsini
1b19cd4334 Update DigitalOcean CSI plugin demo 2021-03-09 10:42:40 -05:00
nileshcs
8a360bf95e Version update for demo Vagrant: Nomad 1.0.1, Consul 1.9.0 (#9716) 2021-01-04 13:20:59 -05:00
Tim Gross
feadd2bc58 hclfmt digitalocean demo to pass linting (#9353) 2020-11-13 14:16:15 -05:00
Tim Gross
ae314d9487 demo: CSI example for DigitalOcean block storage (#9351) 2020-11-13 12:26:04 -05:00
Ricky Grassmuck
64d0113751 Update Cinder CSI example docs (#9267) 2020-11-05 08:19:16 -05:00
Ryan Mickler
47ba285008 Provided base ceph-rbd CSI driver example (#8664) 2020-08-13 13:00:37 -04:00
Ricky Grassmuck
d26929c8c3 Add Demo for Openstack Cinder CSI Plugin Deployment (#8662) 2020-08-13 12:59:45 -04:00
Tim Gross
1cf09822ed directory for CSI examples (#8651) 2020-08-12 10:38:49 -04:00
Mahmood Ali
42262e67b5 update nomad to 0.12.1 2020-07-24 11:53:44 -04:00
James Rasell
0af79467dd demo: update Nomad and Consul install versions in Vagrant demo. 2020-07-24 11:53:44 -04:00
Seth Hoenig
70a07c41af 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
f421afcb65 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
838b16d43d 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
47dceed339 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
1de614c3cf Disable dangling container GC for demo 2020-04-23 11:51:03 -04:00
Seth Hoenig
f9034b3387 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
482804dac5 demo/vagrant/Vagrantfile: Update Nomad version (0.11.0) (#7579) 2020-04-20 09:29:12 -04:00
Yoan Blanc
600186dbac ci: bump consul and vault
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-03-15 11:01:55 +01:00
Michael Schurter
35b55b228b docs: update to Nomad 0.10.4 in Vagrantfile 2020-02-19 12:55:59 -08:00
Pavel Pulec
ad51400ac0 fix port forwarding of TCP/4646 2020-02-15 22:17:08 +01:00
Michael Schurter
7c53d0e2d7 docs: bump 0.10.2 -> 0.10.3 2020-01-30 15:22:59 -08:00
Michael Schurter
7f85f7170f docs: release 0.10.2 and 0.9.7 2019-12-04 14:18:17 -08:00
Ruslan Stelmachenko
d078883726 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
381cdb6526 docs: bump website to Nomad 0.10.1 2019-11-04 12:01:43 -08:00
Michael Schurter
f2de59241e docs: bump to Nomad 0.10.0 2019-10-22 07:35:37 -07:00
Omar Khawaja
e92e67a586 update Nomad and Consul versions along with Ubuntu vagrant box version (#6451) 2019-10-09 12:30:23 -04:00
Veraghin
ae874b9124 Update GNUmakefile
Cert auth generation echo fixed
2019-09-17 22:05:53 +01:00
Danielle Lancashire
1cd86141d9 chore: Format hcl configurations 2019-07-20 16:55:07 +02:00
Brian Cain
29d577d4d8 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
4d5593921c no need to double the work 2018-12-02 01:03:44 +03: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
Alex Dadgar
0dbf00efd2 bump vagrant version 2018-04-17 14:13:14 -07:00