James Rasell
17fd1a2e35
dev: make cni, consul, dev, docker, and vault scripts Lima compat. ( #16689 )
2023-03-28 16:21:14 +01:00
James Rasell
a18e480a57
dev: modify Go install to support arch64 and non-vagrant machines. ( #16651 )
2023-03-28 14:18:48 +01:00
James Rasell
28c142c1a6
dev: account for non-vagrant machines on Linux config priv. ( #16657 )
2023-03-27 17:13:18 +01:00
Tim Gross
e261af9d0c
tools: update virtualbox networking configuration ( #11561 )
...
As of VirtualBox 6.1.28, host-only networks are restricted to
`192.168.56.0/21` by default, so spinning up the Vagrant boxes with
secondary networks fail with an error `E_ACCESSDENIED`.
Update the IP configuration of the Vagrant boxes to fall within the
allowed range so that we don't need to ask developers from the
community to make VirtualBox configuration updates outside of their
normal Vagrant use.
2021-11-24 10:45:58 -05:00
James Rasell
e4f703b401
vagrantfile: expose Nomad and Consul APIs to local machine.
2021-10-27 12:15:37 +02:00
Kris Hicks
511c2e9db2
proto: Switch to using buf ( #9308 )
...
This replaces all usage of `protoc` with `buf`. See `tools/buf/README.md` for more.
2020-11-17 07:01:48 -08:00
Mahmood Ali
a314744210
only set args.Eval after all servers upgrade
...
We set the Eval field on job (de-)registration only after all servers
get upgraded, to avoid dealing with duplicate evals.
2020-07-15 11:10:57 -04:00
Mahmood Ali
a8d6950007
Remove rkt as a built-in driver
...
Rkt has been archived and is no longer an active project:
* https://github.com/rkt/rkt
* https://github.com/rkt/rkt/issues/4024
The rkt driver will continue to live as an external plugin.
2020-02-26 22:16:41 -05:00
Mahmood Ali
12dc311659
vagrant: disable audio interference
...
Avoid Vagrant/virtualbox interferring with host audio when the VM boots.
2020-02-03 11:26:41 -05:00
Robert James Hernandez
f7588df7df
Bumping freebsd vagrant to 11.3-STABLE ( #6500 )
2019-11-06 08:58:34 -05:00
Tim Gross
c6c294aa47
dev: expose Consul port 8500 in linux-ui Vagrantfile ( #6292 )
2019-09-11 14:53:30 -04:00
Mahmood Ali
a39f87bba8
vagrant: Export services without port mapping
...
By having an ip address by default, developers can access any service on
the Vagrant linux box without needing to setup port maps.
2019-09-06 14:27:26 -04:00
Tim Gross
6e987f8455
add CNI plugins to Vagrant install
2019-09-05 14:20:17 -04:00
Mahmood Ali
67b6758bed
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
8d07f59740
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
0dec6fa13c
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
bd55ff8f30
renamed vagrant script to accurately reflect non-privileged requirement
2018-10-05 10:07:05 -04:00
Chris Baker
6c480ac408
vagrant: modified UI provisioning script to run as non-privileged
2018-10-04 19:06:35 -04:00
Alex Dadgar
7f5c37de75
Remove old protoc installer
2018-08-01 13:51:45 -07:00
Alex Dadgar
95ccfd6ae1
Add protoc to project
2018-08-01 13:50:08 -07:00
Chelsea Holland Komlo
24400bca8c
bootstrap vagrant development environment with protoc
2018-07-31 15:26:57 -04:00
Alex Dadgar
6c07306b61
Seperate ui vagrant
2018-06-11 16:07:06 -07:00
Peter Dave Hello
5b7a5cc73a
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
299e58d35b
fixing box timeout issue waiting for interfaces
2018-02-14 21:30:11 -08:00
Michael Schurter
2c107e08f1
Fix whitespace
2017-11-01 11:14:25 -07:00
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