job: fix incorrect indentation found by sphinx

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
vagrant: use ''destroy' as default VAGRANT_DONE_ACTION

This value is safer as it won't strain the host system for resources if ./test-in-vagrant.sh is started
outside of ./tarmac-verify

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
vagrant: destroy a VM when it fails to 'up'

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
vagrant: display timing information in more readable way

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
vagrant: use ANSI color codes for pass/fail

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
vagrant: allow to test only a specific release from command line

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
vagrant: run checkbox tests with setup.py test rather than ./test

./test is doing some trickery with sys.path and is not really needed
since standard unittest runner does everything and better (detecting
leaking files)

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
support: add dependency support module

This patch changes all of the deployment scripts and adds a few new
conventions and utilities.

By convention, all sub-projects should have a directory called
'requirements' that may have any number of deb-*.txt and pip-*.txt files
inside. All of the deb-*.txt files must list the debian packages to
install, one per line. All of the pip-*.txt files must list the pypi
packages to install.  Unlike debian packages, pypi packages must be
pinned, that is, refer to a particular version using the name==version
syntax. All of those packages must be collected in a separate repository
'external-tarballs' which is managed externally.

To prepare a fresh system for checkbox development a number of steps are
taken. Firsst all of the debian dependencies are gathered and installed.
After that pip is installed from source. This is required because pip
for python3 is not packaged in Ubuntu 12.04 and it is required to
install additional packages. Pip, as all non-Debian packages, is
installed from 'external-tarballs'. Pip then is used to install all of
the gathered pip dependencies. At this time all of the external
dependencies should be ready. The last step is to develop all of the
sub-projects, in order: checkbox, plainbox and checkbox-ng.

The same sequence of actions is taken when provisioning vagrant images
and local, virtualenv-based development. Due to the overall complexity
the per-subproject mk-venv.sh files are now replaced with a single
global copy.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
plainbox: remove mk-venv and associated test infrastructure

The plainbox-specific mk-venv.sh script has been entirely replaced by
the global mk-venv script which is also used (partially) to provision
vagrant for all other tests

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox-ng: remove mk-venv.sh

The checkbox-ng specific version of this script has been entirely
replaced by the global mk-venv script.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
checkbox: drop old checkbox testing script

This script is no longer needed. All unit tests run with 'setup.py test'

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
"[r=roadmr][bug=][author=zkrynicki] automatic merge by tarmac"
Launchpad automatic translations update.
checkbox: move current checkbox code into checkbox-old

This patch cleans up the top-level directory of the project into dedicated
sub-project directories. One for checkbox-old (the current checkbox and all the
associated stuff), one for plainbox and another for checkbox-ng.

There are some associated changes, such as updating the 'source' mode of
checkbox provider in plainbox, and fixing paths in various test scripts that we
have.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
unify .bzrignore and .gitignore

The files were old and a bit unmaintained. I've commented on why certain things
are needed and hopefully properly updated every path that relates to old
checkbox.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
secure: checkbox-trusted-launcher.py: Force usage of bash to run commands.

It was done for the targeted job, now it's also the way to eval local
job output (when the launcher is started using "--via local_job_name")
Updated checkbox debian rules to use setup.py test instead of the old test script
"[r=roadmr][bug=1185382][author=sylvain-pineau] secure: checkbox-trusted-launcher.py: Force usage of bash to run commands."
"[r=sylvain-pineau][bug=][author=roadmr] Updated checkbox debian rules to use setup.py test instead of the old test script"
Remove empty folders