/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)
7502.1.2 by Jelmer Vernooij
Drop '3' suffix.
6
dulwich.install = (cd ../dulwich.git && python3 ./setup.py install --user)
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
7
subunit.clone = (git clone https://github.com/testing-cabal/subunit.git ../subunit)
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
8
fastimport.clone = (git clone git://jelmer.uk/python-fastimport.git ../fastimport.git)
7502.1.2 by Jelmer Vernooij
Drop '3' suffix.
9
fastimport.install = (cd ../fastimport.git && python3 ./setup.py install --user)
10
sphinx_epytext.install = (pip3 install sphinx_epytext)
11
flake8.install = (pip3 install flake8)
12
patiencediff.install = (pip3 install patiencediff)
13
cython.install = (pip3 install cython)
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
14
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
15
[brz]
7054.1.1 by Jelmer Vernooij
Install fastimport from git.
16
# FIXME: we're stuck on xenial
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
17
# because paramiko 2.0.0 is broken:
18
# breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh
19
# runs into a deprecation issue which is only fixed in 2.3.0 which is
20
# available nowhere in ubuntu/debian /o\
21
# https://github.com/paramiko/paramiko/issues/1030
22
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882322 -- vila 2018-05-16
23
24
# FIXME: Arguably this should be vm.build_deps=brz but it requires either an
25
# available package or at least a debian/ dir ? -- vila 2018-02-23
7519.1.1 by Jelmer Vernooij
Merge lp:brz/3.1.
26
brz.build_deps = gcc, debhelper, python3, python3-all-dev, python3-configobj, python3-docutils, python3-paramiko, python3-subunit, python3-testtools, subunit, python3-pip, python3-setuptools, python3-flake8, python3-sphinx, python3-launchpadlib, python3-pyinotify
7502.1.1 by Jelmer Vernooij
Drop Python 2 deps.
27
subunit.build_deps = python3-testscenarios, python3-testtools, cython, cython3, quilt
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
28
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml
29
[brz-xenial]
30
vm.release = xenial
7502.1.2 by Jelmer Vernooij
Drop '3' suffix.
31
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {fastimport.clone} && {fastimport.install} && {subunit.clone} && {flake8.install} && {patiencediff.install} && {sphinx_epytext.install} && {cython.install})
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
32
# 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.
33
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.
34
[brz-bionic]
35
vm.release = bionic
36
[brz-cosmic]
37
vm.release = cosmic
7290.27.6 by Vincent Ladeuil
Release 3.0.1
38
[brz-disco]
39
vm.release = disco
7502.1.1 by Jelmer Vernooij
Drop Python 2 deps.
40
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python3-dulwich, python-junitxml
7502.1.2 by Jelmer Vernooij
Drop '3' suffix.
41
byoci.setup.command = ({subunit.clone} && {sphinx_epytext.install} )
7290.27.6 by Vincent Ladeuil
Release 3.0.1
42
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)"
43
[brz-eoan]
44
vm.release = eoan
6975.1.1 by Vincent Ladeuil
Define containers and commands for byoci.
45
lxd.image = ubuntu-daily:{vm.release}/{vm.architecture}
46
[brz-buster]
47
vm.distribution = debian
48
vm.release = buster
7502.1.1 by Jelmer Vernooij
Drop Python 2 deps.
49
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python3-dulwich, python-junitxml
7502.1.2 by Jelmer Vernooij
Drop '3' suffix.
50
byoci.setup.command = ({subunit.clone} && {sphinx_epytext.install} )
7296.1.1 by Jelmer Vernooij
Set PATH correctly so pip-installed sphinx is found.
51
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.
52
[brz-sid]
53
vm.distribution = debian
54
vm.release = sid