Set correct default credentials in the test_backend.sh scripts
The CI expects user/pass to be openstack_citest/openstack_citest, but it currently defaults to storyboard/storyboard in the {install,destroy}_test_backend.sh scripts. Change-Id: Icbf912dd304286638f31ae99a29c99905a423e90
This commit is contained in:
parent
7feae82881
commit
903444fbdf
@ -5,8 +5,8 @@ echo 'Killing storyboard-api...'
|
|||||||
killall storyboard-api
|
killall storyboard-api
|
||||||
|
|
||||||
# export default vars if not defined, to be available in conf file
|
# export default vars if not defined, to be available in conf file
|
||||||
export DB_USER=${DB_USER:-storyboard}
|
export DB_USER=${DB_USER:-openstack_citest}
|
||||||
export DB_PASSWORD=${DB_PASSWORD:-storyboard}
|
export DB_PASSWORD=${DB_PASSWORD:-openstack_citest}
|
||||||
export DB_TEST=${DB_TEST:-storyboard_test}
|
export DB_TEST=${DB_TEST:-storyboard_test}
|
||||||
|
|
||||||
mysql -u $DB_USER -p$DB_PASSWORD -e "DROP DATABASE IF EXISTS $DB_TEST;"
|
mysql -u $DB_USER -p$DB_PASSWORD -e "DROP DATABASE IF EXISTS $DB_TEST;"
|
||||||
|
@ -7,8 +7,8 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# export default vars if not defined, to be available in conf file
|
# export default vars if not defined, to be available in conf file
|
||||||
export DB_USER=${DB_USER:-storyboard}
|
export DB_USER=${DB_USER:-openstack_citest}
|
||||||
export DB_PASSWORD=${DB_PASSWORD:-storyboard}
|
export DB_PASSWORD=${DB_PASSWORD:-openstack_citest}
|
||||||
export DB_TEST=${DB_TEST:-storyboard_test}
|
export DB_TEST=${DB_TEST:-storyboard_test}
|
||||||
|
|
||||||
# create the user if needed
|
# create the user if needed
|
||||||
|
Loading…
Reference in New Issue
Block a user