Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00
Michael Schurter
566f2ee061
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
72028fd5b3
build: Install Go in Vagrant from official release
2017-09-08 19:46:07 -05:00
James Nugent
094fa23df6
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
53295748aa
Update Vagrantfile
2017-09-03 18:03:39 -07:00
Alex Dadgar
9cef4dad18
Update to Go 1.9
2017-09-01 16:42:09 -07:00
Armon Dadgar
16a18e9db6
Fix Golang update in Vagrant provisioner
2017-08-23 19:55:39 -07:00
Michael Schurter
37b09f3901
Bump Go to 1.8.3 in Vagrantfile
2017-06-05 10:23:36 -07:00
Michael Schurter
a2a8af471a
go-winio now requires cgo which requires mingw
2017-05-03 17:09:12 -07:00
Michael Schurter
a7e913ee78
Use Go 1.8.1 in Vagrant
2017-04-25 09:24:53 -07:00
Michael Schurter
2b22b86e61
Fix Go 1.8 in Vagrantfile
2017-02-23 13:27:18 -08:00
Alex Dadgar
bbf1859794
Bump go
2017-02-17 10:22:30 -08:00
Michael Schurter
f2cf2b1df1
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
2c36d3de9c
Fix vagrant on vbox
2017-01-31 13:36:48 -08:00
Alex Dadgar
1fc30de78c
Fix vagrant ssh
2017-01-31 11:01:47 -08:00
Alex Dadgar
2d014b1e87
Change box
2017-01-27 16:23:43 -08:00
Michael Schurter
a0d792ea77
Fix `vagrant provision` with a bunch of guards
2017-01-27 16:08:21 -08:00
Michael Schurter
d2bc719a26
Bump rkt version; simplify script
2017-01-27 16:08:21 -08:00
Michael Schurter
5cd710bd8e
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
6a085080bc
Split out massive list of cross compile deps+cmds
2017-01-27 16:08:21 -08:00
Michael Schurter
e620336a0c
Install crosscompile dep to build arm in Vagrant
2017-01-27 16:08:21 -08:00
Michael Schurter
a27306ed39
Put the right hostname in /etc/hosts
2017-01-12 16:57:09 -08:00
Michael Schurter
9154f8a8ce
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
a0c011ac3e
Updated version of Go
2016-12-06 15:15:52 -08:00
root
8c1bdc0342
Release v0.5.0-rc2
2016-11-10 19:08:15 +00:00
Diptanu Choudhury
9d3cdded9a
Merge pull request #1699 from hashicorp/f-lxc-driver
...
LXC Support
2016-10-25 15:17:44 -07:00
Michael Schurter
0cd3763a10
Update rkt script and test rkt in travis
2016-10-25 09:46:49 -07:00
Diptanu Choudhury
77b146f167
Adding lxc dependencies in Vagrant
2016-10-12 17:18:58 -07:00
Diptanu Choudhury
bda4d75b2e
Updating go version to 1.7.1
2016-09-09 22:24:19 -07:00
Alex Dadgar
2f6f840453
install scripts
2016-08-17 16:25:38 -07:00
Alex Dadgar
3fe013695d
Update vagrant
2016-08-17 16:24:30 -07:00
vagrant
89bdd77721
Release v0.4.1
2016-08-17 22:56:04 +00:00
Diptanu Choudhury
f24e8f351e
Updating go version in Vagrant
2016-08-16 15:33:24 -07:00
Sean Chittenden
aa8d24074f
Bump the CPU count on the primary box to `hw.ncpu-1` on Darwin
2016-06-14 11:27:42 -07:00
Sean Chittenden
f550a59eca
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
49d90c907c
Updated the consul in Vagrant env
2016-04-09 21:16:52 -07:00
Alex Dadgar
836cfe5583
Fix rkt install in vagrant
2016-03-23 12:58:38 -07:00
Abhishek Chanda
89a6d81bdd
Setup rkt in vagrant
2016-03-20 15:37:20 -07:00
Alex Dadgar
f84dc20528
Update vagrant to Go 1.6
2016-02-17 15:10:28 -08:00
Alex Dadgar
3192c332f1
Remove updatedeps from vagrant file
2016-02-15 17:38:38 -08:00
Diptanu Choudhury
c85e4c7753
Installing gox while setting up the VM
2016-02-06 18:15:16 -08:00
Diptanu Choudhury
d4129b9884
Added unzip to the image
2015-12-17 16:45:17 -08:00
Diptanu Choudhury
aec9c44c09
Added some more deps into the vagrant box
2015-12-17 13:50:59 -08:00
Diptanu Choudhury
c3f1cf0c57
Moving to Consul 0.6
2015-12-14 15:07:24 -08:00
Diptanu Choudhury
c167166ce9
Using Go 1.5.2
2015-12-12 09:08:24 -08:00
Alex Dadgar
d616e11223
Add consul to Vagrantbox
2015-11-25 11:57:54 -08:00
Chris Bednarski
c20f17de1b
Restart docker after upgrades
2015-11-06 12:28:27 -08:00
Chris Bednarski
201e9a0ff3
Double the ram, double the fun
2015-10-28 13:53:04 -07:00
Chris Bednarski
f7253e2211
Use 2 cpus and 1024 ram by default
2015-10-08 14:24:47 -07:00
Chris Bednarski
0a4500a7e6
Add more CPUs to the vagrant VM, disable gui, and make ram consistent across providers
2015-10-08 14:21:02 -07:00