1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 08:45:13 +00:00

add a debian buster and a ubuntu focal VM

This commit is contained in:
Thomas Waldmann 2020-03-09 22:00:57 +01:00
parent 6520fa2bb7
commit 6e44e46f40

28
Vagrantfile vendored
View file

@ -261,6 +261,18 @@ Vagrant.configure(2) do |config|
v.cpus = $cpus v.cpus = $cpus
end end
config.vm.define "focal64" do |b|
b.vm.box = "ubuntu/focal64"
b.vm.provider :virtualbox do |v|
v.memory = 1024 + $wmem
end
b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("focal64")
b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(true)
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("focal64")
end
config.vm.define "bionic64" do |b| config.vm.define "bionic64" do |b|
b.vm.box = "ubuntu/bionic64" b.vm.box = "ubuntu/bionic64"
b.vm.provider :virtualbox do |v| b.vm.provider :virtualbox do |v|
@ -273,6 +285,22 @@ Vagrant.configure(2) do |config|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bionic64") b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("bionic64")
end end
config.vm.define "buster64" do |b|
b.vm.box = "debian/buster64"
b.vm.provider :virtualbox do |v|
v.memory = 1024 + $wmem
end
b.vm.provision "fs init", :type => :shell, :inline => fs_init("vagrant")
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid("vagrant")
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("buster64")
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("buster64")
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("buster64")
b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(true)
b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller()
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("buster64")
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("buster64")
end
config.vm.define "stretch64" do |b| config.vm.define "stretch64" do |b|
b.vm.box = "debian/stretch64" b.vm.box = "debian/stretch64"
b.vm.provider :virtualbox do |v| b.vm.provider :virtualbox do |v|