Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/step-security/hard…
Browse files Browse the repository at this point in the history
…en-runner-2.6.1
  • Loading branch information
Fei-Guo authored Nov 20, 2023
2 parents d4a7ab5 + f93bc04 commit aa06a41
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/kaito-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,24 @@ jobs:
echo "RUN_LLAMA_13B=false" >> $GITHUB_ENV
echo "AI_MODELS_IMAGE_VERSION=0.0.1" >> $GITHUB_ENV
- name: Install Azure CLI latest
run: |
if ! which az > /dev/null; then
echo "Azure CLI not found. Installing..."
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
else
echo "Azure CLI already installed."
fi
- uses: azure/login@v1.4.6
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
allow-no-subscriptions: true

- name: Install Azure CLI latest
run: |
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
az account set --subscription ${{ secrets.AZURE_SUBSCRIPTION_ID }}

- name: 'Set subscription'
run: az account set --subscription ${{secrets.AZURE_SUBSCRIPTION_ID}}

- uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit aa06a41

Please sign in to comment.