File: test_profile_integration.sh

package info (click to toggle)
azure-cli 2.82.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,359,416 kB
  • sloc: python: 1,910,381; sh: 1,343; makefile: 406; cs: 145; javascript: 74; sql: 37; xml: 21
file content (30 lines) | stat: -rwxr-xr-x 655 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/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 -ev

output=$(
    # only the latest profile left after droping all the azure stack profiles.
    echo latest
)

azdev verify package $share_folder/build/

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."