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) |
|
9 |
[brz] |
|
10 |
# FIXME: python3-fastimport requires >= artful :-/ and we're stuck on xenial |
|
11 |
# because paramiko 2.0.0 is broken: |
|
12 |
# breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh |
|
13 |
# runs into a deprecation issue which is only fixed in 2.3.0 which is |
|
14 |
# available nowhere in ubuntu/debian /o\ |
|
15 |
# https://github.com/paramiko/paramiko/issues/1030 |
|
16 |
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882322 -- vila 2018-05-16 |
|
17 |
||
18 |
# FIXME: Arguably this should be vm.build_deps=brz but it requires either an |
|
19 |
# available package or at least a debian/ dir ? -- vila 2018-02-23 |
|
20 |
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, python-fastimport |
|
21 |
subunit.build_deps = python-testscenarios, python3-testscenarios, python-testtools, python3-testtools |
|
22 |
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-junitxml |
|
23 |
[brz-xenial] |
|
24 |
vm.release = xenial |
|
25 |
byoci.setup.command = ({dulwich.clone} && {dulwich.install} && {dulwich.install3} && {subunit.clone}) |
|
26 |
# FIXME: bzr log -l2 should be by default -- vila 2018-03-09 |
|
27 |
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" |
|
28 |
[brz-xenial-py3] |
|
29 |
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)" |
|
30 |
[brz-bionic] |
|
31 |
vm.release = bionic |
|
32 |
[brz-cosmic] |
|
33 |
vm.release = cosmic |
|
34 |
lxd.image = ubuntu-daily:{vm.release}/{vm.architecture} |
|
35 |
[brz-buster] |
|
36 |
vm.distribution = debian |
|
37 |
vm.release = buster |
|
38 |
vm.packages = {brz.build_deps}, {subunit.build_deps}, bzr, git, python-dulwich, python3-dulwich, python-junitxml |
|
39 |
byoci.setup.command = ({subunit.clone}) |
|
40 |
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)" |
|
41 |
[brz-sid] |
|
42 |
vm.distribution = debian |
|
43 |
vm.release = sid |