diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-02-18 19:00:53 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2014-02-18 19:05:47 +0000 |
commit | ac6bdf870d0c4727128ce38cf818ee93ce510ce8 (patch) | |
tree | 233c4b944ab50fb9d68d75c162299b3e6789c82b /config.py | |
parent | b3817bc521683faf3a181ed34f8252807adf3858 (diff) | |
download | system-tests-ac6bdf870d0c4727128ce38cf818ee93ce510ce8.tar.gz |
Split out 'util' and 'config' modules from test_trove_upgrades
Diffstat (limited to 'config.py')
-rw-r--r-- | config.py | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/config.py b/config.py new file mode 100644 index 0000000..e53b66a --- /dev/null +++ b/config.py @@ -0,0 +1,45 @@ +# Copyright (C) 2014 Codethink Limited +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +'''Baserock system-test configuration.''' + +import os + +# The test host must have passwordless access to this machine. The tests set +# set StrictHostKeyChecking=no for SSH connections so it does not need to be in +# '~/.ssh/known_hosts'. +DEPLOY_URL = 'kvm+ssh://sam@landfill.ducie.codethink.co.uk/' +DEPLOY_PATH = '/home/VIRT-IMAGES/' + +# Seconds to wait for machine to appear on network before assuming it didn't +# boot or connect to network successfully. +BOOT_TIMEOUT=20 + +# FIXME: building should automatically use the version of Morph from the system +# branch, really ... but for now, if the installed Morph can't build +# baserock:baserock/morphs 'master' branch, you can change this! +os.environ['PYTHONPATH'] = '/src/morph' +MORPH_COMMAND = ['/src/morph/morph', '--no-git-update'] +#MORPH_COMMAND = '/src/morph/morph' +#MORPH_COMMAND = 'morph' + +BUILD_TEMPDIR = '/src/tmp' + +#BRANCH = 'master' +BRANCH = 'baserock/sam/trove-upgrades' + +# For debugging. FIXME: would be better if cliapp's logging mechanism supported +# logging to stdout, but .... :( +VERBOSE = True |