Skip to content

Commit

Permalink
Hotfix az rewrite and storage_preview (Azure#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianhui Harold authored and mmyyrroonn committed Nov 7, 2019
1 parent b361092 commit 03db245
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,3 @@ jobs:
env: PURPOSE='SyncAvailableExtensionsDoc'
if: repo = Azure/azure-cli-extensions and branch = master and type = cron
fast_finish: true
allow_failures:
- env: PURPOSE='SourceTests'
26 changes: 15 additions & 11 deletions scripts/ci/verify_modified_index.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

az extension remove -n $ext

echo $ext "extension has been removed."
done <<< "$modified_extensions"

Expand Down
4 changes: 2 additions & 2 deletions src/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2180,7 +2180,7 @@
"filename": "storage_preview-0.2.9-py2.py3-none-any.whl",
"metadata": {
"azext.isPreview": true,
"azext.minCliCoreVersion": "2.0.52",
"azext.minCliCoreVersion": "2.0.67",
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
Expand Down Expand Up @@ -2218,7 +2218,7 @@
"summary": "Provides a preview for upcoming storage features.",
"version": "0.2.9"
},
"sha256Digest": "211afaf23a6340671fee8a4b9e7c982f28b9ec9d1bf2e403fcc9de08c561ab7b"
"sha256Digest": "880e01de0fab8893770497ef9410559ae223a1f09dbd6a23712226ab4e2d5ecb"
}
],
"subscription": [
Expand Down

0 comments on commit 03db245

Please sign in to comment.