a3d5b65a33
Added missed param for "case" for newton Change-Id: Iba0eeefb228f8af619188f84c3e6f1978a7cf9a0
28 lines
618 B
Bash
Executable File
28 lines
618 B
Bash
Executable File
#!/bin/bash -xe
|
|
|
|
. $FUNCTION_PATH/functions-common.sh
|
|
|
|
plugin=$(echo $JOB_NAME | awk -F '-' '{ print $3 }')
|
|
release=$(echo $JOB_NAME | awk -F '-' '{ print $5 }')
|
|
|
|
case $release in
|
|
liberty)
|
|
ZUUL_BRANCH="stable/liberty"
|
|
;;
|
|
mitaka)
|
|
ZUUL_BRANCH="stable/mitaka"
|
|
;;
|
|
newton)
|
|
ZUUL_BRANCH="stable/newton"
|
|
;;
|
|
esac
|
|
|
|
sahara_path="/tmp/sahara"
|
|
get_dependency "$sahara_path" "openstack/sahara" "$ZUUL_BRANCH"
|
|
cd "$sahara_path"
|
|
|
|
tox -e venv --notest
|
|
.tox/venv/bin/pip install $WORKSPACE
|
|
|
|
$WORKSPACE/sahara-ci-config/slave-scripts/gate-sahara.sh "$sahara_path" "$WORKSPACE"
|