Skip to content
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

Updated install-az-cli.yml for Force install pip and other packages issues #76

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tf-gha-install-terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ jobs:
#
inlineScript: |
az account set -s ${{ env.ARM_SUBSCRIPTION_ID }}
az storage account create -n ${{ inputs.terraform_st_storage_account }} -g ${{ inputs.terraform_st_resource_group }} -l ${{ inputs.terraform_st_location }} --sku Standard_LRS --minimum-tls-version "TLS1_2"
az storage account create -n ${{ inputs.terraform_st_storage_account }} -g ${{ inputs.terraform_st_resource_group }} -l ${{ inputs.terraform_st_location }} --sku Standard_LRS --min-tls-version "TLS1_2"
env:
ARM_CLIENT_ID: ${{ secrets.clientId }}
ARM_CLIENT_SECRET: ${{ secrets.clientSecret }}
Expand Down
22 changes: 13 additions & 9 deletions templates/aml-cli-v2/install-az-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@ steps:
workingDirectory: $(System.DefaultWorkingDirectory)
inlineScript: |
set -e # fail on error
python -m pip install -U --force-reinstall pip pip install azure-cli==2.35
python -m pip install -U --force-reinstall pip pip install azure-ai-ml==1.1.0
python -m pip install -U --force-reinstall pip pip install azure-common==1.1.28
python -m pip install -U --force-reinstall pip pip install azure-core==1.26.1
python -m pip install -U --force-reinstall pip pip install azure-identity==1.10.0
python -m pip install -U --force-reinstall pip pip install azure-mgmt-core==1.3.0
python -m pip install -U --force-reinstall pip pip install azure-storage-blob==12.14.1
python -m pip install -U --force-reinstall pip pip install azure-storage-file-datalake==12.9.1
python -m pip install -U --force-reinstall pip pip install azure-storage-file-share==12.7.0
python -m pip install -U --force-reinstall pip
python -m pip install -U --force-reinstall azure-cli==2.35
python -m pip install -U --force-reinstall azure-ai-ml==1.1.0
python -m pip install -U --force-reinstall azure-common==1.1.28
python -m pip install -U --force-reinstall azure-core==1.26.1
python -m pip install -U --force-reinstall azure-identity==1.10.0
python -m pip install -U --force-reinstall azure-mgmt-core==1.3.0
python -m pip install -U --force-reinstall azure-storage-blob==12.14.1
python -m pip install -U --force-reinstall azure-storage-file-datalake==12.9.1
python -m pip install -U --force-reinstall azure-storage-file-share==12.7.0
python -m pip install -U --force-reinstall pyOpenSSL==24.2.1
python -m pip install -U --force-reinstall cryptography==43.0.1
python -m pip install -U --force-reinstall requests==2.32.3
az version


Expand Down