Commit Graph

177 Commits

Author SHA1 Message Date
TW
024c9578ce
Merge pull request #3717 from milkey-mouse/fix-3706-fp1.2
Vagrant: move cleanup steps to fs_init (1.2 forward-port)
2018-03-24 21:37:35 +01:00
Thomas Waldmann
6b42562c8c
Vagrant: move cleanup steps to fs_init, fixes #3706
so after a vagrant up or vagrant reload (which both rsync), we
can just call the fs_init and run_tests provisioning steps and do
not need to call install_borg again.
2018-03-24 11:49:49 -07:00
Thomas Waldmann
53aae94a5a
Vagrant: xenial64 box now uses username 'vagrant', fixes #3707 2018-03-24 11:30:06 -07:00
TW
ed36839f96 Merge pull request #3057 from ThomasWaldmann/pyi-use-py36
use Python 3.6.2 for the pyinstaller binary
2017-09-24 22:16:32 +02:00
Thomas Waldmann
2ee068317c use Python 3.6.2 for the pyinstaller binary 2017-09-24 22:15:07 +02:00
Thomas Waldmann
eaa1290502 pyinstaller: use v3.3, fetch from v3.3-fixed branch 2017-09-24 22:01:33 +02:00
Thomas Waldmann
507203a759 use python 3.5.4 to build the binaries 2017-09-22 02:52:00 +02:00
Thomas Waldmann
ebb4eaed5a vagrant: clean up shell profile init, user name (master)
- deduplicated .bash_profile creation
- now we always have XDISTN=... and LANG=... (not just for pyenv)
- username is just given where needed ("ubuntu" vs "vagrant")
- override for cygwin not needed as init is not global any more
2017-09-04 21:33:23 +02:00
Thomas Waldmann
7dc76a7f40 vagrant: add archlinux VM
has python 3.6, openssl 1.1.

and most of the stuff we need is preinstalled on this box. \o/
2017-08-01 04:46:31 +02:00
Thomas Waldmann
074beec1ca minimal Vagrantfile (py3.5+, openssl 1.0/1.1)
- killed many VMs that missed python 3.5 and/or openssl 1.1
- refer to 1.1-maint branch Vagrantfile if you want to re-add some
- kept xenial64 for openssl 1.0 testing
- kept stretch64 for openssl 1.1 testing and future binary builds
2017-07-30 02:01:10 +02:00
Thomas Waldmann
a5c6a50ebe increase Python minimum requirement to 3.5.0
also:
- drop testing on 3.4
- add some TODO for the docs and vagrant machines
2017-07-29 20:55:04 +02:00
Thomas Waldmann
f2472b2fb6 upgrade FUSE for macOS (osxfuse) from 3.5.8 to 3.6.3, fixes #2706 2017-07-21 22:52:15 +02:00
TW
f3fc546c9d Merge pull request #2742 from htgoebel/patch-2
Vagrantfile: Fix set-up of cygwin and its sshd.
2017-06-25 17:34:06 +02:00
TW
ec4958fb1c Merge pull request #2740 from ThomasWaldmann/fuse-writing
FUSE vs. fuse
2017-06-25 00:37:09 +02:00
Hartmut Goebel
045a676825 Vagrantfile: cygwin: Fix installation of pip.
cygwin is at python-3.6 now. Use version-independent `ensurepip`
to be future-proof.
2017-06-24 19:44:36 +02:00
Hartmut Goebel
f962659f11 Vagrantfile: cygwin: Prepend cygwin PATH.
Otherwise crippled programs of the pre-installed MLS-OpenSSHd's path
hide the cygwin programs.
2017-06-24 19:22:39 +02:00
Hartmut Goebel
54a60c5fc8 Vagrantfile: cygwin: Fix permissions as required by sshd. 2017-06-24 17:46:20 +02:00
Hartmut Goebel
b09e4eff86 Vagrantfile: cygwin: Run setup after setting PATH
Fixes #2609.
2017-06-24 17:46:20 +02:00
Hartmut Goebel
26c92256e2 Vagrantfile: Fix cygwin mirror URL.
mirrors.kernel.org no longer offers ftp.
2017-06-24 09:14:41 +02:00
Thomas Waldmann
7ebad4f803 FUSE vs. fuse 2017-06-24 01:24:14 +02:00
Thomas Waldmann
379378fbba vagrant: add Debian 9 "stretch" 64bit 2017-06-18 18:07:45 +02:00
Thomas Waldmann
dff5f2041e vagrant: add OpenIndiana 2017-06-12 03:29:37 +02:00
Thomas Waldmann
a6dc6b611b Vagrantfile: backslash needs escaping 2017-06-12 03:04:31 +02:00
enkore
b06ceb6547 Revert "Start fakeroot faked in debug mode - fixes EISDIR issues" 2017-06-03 22:02:52 +02:00
Thomas Waldmann
9b35fa1d39 vagrant: update cleaning 2017-06-02 06:12:30 +02:00
Thomas Waldmann
a4729097cc vagrant: fix openbsd shell 2017-06-02 02:45:07 +02:00
Thomas Waldmann
16a296c11a vagrant: control VM cpus and pytest workers via env 2017-06-02 02:34:12 +02:00
Lee Bousfield
3e24ed4035 Start fakeroot faked in debug mode 2017-05-04 00:18:17 -06:00
Thomas Waldmann
5ffb66fdd5 upgrade FUSE for macOS to 3.5.8, fixes #2346 2017-04-27 01:34:53 +02:00
Thomas Waldmann
963949812d vagrant: increase memory for parallel testing
considering that we run pytest-xdist with 4 parallel processes,
we need a bit more RAM to avoid the OOM killer and MemoryError.

so, 1GiB for 32bit, 1.5GiB for 64bit VMs.
2017-03-27 12:38:19 +02:00
Thomas Waldmann
c0dc644ef6 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	MANIFEST.in
#	Vagrantfile
#	docs/changes.rst
#	docs/usage/mount.rst.inc
#	src/borg/archiver.py
#	src/borg/fuse.py
#	src/borg/repository.py
2017-01-29 05:49:53 +01:00
Thomas Waldmann
f74b533d6d vagrant: improve darwin64 VM settings
somehow without these cpuid settings it does not work for everybody.
also nice if we can get away without the extensions pack, which is proprietary.
do not update iTunes, we just want the OS security / bugfix updates
2017-01-28 16:56:14 +01:00
Thomas Waldmann
74c33463dc vagrant freebsd: some fixes, fixes #2067
- use -RELEASE, it can be updated via binaries
- more RAM, otherwise the 4 workers run out of memory.
- do not install / use fakeroot, it seems broken.
- set a hostname, this VM has none
2017-01-20 02:59:36 +01:00
Thomas Waldmann
7b9ff75960 use osxfuse 3.5.4 for tests / to build binaries 2017-01-19 19:02:13 +01:00
Thomas Waldmann
2b6e8a19e3 use python 3.5.3 to build binaries, fixes #2078 2017-01-19 18:58:14 +01:00
Thomas Waldmann
cdffd93139 pyinstaller: use fixed AND freshly compiled bootloader, fixes #2002 2017-01-17 02:09:28 +01:00
Thomas Waldmann
007d4797d8 pyinstaller: automatically builds bootloader if missing 2017-01-16 08:10:08 +01:00
Thomas Waldmann
1c3ec747d0 upgrade pyinstaller from 3.1.1+ to 3.2.1 2017-01-16 06:31:12 +01:00
Thomas Waldmann
740312f725 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	requirements.d/development.txt
#	tox.ini
2017-01-15 01:15:04 +01:00
Thomas Waldmann
a9cd6a09cb fix the freebsd64 vagrant machine, fixes #2037
The previous 10.2 got unusable due to missing backwards compatibility of 10.3 binaries it installed.
The 10.3 box from freebsd project has some issues:
- it needs "vagrant up" twice to start (first start with MAC warning)
- it needs shell set to sh
2017-01-14 23:42:38 +01:00
Thomas Waldmann
70cc201377 Merge branch '1.0-maint' into merge-1.0-maint 2017-01-14 16:53:38 +01:00
Thomas Waldmann
00c7a4f886 vagrant: fix openbsd repo, fixes #2042
original repo is 404.
2017-01-14 14:12:39 +01:00
Marian Beermann
ecad0ed53a Merge branch '1.0-maint' into merge/1.0-maint
# Conflicts: ... everywhere ...
#	.travis.yml
#	Vagrantfile
#	borg/testsuite/key.py
#	docs/changes.rst
#	docs/quickstart.rst
#	docs/usage.rst
#	docs/usage/upgrade.rst.inc
#	src/borg/archive.py
#	src/borg/archiver.py
#	src/borg/crypto.pyx
#	src/borg/helpers.py
#	src/borg/key.py
#	src/borg/remote.py
#	src/borg/repository.py
#	src/borg/testsuite/archive.py
#	src/borg/testsuite/archiver.py
#	src/borg/testsuite/crypto.py
#	src/borg/testsuite/helpers.py
#	src/borg/testsuite/repository.py
#	src/borg/upgrader.py
#	tox.ini
2017-01-12 15:01:41 +01:00
Hartmut Goebel
0f7493299c Vagrantfile: Split cygwin packaged to be installed into base and project.
The packages which are required for ssh log-in and rsync synchronized
folders to work are separated from those specific for the borg
project. This makes it easier to reuse in other projects.
2017-01-08 22:16:54 +01:00
Thomas Waldmann
c412b86455 vagrant: add Python 3.6.0 2017-01-04 01:06:57 +01:00
Thomas Waldmann
c83a124e65 Merge branch '1.0-maint' (into master) 2016-11-28 02:23:32 +01:00
Thomas Waldmann
9643e64211 upgrade FUSE for macOS to 3.5.3 2016-11-27 02:09:19 +01:00
Thomas Waldmann
1dc51e6df8 Vagrantfile: reduce code duplication 2016-11-24 04:07:21 +01:00
Thomas Waldmann
6bb363c707 Vagrantfile: cosmetic: remove tabs / empty lines 2016-11-24 04:07:21 +01:00
Marian Beermann
05a52ec8ec
Merge branch '1.0-maint' into merge/1.0-maint 2016-11-09 23:56:54 +01:00
Thomas Waldmann
1b462cdbed vagrant: remove llfuse from tox.ini at a central place 2016-11-02 03:12:57 +01:00
TW
e38e4160ef Merge pull request #1780 from ThomasWaldmann/fix-centos6-testing
vagrant: do not try to install llfuse on centos6
2016-11-02 01:31:58 +01:00
ololoru
5b0bff1962 add windows virtual machine
* Default memory size of Windows VM is 2048 mb
* Stop using mls-openssh and replace it with cygwin sshd by updating service start path in registry
2016-10-31 11:37:57 -05:00
Thomas Waldmann
aa62a164d9 vagrant: do not try to install llfuse on centos6
it breaks everything...
2016-10-31 02:36:49 +01:00
Thomas Waldmann
09e74af7bf Merge branch '1.0-maint' 2016-10-24 21:41:20 +02:00
Thomas Waldmann
2b90e45dd1 vagrant: fix fuse permission issues on linux/freebsd, fixes #1544 2016-10-20 16:53:46 +02:00
Thomas Waldmann
57402b120b vagrant: no chown when rsyncing
it tries to do chown -R vagrant.vagrant, but some boxes do not
have a vagrant group and break there. also, we do our own chown
in the provisioning scripts.
2016-10-17 17:37:33 +02:00
Thomas Waldmann
63ff002b19 vagrant / netbsd: use own box, fixes #1671, fixes #1728
self-made basic netbsd box includes pre-installed rsync as vagrant is unable to install rsync.
delete line from tox.ini with sed so it does not try to install llfuse (which is broken on netbsd).
2016-10-17 02:03:52 +02:00
Thomas Waldmann
4ca0ed150b vagrant / openbsd: use own box, fixes #1695
self-made basic openbsd box includes pre-installed rsync as vagrant is unable to install rsync.
as the self-made box now has enough space on /, remove workaround for low space.
delete line from tox.ini with sed so it does not try to install llfuse (which is broken on openbsd).
2016-10-15 15:21:38 +02:00
Thomas Waldmann
b0cc4fd74a Merge branch '1.0-maint' into merge-1.0-maint 2016-10-13 19:10:04 +02:00
Björn Ketelaars
a0df60e1b8 FUSE on OpenBSD
Concerning #1696:

OpenBSD offers in kernel support for FUSE 2.6. Borg relies on llfuse,
which relies on FUSE >2.9.

I'm not aware of plans to bring FUSE on OpenBSD to a more recent
version.

Signed-off-by: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
2016-10-10 01:07:30 +02:00
Thomas Waldmann
75624f8e05 vagrant: update image name of boxcutter debian7 boxes
debian711* is 404.
2016-10-06 22:58:02 +02:00
Thomas Waldmann
864333d686 pyinstaller: use a spec file to build borg.exe binary
also: exclude osxfuse dylib on Mac OS X
2016-10-02 00:43:45 +02:00
Marian Beermann
5baf749b29 vagrant freebsd64: fix tox not finding any pythons 2016-10-01 20:17:30 +02:00
Thomas Waldmann
186223ddef Merge branch '1.0-maint' into merge-1.0-maint 2016-09-27 23:21:46 +02:00
Thomas Waldmann
4838b9e110 vagrant: upgrade osxfuse to 3.5.2 2016-09-27 22:44:33 +02:00
Thomas Waldmann
2a864be84f Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	setup.py
#	src/borg/archiver.py
#	src/borg/helpers.py
2016-09-27 21:31:41 +02:00
Thomas Waldmann
bb6c0cd2ac vagrant: update FUSE for macOS 2016-09-26 20:08:04 +02:00
enkore
38f217d76f Merge pull request #1597 from ThomasWaldmann/fresh-bootloader
Vagrantfile: use TW's fresh-bootloader branch
2016-09-14 20:26:28 +02:00
Thomas Waldmann
322d217677 Vagrantfile: use TW's fresh-bootloader branch
... until pyinstaller team catches up, merges the fixes and recompiles the bootloader.
2016-09-14 03:11:11 +02:00
Thomas Waldmann
1287d1ae92 Merge branch '1.0-maint' into merge-1.0-maint
# Conflicts:
#	docs/development.rst
#	src/borg/archive.py
#	src/borg/archiver.py
#	src/borg/hashindex.pyx
#	src/borg/testsuite/hashindex.py
2016-09-14 02:53:41 +02:00
Thomas Waldmann
3c3502a9a0 update wheezy vagrant box to 7.11
7.9 is not available any more.
2016-09-14 02:22:46 +02:00
Thomas Waldmann
2cfd905347 Vagrant: pyinstaller: use pre-built linux bootloaders, fixes #1506 2016-08-22 18:49:03 +02:00
Thomas Waldmann
821fba8cb0 use patched LDLP-preserving pyinstaller, fixes #1416
see https://github.com/pyinstaller/pyinstaller/pull/2148

also: use waf --no-lsb (the bootloader does not build without it on our wheezy32 vagrant VM)
2016-08-20 12:30:26 +02:00
Thomas Waldmann
dbe862f3d8 Merge branch '1.0-maint' into merge-1.0-maint 2016-08-06 01:24:22 +02:00
Thomas Waldmann
b5d605e5aa Vagrantfile: use FUSE for macOS 3.4.1
Note: "FUSE for OS X" was renamed to "FUSE for macOS".
2016-08-03 18:23:43 +02:00
Thomas Waldmann
4e737cb64b OS X: install pkg-config to build with FUSE support 2016-07-30 21:08:20 +02:00
Marian Beermann
ac8c8119a7
Merge branch '1.0-maint' into master 2016-07-28 00:29:43 +02:00
Pankaj Garg
5f713ec1c1 Fixed the issue of xenial64 box being unable to run because vagrant user is absent 2016-07-15 09:15:37 +05:30
Thomas Waldmann
fe627246e4 Merge branch '1.0-maint' 2016-07-08 12:13:52 +02:00
Thomas Waldmann
a80dad0de0 Vagrantfile: centos6: no FUSE, don't build binary
Trying to install llfuse breaks borg installation (lots of compiler errors).

Also, we're building the binaries on Debian wheezy since a while, no need
to build them on centos6. Esp. since the Centos6 based binaries showed
strange slowness in the past.
2016-07-07 17:50:30 +02:00
Thomas Waldmann
a4c9909700 Vagrantfile: add xz for redhat-like dists
It was missing on centos6 and then pyenv fails to install the pythons.
2016-07-07 17:45:42 +02:00
Thomas Waldmann
d6d4d318ca do not install llfuse on netbsd (broken)
it even breaks the whole build / installation.
2016-07-07 04:23:07 +02:00
Thomas Waldmann
135d082e73 update OSXfuse to version 3.3.3 2016-07-07 03:31:26 +02:00
Thomas Waldmann
87d6755108 Merge branch '1.0-maint' 2016-06-29 18:28:33 +02:00
Thomas Waldmann
e81fc4381c Vagrantfile: use openbsd 5.9, fixes #716
machine already has python3.4.
rsync works now.
fuse does not work on openbsd (and breaks borg install, if tried).
2016-06-29 01:04:24 +02:00
Thomas Waldmann
c6a72bb16f use python 3.5.2 to build the binaries 2016-06-27 18:42:12 +02:00
Thomas Waldmann
87b85a3f7a vagrant: fix path to borg package, add hidden import 2016-06-03 18:00:01 +02:00
Thomas Waldmann
b8303a38bf Merge branch '1.0-maint' 2016-05-20 22:48:57 +02:00
Thomas Waldmann
21a30269c2 freebsd: use a older llfuse release that builds
llfuse >0.41.1 <=1.0.0 does not build on freebsd.
the issue is already fixed, but no new release yet.
2016-05-20 21:50:26 +02:00
Thomas Waldmann
b641d11e1b Merge branch '1.0-maint' 2016-05-01 20:28:17 +02:00
Thomas Waldmann
5a7c027296 vagrant: OS X update osxfuse / fix lzma, fixes #933 2016-04-24 02:25:04 +02:00
Thomas Waldmann
4de14fdd28 Merge branch '1.0-maint' 2016-04-16 16:58:43 +02:00
Thomas Waldmann
c4d1d01d11 use latest llfuse for vagrant machines 2016-04-16 00:57:20 +02:00
Thomas Waldmann
cd3c36780a vagrant: add ubuntu/xenial 64bit
this box has still some issues, but hopefully they will be fixed soon.
2016-03-26 14:14:15 +01:00
Thomas Waldmann
c7776fa271 update OS / dist packages on build machines, fixes #717 2016-03-05 21:15:25 +01:00
Thomas Waldmann
111bb19443 Vagrant: drop ubuntu precise (12.04)
it only has python 3.2 and we require >= 3.4.
2016-02-27 21:31:30 +01:00
Thomas Waldmann
21d9436992 Vagrant: use pyinstaller v3.1.1 2016-02-27 21:22:06 +01:00
Thomas Waldmann
7d591226d2 remove support for python 3.2.x and 3.3.x, require 3.4+, fixes #65, fixes #221 2016-01-24 14:57:48 +01:00
Thomas Waldmann
777fc89d3f Vagrantfile: rsync symlinks as symlinks, fixes #592 2016-01-24 14:49:07 +01:00