Mahmood Ali
d5d6477c87
Add a Docker release scripts
...
Also tease out some dev and docker bits from Vagrant scripts to ease
sharing with Docker script
2019-03-17 10:37:36 -04:00
Robert James Hernandez
20a16348fe
Update vagrant box to freebsd 11.2 STABLE
...
Freebsd 11.1 went EOL 9/30/18:
https://lists.freebsd.org/pipermail/freebsd-announce/2018-September/001842.html
Was seeing a failure with shared object "libdl.so.1" not found which
is required for bash
2019-03-14 18:36:30 -07:00
Robert James Hernandez
c22facf3a5
Set shell to sh and networking to host dhcp
...
Set shell to sh which is present by default on freebsd. Also set
networking to host dhcp due to limitations with NFS sharing:
https://github.com/hashicorp/vagrant/issues/9063
2019-03-13 20:58:25 -07:00
Chris Baker
0ce5a020c6
renamed vagrant script to accurately reflect non-privileged requirement
2018-10-05 10:07:05 -04:00
Chris Baker
dcf5c83405
vagrant: modified UI provisioning script to run as non-privileged
2018-10-04 19:06:35 -04:00
Alex Dadgar
fc43f8b13c
Remove old protoc installer
2018-08-01 13:51:45 -07:00
Alex Dadgar
ea814c45e0
Add protoc to project
2018-08-01 13:50:08 -07:00
Chelsea Holland Komlo
cd1b453110
bootstrap vagrant development environment with protoc
2018-07-31 15:26:57 -04:00
Alex Dadgar
a9d0937e88
Seperate ui vagrant
2018-06-11 16:07:06 -07:00
Peter Dave Hello
dfc28f4813
Improve CPU core detection in Vagrantfile
...
Use single `grep` with `^` condition instead of `grep` + `cat` + `wc`
2018-04-16 15:11:20 +08:00
zane
83315e0a16
fixing box timeout issue waiting for interfaces
2018-02-14 21:30:11 -08:00
Michael Schurter
2a42210b68
Fix whitespace
2017-11-01 11:14:25 -07:00
Alex Dadgar
ddc2efa4ac
sync
2017-09-19 10:08:23 -05:00
Michael Schurter
7e3d975b71
Fix permissions of $GOPATH in Vagrantfile
...
Technically just the true->false is needed. The `chown -R` was a first
attempt that didn't fix the bug, but it's a nice simplification.
2017-09-11 22:38:10 -07:00
James Nugent
9ec82bc545
build: Install Go in Vagrant from official release
2017-09-08 19:46:07 -05:00
James Nugent
f8ff0463b0
build: Rework Vagrant to support multiple OS boxes
...
This commit reworks the Vagrantfile for Nomad in order to support
straightforward testing on more than one operating system, whilst
retaining the ability to stand up a test cluster running Ubuntu.
The following changes are made:
- Scripts have been extracted from the Vagrantfile into their own shell
script files, in order that editors lint them.
- All scripts have been edited to lint with no warnings or errors for
their respective shells.
- Scripts are named according to the operating system and privilege
level which they run. We prefer to run a whole shell script as root
versus prefixing (essentially) every command with `sudo` or an
equivalent.
- The Linux development box has been separated from the test cluster,
removing some of the more gnarly (and less portable) logic. The Linux
development box is still primary and autostarts.
- A FreeBSD target has been added. The base box works for both
Virtualbox and VMWare Fusion.
- A target is added to the GNUmakefile to stand up a test cluster, using
the default provider, or overriding the provider by setting the PROVIDER
variable in make:
- `make testcluster`
- `make testcluster PROVIDER=vmware_fusion`
- Machines in the test cluster have Avahi configured for zeroconf
discovery. Each machine can ping each other machine at `hostname.local`
- for example `nomad-server02.local`, `nomad-client03.local`.
2017-09-08 19:45:38 -05:00
Alex Dadgar
5506431924
Update Vagrantfile
2017-09-03 18:03:39 -07:00
Alex Dadgar
66195d2be1
Update to Go 1.9
2017-09-01 16:42:09 -07:00
Armon Dadgar
46e65475d7
Fix Golang update in Vagrant provisioner
2017-08-23 19:55:39 -07:00
Michael Schurter
b5f687df1d
Bump Go to 1.8.3 in Vagrantfile
2017-06-05 10:23:36 -07:00
Michael Schurter
234d734745
go-winio now requires cgo which requires mingw
2017-05-03 17:09:12 -07:00
Michael Schurter
f428b659cf
Use Go 1.8.1 in Vagrant
2017-04-25 09:24:53 -07:00
Michael Schurter
efc4108a9e
Fix Go 1.8 in Vagrantfile
2017-02-23 13:27:18 -08:00
Alex Dadgar
f812cbc0c6
Bump go
2017-02-17 10:22:30 -08:00
Michael Schurter
5bb805cc5e
Fix 32bit arm build
...
Had to use the hack from https://github.com/golang/go/issues/12443
2017-02-09 11:22:17 -08:00
Michael Schurter
0d3d712da7
Fix vagrant on vbox
2017-01-31 13:36:48 -08:00
Alex Dadgar
8e2b0a8d26
Fix vagrant ssh
2017-01-31 11:01:47 -08:00
Alex Dadgar
7609cadf4d
Change box
2017-01-27 16:23:43 -08:00
Michael Schurter
cb5e23d7b4
Fix vagrant provision with a bunch of guards
2017-01-27 16:08:21 -08:00
Michael Schurter
917c48a8e5
Bump rkt version; simplify script
2017-01-27 16:08:21 -08:00
Michael Schurter
afbf63152b
Upgrade vagrant/release to Ubuntu 16.04 / Go 1.7.5
...
Switch back to soft-float arm32 as armhf chips are backward compatible.
2017-01-27 16:08:21 -08:00
Michael Schurter
d84660a047
Split out massive list of cross compile deps+cmds
2017-01-27 16:08:21 -08:00
Michael Schurter
b9da18efc8
Install crosscompile dep to build arm in Vagrant
2017-01-27 16:08:21 -08:00
Michael Schurter
f849e4309d
Put the right hostname in /etc/hosts
2017-01-12 16:57:09 -08:00
Michael Schurter
dc3a013bec
Add local hostname resolution to Vagrantfile
...
Makes running agents in vagrant without using `-dev` work.
2017-01-12 11:53:24 -08:00
Diptanu Choudhury
024a0d3fad
Updated version of Go
2016-12-06 15:15:52 -08:00
root
4102eba574
Release v0.5.0-rc2
2016-11-10 19:08:15 +00:00
Diptanu Choudhury
855fe5f75a
Merge pull request #1699 from hashicorp/f-lxc-driver
...
LXC Support
2016-10-25 15:17:44 -07:00
Michael Schurter
3d828aad9c
Update rkt script and test rkt in travis
2016-10-25 09:46:49 -07:00
Diptanu Choudhury
69b309685c
Adding lxc dependencies in Vagrant
2016-10-12 17:18:58 -07:00
Diptanu Choudhury
8aea53c928
Updating go version to 1.7.1
2016-09-09 22:24:19 -07:00
Alex Dadgar
6d9e05b45c
install scripts
2016-08-17 16:25:38 -07:00
Alex Dadgar
38acb487da
Update vagrant
2016-08-17 16:24:30 -07:00
vagrant
6d1b36b5ba
Release v0.4.1
2016-08-17 22:56:04 +00:00
Diptanu Choudhury
950a5abfa8
Updating go version in Vagrant
2016-08-16 15:33:24 -07:00
Sean Chittenden
8fb31f8326
Bump the CPU count on the primary box to hw.ncpu-1 on Darwin
2016-06-14 11:27:42 -07:00
Sean Chittenden
65d7f1e399
Update Vagrantfile to support multiple nodes. Bump Go to 1.6.2.
...
`vagrant up` just works and only one VM is spun-up by default, however
there are up to 5x VMs available for cluster testing. `nomad-server%02d`
and `nomad-client%02d`.
2016-05-05 11:07:02 -07:00
Diptanu Choudhury
8e9503c426
Updated the consul in Vagrant env
2016-04-09 21:16:52 -07:00
Alex Dadgar
048fa5acc0
Fix rkt install in vagrant
2016-03-23 12:58:38 -07:00
Abhishek Chanda
e9872a43e0
Setup rkt in vagrant
2016-03-20 15:37:20 -07:00