summaryrefslogtreecommitdiffstats
path: root/ci/ci_smoke_test_az.sh
diff options
context:
space:
mode:
authorDidier Wenzek <didier.wenzek@acidalie.com>2022-08-19 09:05:33 +0200
committerGitHub <noreply@github.com>2022-08-19 09:05:33 +0200
commit53c75cb81ec4551fde6dab3e26ef55ff6cd7e7f2 (patch)
tree73ecbfeae6dfd6c9a3d084c769e802d1e22dc560 /ci/ci_smoke_test_az.sh
parentee3047cd76ad7485526f262442d97a48c6427349 (diff)
parente67ad4d292fb734ed8d6931e7b400cbc2f916dc8 (diff)
Merge pull request #1326 from matthiasbeyer/add-shellcheck
Add shellcheck action, fix issues
Diffstat (limited to 'ci/ci_smoke_test_az.sh')
-rwxr-xr-xci/ci_smoke_test_az.sh5
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