diff options
Diffstat (limited to 'ci/ci_run_all_sm_tests.sh')
-rwxr-xr-x | ci/ci_run_all_sm_tests.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/ci_run_all_sm_tests.sh b/ci/ci_run_all_sm_tests.sh index ab6bee1f..c3d698bf 100755 --- a/ci/ci_run_all_sm_tests.sh +++ b/ci/ci_run_all_sm_tests.sh @@ -8,14 +8,13 @@ # C8YUSERNAME : Cumolocity username # C8YTENANT : Cumolocity tenant # C8YDEVICE : The device name -# C8YDEVICEID : The device ID in Cumolocity -# TIMEZONE : Your timezone (temporary) # TEBASEDIR : Base directory for the Thin-Edge repo # EXAMPLEDIR : The direcory of the sawtooth example # C8YURL : e.g. https://thin-edge-io.eu-latest.cumulocity.com set -e + cd $TEBASEDIR # Check if clients are installed @@ -46,6 +45,9 @@ sudo cp tests/PySys/software_management_end_to_end/dummy_plugin_configuration/li python3 -m venv ~/env-pysys source ~/env-pysys/bin/activate pip3 install -r tests/requirements.txt + +export C8YDEVICEID=$(python3 ./ci/find_device_id.py --tenant $C8YTENANT --user $C8YUSERNAME --device $C8YDEVICE --url $C8YURL) + cd tests/PySys/ # Run all software management tests, including the ones for the |