/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
1
vm.class = lxd
2
# Start with an up to date system by default
3
vm.update = True
4
# External sources dependencies, packages are not recent enough
5
dulwich.clone = (git clone git://jelmer.uk/dulwich ../dulwich.git)
6
dulwich.install = (cd ../dulwich.git && ./setup.py install --user)
7
dulwich.install3 = (cd ../dulwich.git && python3 ./setup.py install --user)
8
subunit.clone = (git clone https://github.com/testing-cabal/subunit.git ../subunit)
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
9
fastimport.clone = (git clone git://jelmer.uk/python-fastimport.git ../fastimport.git)
10
fastimport.install = (cd ../fastimport.git && ./setup.py install --user)
11
fastimport.install3 = (cd ../fastimport.git && python3 ./setup.py install --user)
12
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
13
[brz]
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
14
# FIXME: we're stuck on xenial
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
15
# because paramiko 2.0.0 is broken:
16
# breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh
17
# runs into a deprecation issue which is only fixed in 2.3.0 which is
18
# available nowhere in ubuntu/debian /o\
19
# https://github.com/paramiko/paramiko/issues/1030
20
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882322 -- vila 2018-05-16
21
22
# FIXME: Arguably this should be vm.build_deps=brz but it requires either an
23
# available package or at least a debian/ dir ? -- vila 2018-02-23
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
24
brz.build_deps = gcc, debhelper, python, python-all-dev, python3-all-dev, python-configobj, python3-configobj, python-docutils, python3-docutils, python-paramiko, python3-paramiko, python-subunit, python3-subunit, python-testtools, python3-testtools, subunit, cython, cython3
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
25
subunit.build_deps = python-testscenarios, python3-testscenarios, python-testtools, python3-testtools
26
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
27
[brz-xenial]
28
vm.release = xenial
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
29
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.install3} && {fastimport.clone} && {fastimport.install} && {fastimport.install3} && {subunit.clone})
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
30
# FIXME: bzr log -l2 should be by default -- vila 2018-03-09
31
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit"
32
[brz-xenial-py3]
33
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$PATH make extensions && BRZ_PLUGIN_PATH=-site:-user python3 -Werror -Wignore::FutureWarning  -Wignore::ImportWarning -Wignore::DeprecationWarning -O ./brz selftest --parallel=fork -Oselftest.timeout=120 --subunit2 | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
34
[brz-bionic]
35
vm.release = bionic
36
[brz-cosmic]
37
vm.release = cosmic
38
lxd.image = ubuntu-daily:{vm.release}/{vm.architecture}
39
[brz-buster]
40
vm.distribution = debian
41
vm.release = buster
42
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-dulwich, python3-dulwich, python-junitxml
43
byoci.setup.command = ({subunit.clone})
44
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
45
[brz-sid]
46
vm.distribution = debian
47
vm.release = sid