forked from Azure/azure-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Infra] Run integration tests for all profiles. (Azure#7317)
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
. $(cd $(dirname $0); pwd)/artifacts.sh | ||
|
||
ls -la $share_folder/build | ||
|
||
ALL_MODULES=`find $share_folder/build/ -name "*.whl"` | ||
|
||
pip install -e ./tools | ||
[ -d privates ] && pip install -qqq privates/*.whl | ||
pip install $ALL_MODULES | ||
|
||
set -e | ||
|
||
output=$(az cloud list-profiles -otsv) | ||
|
||
for profile in $output; do | ||
echo | ||
echo "Verifying profile:" $profile | ||
az cloud update --profile $profile | ||
azdev verify load-all | ||
echo $profile "profile has been verified." | ||
done | ||
|
||
echo "Successfully loaded all commands in each profile." |