-
Notifications
You must be signed in to change notification settings - Fork 495
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: CrazyMax <[email protected]>
- Loading branch information
Showing
4 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.box = "generic/freebsd14" | ||
config.vm.boot_timeout = 900 | ||
config.vm.synced_folder ".", "/vagrant", type: "rsync" | ||
config.ssh.keep_alive = true | ||
|
||
config.vm.provision "init", type: "shell", run: "once" do |sh| | ||
sh.inline = <<~SHELL | ||
pkg bootstrap | ||
pkg install -y go123 git | ||
ln -s /usr/local/bin/go123 /usr/local/bin/go | ||
go install gotest.tools/gotestsum@#{ENV['GOTESTSUM_VERSION']} | ||
SHELL | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.box = "generic/netbsd9" | ||
config.vm.boot_timeout = 900 | ||
config.vm.synced_folder ".", "/vagrant", type: "rsync" | ||
config.ssh.keep_alive = true | ||
|
||
config.vm.provision "init", type: "shell", run: "once" do |sh| | ||
sh.inline = <<~SHELL | ||
# update CA certs | ||
pkgin -y install mozilla-rootcerts | ||
mozilla-rootcerts install | ||
pkgin -y install git | ||
ftp https://go.dev/dl/go1.23.3.netbsd-amd64.tar.gz | ||
tar -C /tmp -xzf go1.23.3.netbsd-amd64.tar.gz | ||
ln -s /tmp/go/bin/go /usr/bin/go | ||
go install gotest.tools/gotestsum@#{ENV['GOTESTSUM_VERSION']} | ||
SHELL | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# -*- mode: ruby -*- | ||
# vi: set ft=ruby : | ||
|
||
Vagrant.configure("2") do |config| | ||
config.vm.box = "generic/openbsd7" | ||
config.vm.boot_timeout = 900 | ||
config.vm.synced_folder ".", "/vagrant", type: "rsync" | ||
config.ssh.keep_alive = true | ||
|
||
config.vm.provision "init", type: "shell", run: "once" do |sh| | ||
sh.inline = <<~SHELL | ||
pkg_add git | ||
ftp https://go.dev/dl/go1.23.3.openbsd-amd64.tar.gz | ||
tar -C /usr/local -xzf go1.23.3.openbsd-amd64.tar.gz | ||
ln -s /usr/local/go/bin/go /usr/local/bin/go | ||
go install gotest.tools/gotestsum@#{ENV['GOTESTSUM_VERSION']} | ||
SHELL | ||
end | ||
end |