Azure-Samples / modern-data-warehouse-dataops

DataOps for Microsoft Data Platform technologies. https://aka.ms/dataops-repo
MIT License
588 stars 459 forks source link

Update deploy_synapse_artifacts.sh bash script to use AZ CLI, remove wait commands #416

Closed devlace closed 2 years ago

devlace commented 3 years ago

Description

Currently, the deploy_synapse_artifacts.sh are calling the REST API's directly and using sleep commands that may fail in certain cases (ei. if operation takes longer than wait duration).

With the new support of the AZ CLI for Synapse package / library management, some of the REST API calls in the scripts can be updated.

deploy_synapse_artifact.sh script: https://github.com/Azure-Samples/modern-data-warehouse-dataops/blob/e2e/parking-sensors-synapse/e2e_samples/parking_sensors_synapse/scripts/deploy_synapse_artifacts.sh

DoD