forked from Seagate/cortx-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_run_tests.sh
23 lines (18 loc) · 1004 Bytes
/
docker_run_tests.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
make all --makefile=scripts/s3_tools/Makefile ACCESS="$AWS_ACCESS_KEY_ID" SECRET="$AWS_SECRET_ACCESS_KEY"
export CORTX_TEST_ROOT=/cortx-test
export LIB=/usr/lib/python3.7
export SITE_PKGS=/usr/lib/python3.7/site-packages
export PYTHONPATH=$LIB:$SITE_PKGS:$CORTX_TEST_ROOT
"$PYTHON_VAR" ci_tools/aws_configure.py --access_key="$AWS_ACCESS_KEY_ID" --secret_key="$AWS_SECRET_ACCESS_KEY"
if [ "$PRODUCT_FAMILY" = "LR" ]; then
cmd="$PYTHON_VAR -u testrunner.py -te=$TEST_EXECUTION_NUMBER -tp=$TEST_PLAN_NUMBER
-tg=$TARGET_NODE -b=$BUILD -t=$BUILD_TYPE -d=$DB_UPDATE -ll=$LOG_LEVEL
--force_serial_run=$SEQUENTIAL_EXECUTION -tt $TEST_TYPES -i=$DATA_INTEGRITY_CHECK"
else
cmd="$PYTHON_VAR -u testrunner.py -te=$TEST_EXECUTION_NUMBER -tp=$TEST_PLAN_NUMBER
-tg=$TARGET_NODE -b=$BUILD -t=$BUILD_TYPE -d=$DB_UPDATE --force_serial_run=$SEQUENTIAL_EXECUTION
-hc=$HEALTH_CHECK -s=$USE_SSL -csm=$CSM_CHECKS -c=$VALIDATE_CERTS -i=$DATA_INTEGRITY_CHECK -ll=$LOG_LEVEL
-tt $TEST_TYPES"
fi
$cmd