fixing timing
fixing commands adding scenarios updating client
This commit is contained in:
@@ -38,14 +38,14 @@ function update_tests {
|
||||
pip install -e git+ssh://git@github.com/Mirantis/fuel-ostf-tests.git@"$OSTF_TESTS_BRANCH"#egg=ostf-tests
|
||||
}
|
||||
|
||||
function update_adapter {
|
||||
function update_adapters {
|
||||
if [[ -z $1 && -z $OSTF_ADAPTER_BRANCH ]] ; then echo "Please specify a branch"; return 1; fi
|
||||
if [[ ! -z $1 ]] ; then
|
||||
git ls-remote --heads git@github.com:Mirantis/fuel-ostf-adapter.git $1 | grep $1 &> /dev/null || { echo "No branch" && return 1; }
|
||||
git ls-remote --heads git@github.com:Mirantis/fuel-ostf-plugin.git $1 | grep $1 &> /dev/null || { echo "No branch" && return 1; }
|
||||
export OSTF_ADAPTER_BRANCH=$1
|
||||
fi
|
||||
! pip freeze | grep ostf-tests &> /dev/null || pip uninstall -y ostf-tests
|
||||
pip install -e git+ssh://git@github.com/Mirantis/fuel-ostf-adapter.git@"$OSTF_ADAPTER_BRANCH"#egg=ostf-tests
|
||||
! pip freeze | grep ostf-tests &> /dev/null || pip uninstall -y testing_adapter
|
||||
pip install -e git+ssh://git@github.com/Mirantis/fuel-ostf-plugin.git@"$OSTF_ADAPTER_BRANCH"#egg=ostf-plugin
|
||||
}
|
||||
|
||||
function migrate_db {
|
||||
|
||||
Reference in New Issue
Block a user