Add azure and standalone instance config to environment variables (#4745)

* change to fs to write file

* change random range to 1 to 100

* Added more env variables check as well

* Add azure and standalone env variables

* Add Azure instance to unblock mac pipeline testing

* Fixed some merge issue and improve delete file

* Added standalone test only run on windows
This commit is contained in:
Yurong He
2019-03-29 20:14:44 -07:00
committed by GitHub
parent ddbd8033f9
commit a4c2463b2f
6 changed files with 94 additions and 30 deletions

View File

@@ -3,7 +3,17 @@ export BDC_BACKEND_USERNAME=$1
export BDC_BACKEND_PWD=$2
export BDC_BACKEND_HOSTNAME=$3
export PYTHON_TEST_PATH=$4
export STANDALONE_SQL_USERNAME=%~5
export STANDALONE_SQL_PWD=%~6
echo No problem reading $BDC_BACKEND_USERNAME, password, $BDC_BACKEND_HOSTNAME, $PYTHON_TEST_PATH, $STANDALONE_SQL_USERNAME and $STANDALONE_SQL_PWD
export STANDALONE_SQL=%~5
export STANDALONE_SQL_USERNAME=%~6
export STANDALONE_SQL_PWD=%~7
export AZURE_SQL=%~8
export AZURE_SQL_USERNAME=%~9
export AZURE_SQL_PWD=%~10
echo No problem reading BDC cluster$BDC_BACKEND_USERNAME, password, $BDC_BACKEND_HOSTNAME and $PYTHON_TEST_PATH,
echo No problem reading Standalone SQL instance: $STANDALONE_SQL, $STANDALONE_SQL_USERNAME and $STANDALONE_SQL_PWD
echo No problem reading AZURE SQL instance: $AZURE_SQL, $AZURE_SQL_USERNAME and $AZURE_SQL_PWD
set