/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)
7192.3.10 by Jelmer Vernooij
Install sphinx_epytext.
12
sphinx_epytext.install = (pip install sphinx_epytext)
13
sphinx_epytext.install3 = (pip3 install sphinx_epytext)
7192.4.1 by Jelmer Vernooij
Install the pip version of flake8, since the version in Ubuntu is too old.
14
flake8.install = (pip install flake8)
15
flake8.install3 = (pip3 install flake8)
7290.14.3 by Jelmer Vernooij
Install patiencediff from pip.
16
patiencediff.install = (pip install patiencediff)
17
patiencediff.install3 = (pip3 install patiencediff)
7289.2.3 by Jelmer Vernooij
Install cython from pip in byov.
18
cython.install = (pip install cython)
19
cython.install3 = (pip3 install cython)
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
20
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
21
[brz]
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
22
# FIXME: we're stuck on xenial
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
23
# because paramiko 2.0.0 is broken:
24
# breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh
25
# runs into a deprecation issue which is only fixed in 2.3.0 which is
26
# available nowhere in ubuntu/debian /o\
27
# https://github.com/paramiko/paramiko/issues/1030
28
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882322 -- vila 2018-05-16
29
30
# FIXME: Arguably this should be vm.build_deps=brz but it requires either an
31
# available package or at least a debian/ dir ? -- vila 2018-02-23
7289.2.3 by Jelmer Vernooij
Install cython from pip in byov.
32
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, python-pip, python3-pip, python-setuptools, python3-setuptools, python-flake8, python3-flake8, python-sphinx, python3-sphinx, python-launchpadlib, python3-launchpadlib
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
33
subunit.build_deps = python-testscenarios, python3-testscenarios, python-testtools, python3-testtools
34
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
35
[brz-xenial]
36
vm.release = xenial
7290.14.4 by Jelmer Vernooij
merge trunk.
37
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.install3} && {fastimport.clone} && {fastimport.install} && {fastimport.install3} && {subunit.clone} && {flake8.install} && {flake8.install3} && {patiencediff.install} && {patiencediff.install3} && {sphinx_epytext.install} && {sphinx_epytext.install3} && {cython.install} && {cython.install3})
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
38
# FIXME: bzr log -l2 should be by default -- vila 2018-03-09
7296.1.1 by Jelmer Vernooij
Set PATH correctly so pip-installed sphinx is found.
39
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$HOME/.local/bin:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit"
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
40
[brz-bionic]
41
vm.release = bionic
42
[brz-cosmic]
43
vm.release = cosmic
44
lxd.image = ubuntu-daily:{vm.release}/{vm.architecture}
45
[brz-buster]
46
vm.distribution = debian
47
vm.release = buster
48
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-dulwich, python3-dulwich, python-junitxml
49
byoci.setup.command = ({subunit.clone})
7296.1.1 by Jelmer Vernooij
Set PATH correctly so pip-installed sphinx is found.
50
byoci.tests.command = bash -o pipefail -c "bzr log -l2 && (PYTHONPATH=../subunit/python:$PYTHONPATH PATH=../subunit/filters:$HOME/.local/bin:$PATH make check-ci | subunit2junitxml -o ../results.xml -f | subunit2pyunit)"
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
51
[brz-sid]
52
vm.distribution = debian
53
vm.release = sid