-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Hotfix az rewrite and storage_preview #1075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9e03f67
45bfa50
7a23218
33fd203
9527b4d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,8 +4,10 @@ set -ex | |
| # Install CLI & Dev Tools | ||
| echo "Installing azure-cli-dev-tools and azure-cli..." | ||
| git clone --single-branch -b dev https://github.com/Azure/azure-cli.git ../azure-cli | ||
| python ../azure-cli/scripts/dev_setup.py | ||
| pip install -e "git+https://github.com/Azure/azure-cli@dev#egg=azure-cli-dev-tools&subdirectory=tools" -q | ||
|
|
||
| pip install azdev | ||
| azdev setup -c ../azure-cli | ||
|
|
||
| echo "Installed." | ||
| az --version | ||
| set +x | ||
|
|
@@ -26,17 +28,19 @@ while read line; do | |
| echo | ||
| echo "New index entries detected for extension:" $ext | ||
| echo "Adding latest entry from source:" $source | ||
| set +e | ||
|
|
||
| az extension add -s $source -y | ||
| if [ $? != 0 ]; then | ||
| continue | ||
| fi | ||
| set -e | ||
| echo "Load all commands" | ||
| azdev verify load-all | ||
| echo "Running linter" | ||
| azdev cli-lint --ci --extensions $ext | ||
|
|
||
| # TODO migrate to public azdev | ||
| echo "Load all commands..." | ||
| # azdev verify load-all | ||
|
|
||
| # TODO migrate to public azdev | ||
| echo "Running linter..." | ||
| # azdev cli-lint --ci --extensions $ext | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should we run the azdev linter and azdev verify load-all?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Currently, the public azdev doesn't have those two commands. So it's a dangerous hotfix which will open the Pandora Box that leave extension commands without some correctness verification. |
||
|
|
||
| az extension remove -n $ext | ||
|
|
||
| echo $ext "extension has been removed." | ||
| done <<< "$modified_extensions" | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.