diff options
Diffstat (limited to 'ci/ci_smoke_test_az.sh')
-rwxr-xr-x | ci/ci_smoke_test_az.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/ci_smoke_test_az.sh b/ci/ci_smoke_test_az.sh index e6cf5c00..b28fd57a 100755 --- a/ci/ci_smoke_test_az.sh +++ b/ci/ci_smoke_test_az.sh @@ -19,14 +19,15 @@ set -e # Read device thumbprint from command line THUMB=$(sudo tedge cert show | grep Thumb | cut -c13-) -echo "DEVICE Thumbprint is " $THUMB +echo "DEVICE Thumbprint is $THUMB" python3 -m venv ~/env-eventhub +# shellcheck disable=SC1090 source ~/env-eventhub/bin/activate pip install azure-eventhub -./ci/az_upload_device_cert.py -d $C8YDEVICE -t $THUMB -u $IOTHUBNAME -s iothubowner +./ci/az_upload_device_cert.py -d "$C8YDEVICE" -t "$THUMB" -u "$IOTHUBNAME" -s iothubowner sudo tedge connect az |