add az cli extension

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-06-18 11:21:20 -04:00
parent f9d4e19828
commit c87bee0812
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 7 additions and 1 deletions

View File

@ -15,4 +15,9 @@ RUN set -x \
--no-cache-dir \ --no-cache-dir \
&& apk del .build-deps && apk del .build-deps
# Add extentions
ENV AZURE_CLI_EXTENSION_NOELBUNDICK_VERSION 0.0.10
RUN az extension add -y \
--source "https://github.com/noelbundick/azure-cli-extension-noelbundick/releases/download/v${AZURE_CLI_EXTENSION_NOELBUNDICK_VERSION}/noelbundick-${AZURE_CLI_EXTENSION_NOELBUNDICK_VERSION}-py2.py3-none-any.whl"
ENTRYPOINT [ "az" ] ENTRYPOINT [ "az" ]

View File

@ -86,7 +86,7 @@ compare() {
echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}" echo -e "\e[36m${dir}:\e[39m current ${current} | ${tag} | ${name}"
else else
# add to the bad versions # add to the bad versions
if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]]; then if [[ "$dir" != "rstudio" ]] && [[ "$dir" != "bazel" ]] && [[ "$dir" != "azure-cli-extension-noelbundick" ]]; then
bad_versions+=( "${dir}" ) bad_versions+=( "${dir}" )
fi fi
echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}" echo -e "\e[31m${dir}:\e[39m current ${current} | ${tag} | ${name} | ${releases}"
@ -94,6 +94,7 @@ compare() {
} }
projects=( projects=(
noelbundick/azure-cli-extension-noelbundick
certbot/certbot certbot/certbot
hashicorp/consul hashicorp/consul
coredns/coredns coredns/coredns