summaryrefslogtreecommitdiff
path: root/tests/unittests
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2017-06-14 17:11:43 -0600
committerChad Smith <chad.smith@canonical.com>2017-06-14 17:11:43 -0600
commitb23d9d7c5c112612dbaaf8c8371c9e735500b2eb (patch)
tree2560246463557fdf73720558c0d996732e84d5b5 /tests/unittests
parent55a006afca73633c607c537dee62097e85011443 (diff)
downloadvyos-cloud-init-b23d9d7c5c112612dbaaf8c8371c9e735500b2eb.tar.gz
vyos-cloud-init-b23d9d7c5c112612dbaaf8c8371c9e735500b2eb.zip
ci deps: Add --test-distro to read-dependencies to install all deps
read-dependencies now takes --test-distro param to indicate we want to install all system package depenencies to allow for testing and building for our continous integration environment. It allows us to install all needed deps on a fresh system with: python3 ./tools/read-dependencies --distro ubuntu --test-distro [--dry-run]. Additionally read-dependencies now looks at what version of python is running the script (py2 vs p3) and opts to install python 2 or 3 system deps respectively. This behavior can still be overridden with python3 ./tools/read-dependencies ... --python-version 2. There are also some distro-specific packaging and test dependencies, like devscripts, tox and libssl-dev on debian or ubuntu. Those pkg dependencies have now been broken out from common pkg deps to avoid trying to install them on centos/redhat/suse.
Diffstat (limited to 'tests/unittests')
0 files changed, 0 insertions, 0 deletions