|
@@ -65,9 +65,9 @@ def packages_darwin
|
|
# install all the (security and other) updates
|
|
# install all the (security and other) updates
|
|
sudo softwareupdate --install --all
|
|
sudo softwareupdate --install --all
|
|
# get osxfuse 3.x release code from github:
|
|
# get osxfuse 3.x release code from github:
|
|
- curl -s -L https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.5.2/osxfuse-3.5.2.dmg >osxfuse.dmg
|
|
|
|
|
|
+ curl -s -L https://github.com/osxfuse/osxfuse/releases/download/osxfuse-3.5.3/osxfuse-3.5.3.dmg >osxfuse.dmg
|
|
MOUNTDIR=$(echo `hdiutil mount osxfuse.dmg | tail -1 | awk '{$1="" ; print $0}'` | xargs -0 echo) \
|
|
MOUNTDIR=$(echo `hdiutil mount osxfuse.dmg | tail -1 | awk '{$1="" ; print $0}'` | xargs -0 echo) \
|
|
- && sudo installer -pkg "${MOUNTDIR}/Extras/FUSE for macOS 3.5.2.pkg" -target /
|
|
|
|
|
|
+ && sudo installer -pkg "${MOUNTDIR}/Extras/FUSE for macOS 3.5.3.pkg" -target /
|
|
sudo chown -R vagrant /usr/local # brew must be able to create stuff here
|
|
sudo chown -R vagrant /usr/local # brew must be able to create stuff here
|
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
brew update
|
|
brew update
|
|
@@ -172,14 +172,14 @@ def packages_cygwin(version)
|
|
set CYGSETUP=#{setup_exe}
|
|
set CYGSETUP=#{setup_exe}
|
|
REM --- Install build version of CygWin in a subfolder
|
|
REM --- Install build version of CygWin in a subfolder
|
|
set OURPATH=%cd%
|
|
set OURPATH=%cd%
|
|
- set CYGBUILD="C:\\cygwin\\CygWin"
|
|
|
|
- set CYGMIRROR=ftp://mirrors.kernel.org/sourceware/cygwin/
|
|
|
|
- set BUILDPKGS=python3,python3-setuptools,binutils,gcc-g++,libopenssl,openssl-devel,git,make,openssh,liblz4-devel,liblz4_1,rsync,curl,python-devel
|
|
|
|
|
|
+ set CYGBUILD="C:\\cygwin\\CygWin"
|
|
|
|
+ set CYGMIRROR=ftp://mirrors.kernel.org/sourceware/cygwin/
|
|
|
|
+ set BUILDPKGS=python3,python3-setuptools,binutils,gcc-g++,libopenssl,openssl-devel,git,make,openssh,liblz4-devel,liblz4_1,rsync,curl,python-devel
|
|
%CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BUILDPKGS%
|
|
%CYGSETUP% -q -B -o -n -R %CYGBUILD% -L -D -s %CYGMIRROR% -P %BUILDPKGS%
|
|
cd /d C:\\cygwin\\CygWin\\bin
|
|
cd /d C:\\cygwin\\CygWin\\bin
|
|
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
|
regtool set /HKLM/SYSTEM/CurrentControlSet/Services/OpenSSHd/ImagePath "C:\\cygwin\\CygWin\\bin\\cygrunsrv.exe"
|
|
bash -c "ssh-host-config --no"
|
|
bash -c "ssh-host-config --no"
|
|
- ' > /cygdrive/c/cygwin/install.bat
|
|
|
|
|
|
+ ' > /cygdrive/c/cygwin/install.bat
|
|
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
|
cd /cygdrive/c/cygwin && cmd.exe /c install.bat
|
|
|
|
|
|
echo "alias mkdir='mkdir -p'" > ~/.profile
|
|
echo "alias mkdir='mkdir -p'" > ~/.profile
|
|
@@ -201,7 +201,6 @@ def install_cygwin_venv
|
|
EOF
|
|
EOF
|
|
end
|
|
end
|
|
|
|
|
|
-
|
|
|
|
def install_pyenv(boxname)
|
|
def install_pyenv(boxname)
|
|
return <<-EOF
|
|
return <<-EOF
|
|
curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
|
curl -s -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
|
|
@@ -248,8 +247,8 @@ def build_pyenv_venv(boxname)
|
|
EOF
|
|
EOF
|
|
end
|
|
end
|
|
|
|
|
|
-def install_borg(boxname)
|
|
|
|
- return <<-EOF
|
|
|
|
|
|
+def install_borg(fuse)
|
|
|
|
+ script = <<-EOF
|
|
. ~/.bash_profile
|
|
. ~/.bash_profile
|
|
cd /vagrant/borg
|
|
cd /vagrant/borg
|
|
. borg-env/bin/activate
|
|
. borg-env/bin/activate
|
|
@@ -260,31 +259,24 @@ def install_borg(boxname)
|
|
rm -f borg/{chunker,crypto,compress,hashindex,platform_linux}.c
|
|
rm -f borg/{chunker,crypto,compress,hashindex,platform_linux}.c
|
|
rm -rf borg/__pycache__ borg/support/__pycache__ borg/testsuite/__pycache__
|
|
rm -rf borg/__pycache__ borg/support/__pycache__ borg/testsuite/__pycache__
|
|
pip install -r requirements.d/development.txt
|
|
pip install -r requirements.d/development.txt
|
|
- # by using [fuse], setup.py can handle different fuse requirements:
|
|
|
|
- pip install -e .[fuse]
|
|
|
|
- EOF
|
|
|
|
-end
|
|
|
|
-
|
|
|
|
-def install_borg_no_fuse(boxname)
|
|
|
|
- return <<-EOF
|
|
|
|
- . ~/.bash_profile
|
|
|
|
- cd /vagrant/borg
|
|
|
|
- . borg-env/bin/activate
|
|
|
|
- pip install -U wheel # upgrade wheel, too old for 3.5
|
|
|
|
- cd borg
|
|
|
|
- # clean up (wrong/outdated) stuff we likely got via rsync:
|
|
|
|
- rm -f borg/*.so borg/*.cpy*
|
|
|
|
- rm -f borg/{chunker,crypto,compress,hashindex,platform_linux}.c
|
|
|
|
- rm -rf borg/__pycache__ borg/support/__pycache__ borg/testsuite/__pycache__
|
|
|
|
- pip install -r requirements.d/development.txt
|
|
|
|
- pip install -e .
|
|
|
|
- # do not install llfuse into the virtualenvs built by tox:
|
|
|
|
- sed -i.bak '/fuse.txt/d' tox.ini
|
|
|
|
EOF
|
|
EOF
|
|
|
|
+ if fuse
|
|
|
|
+ script += <<-EOF
|
|
|
|
+ # by using [fuse], setup.py can handle different fuse requirements:
|
|
|
|
+ pip install -e .[fuse]
|
|
|
|
+ EOF
|
|
|
|
+ else
|
|
|
|
+ script += <<-EOF
|
|
|
|
+ pip install -e .
|
|
|
|
+ # do not install llfuse into the virtualenvs built by tox:
|
|
|
|
+ sed -i.bak '/fuse.txt/d' tox.ini
|
|
|
|
+ EOF
|
|
|
|
+ end
|
|
|
|
+ return script
|
|
end
|
|
end
|
|
|
|
|
|
-def install_pyinstaller(boxname)
|
|
|
|
- return <<-EOF
|
|
|
|
|
|
+def install_pyinstaller(bootloader)
|
|
|
|
+ script = <<-EOF
|
|
. ~/.bash_profile
|
|
. ~/.bash_profile
|
|
cd /vagrant/borg
|
|
cd /vagrant/borg
|
|
. borg-env/bin/activate
|
|
. borg-env/bin/activate
|
|
@@ -292,25 +284,19 @@ def install_pyinstaller(boxname)
|
|
cd pyinstaller
|
|
cd pyinstaller
|
|
# develop branch, with fixed / freshly rebuilt bootloaders
|
|
# develop branch, with fixed / freshly rebuilt bootloaders
|
|
git checkout fresh-bootloader
|
|
git checkout fresh-bootloader
|
|
- pip install -e .
|
|
|
|
EOF
|
|
EOF
|
|
-end
|
|
|
|
-
|
|
|
|
-def install_pyinstaller_bootloader(boxname)
|
|
|
|
- return <<-EOF
|
|
|
|
- . ~/.bash_profile
|
|
|
|
- cd /vagrant/borg
|
|
|
|
- . borg-env/bin/activate
|
|
|
|
- git clone https://github.com/thomaswaldmann/pyinstaller.git
|
|
|
|
- cd pyinstaller
|
|
|
|
- # develop branch, with fixed / freshly rebuilt bootloaders
|
|
|
|
- git checkout fresh-bootloader
|
|
|
|
- # build bootloader, if it is not included
|
|
|
|
- cd bootloader
|
|
|
|
- python ./waf all
|
|
|
|
- cd ..
|
|
|
|
|
|
+ if bootloader
|
|
|
|
+ script += <<-EOF
|
|
|
|
+ # build bootloader, if it is not included
|
|
|
|
+ cd bootloader
|
|
|
|
+ python ./waf all
|
|
|
|
+ cd ..
|
|
|
|
+ EOF
|
|
|
|
+ end
|
|
|
|
+ script += <<-EOF
|
|
pip install -e .
|
|
pip install -e .
|
|
EOF
|
|
EOF
|
|
|
|
+ return script
|
|
end
|
|
end
|
|
|
|
|
|
def build_binary_with_pyinstaller(boxname)
|
|
def build_binary_with_pyinstaller(boxname)
|
|
@@ -347,13 +333,11 @@ end
|
|
def fix_perms
|
|
def fix_perms
|
|
return <<-EOF
|
|
return <<-EOF
|
|
# . ~/.profile
|
|
# . ~/.profile
|
|
-
|
|
|
|
if id "vagrant" >/dev/null 2>&1; then
|
|
if id "vagrant" >/dev/null 2>&1; then
|
|
chown -R vagrant /vagrant/borg
|
|
chown -R vagrant /vagrant/borg
|
|
else
|
|
else
|
|
chown -R ubuntu /vagrant/borg
|
|
chown -R ubuntu /vagrant/borg
|
|
fi
|
|
fi
|
|
-
|
|
|
|
EOF
|
|
EOF
|
|
end
|
|
end
|
|
|
|
|
|
@@ -381,7 +365,7 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("centos7_64")
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("centos7_64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("centos7_64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("centos7_64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("centos7_64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("centos7_64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("centos7_64")
|
|
|
|
|
|
+ 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("centos7_64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("centos7_64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -391,7 +375,7 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("centos6_32")
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("centos6_32")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("centos6_32")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("centos6_32")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("centos6_32")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("centos6_32")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg_no_fuse("centos6_32")
|
|
|
|
|
|
+ b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("centos6_32")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("centos6_32")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -404,7 +388,7 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("centos6_64")
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("centos6_64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("centos6_64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("centos6_64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("centos6_64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("centos6_64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg_no_fuse("centos6_64")
|
|
|
|
|
|
+ b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("centos6_64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("centos6_64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -415,7 +399,7 @@ Vagrant.configure(2) do |config|
|
|
end
|
|
end
|
|
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid
|
|
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("xenial64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("xenial64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("xenial64")
|
|
|
|
|
|
+ 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("xenial64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("xenial64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -426,7 +410,7 @@ Vagrant.configure(2) do |config|
|
|
end
|
|
end
|
|
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid
|
|
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("trusty64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("trusty64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("trusty64")
|
|
|
|
|
|
+ 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("trusty64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("trusty64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -437,7 +421,7 @@ Vagrant.configure(2) do |config|
|
|
end
|
|
end
|
|
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid
|
|
b.vm.provision "packages debianoid", :type => :shell, :inline => packages_debianoid
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("jessie64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("jessie64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("jessie64")
|
|
|
|
|
|
+ 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("jessie64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("jessie64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -448,8 +432,8 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("wheezy32")
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("wheezy32")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("wheezy32")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("wheezy32")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("wheezy32")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("wheezy32")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("wheezy32")
|
|
|
|
- b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller("wheezy32")
|
|
|
|
|
|
+ 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(false)
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("wheezy32")
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("wheezy32")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("wheezy32")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("wheezy32")
|
|
end
|
|
end
|
|
@@ -461,8 +445,8 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("wheezy64")
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("wheezy64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("wheezy64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("wheezy64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("wheezy64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("wheezy64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("wheezy64")
|
|
|
|
- b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller("wheezy64")
|
|
|
|
|
|
+ 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(false)
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("wheezy64")
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("wheezy64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("wheezy64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("wheezy64")
|
|
end
|
|
end
|
|
@@ -475,8 +459,8 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "fix pyenv", :type => :shell, :privileged => false, :inline => fix_pyenv_darwin("darwin64")
|
|
b.vm.provision "fix pyenv", :type => :shell, :privileged => false, :inline => fix_pyenv_darwin("darwin64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("darwin64")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("darwin64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("darwin64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("darwin64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("darwin64")
|
|
|
|
- b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller("darwin64")
|
|
|
|
|
|
+ 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(false)
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("darwin64")
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("darwin64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("darwin64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("darwin64")
|
|
end
|
|
end
|
|
@@ -491,8 +475,8 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd")
|
|
b.vm.provision "install pyenv", :type => :shell, :privileged => false, :inline => install_pyenv("freebsd")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd")
|
|
b.vm.provision "install pythons", :type => :shell, :privileged => false, :inline => install_pythons("freebsd")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("freebsd")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_pyenv_venv("freebsd")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg("freebsd")
|
|
|
|
- b.vm.provision "install pyinstaller", :type => :shell, :privileged => false, :inline => install_pyinstaller_bootloader("freebsd")
|
|
|
|
|
|
+ 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(true)
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("freebsd")
|
|
b.vm.provision "build binary with pyinstaller", :type => :shell, :privileged => false, :inline => build_binary_with_pyinstaller("freebsd")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("freebsd")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("freebsd")
|
|
end
|
|
end
|
|
@@ -504,7 +488,7 @@ Vagrant.configure(2) do |config|
|
|
end
|
|
end
|
|
b.vm.provision "packages openbsd", :type => :shell, :inline => packages_openbsd
|
|
b.vm.provision "packages openbsd", :type => :shell, :inline => packages_openbsd
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openbsd64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("openbsd64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg_no_fuse("openbsd64")
|
|
|
|
|
|
+ b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("openbsd64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("openbsd64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -515,7 +499,7 @@ Vagrant.configure(2) do |config|
|
|
end
|
|
end
|
|
b.vm.provision "packages netbsd", :type => :shell, :inline => packages_netbsd
|
|
b.vm.provision "packages netbsd", :type => :shell, :inline => packages_netbsd
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("netbsd64")
|
|
b.vm.provision "build env", :type => :shell, :privileged => false, :inline => build_sys_venv("netbsd64")
|
|
- b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg_no_fuse("netbsd64")
|
|
|
|
|
|
+ b.vm.provision "install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("netbsd64")
|
|
b.vm.provision "run tests", :type => :shell, :privileged => false, :inline => run_tests("netbsd64")
|
|
end
|
|
end
|
|
|
|
|
|
@@ -542,7 +526,7 @@ Vagrant.configure(2) do |config|
|
|
b.vm.provision :reload
|
|
b.vm.provision :reload
|
|
b.vm.provision "cygwin install pip", :type => :shell, :privileged => false, :inline => install_cygwin_venv
|
|
b.vm.provision "cygwin install pip", :type => :shell, :privileged => false, :inline => install_cygwin_venv
|
|
b.vm.provision "cygwin build env", :type => :shell, :privileged => false, :inline => build_sys_venv("windows10")
|
|
b.vm.provision "cygwin build env", :type => :shell, :privileged => false, :inline => build_sys_venv("windows10")
|
|
- b.vm.provision "cygwin install borg", :type => :shell, :privileged => false, :inline => install_borg_no_fuse("windows10")
|
|
|
|
|
|
+ b.vm.provision "cygwin install borg", :type => :shell, :privileged => false, :inline => install_borg(false)
|
|
b.vm.provision "cygwin run tests", :type => :shell, :privileged => false, :inline => run_tests("windows10")
|
|
b.vm.provision "cygwin run tests", :type => :shell, :privileged => false, :inline => run_tests("windows10")
|
|
end
|
|
end
|
|
end
|
|
end
|