Skip to content

Commit

Permalink
Fix cloud-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
satyaog committed May 22, 2024
1 parent 5b5700c commit ab6016f
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/cloud-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,22 +53,28 @@ jobs:
with:
python-version: 3.9

- name: echo
run: |
echo "1${{ secrets.ARM_CLIENT_ID }}", "2${{ secrets.ARM_CLIENT_SECRET }}", "3${{ secrets.ARM_SUBSCRIPTION_ID }}", "4${{ secrets.ARM_TENANT_ID }}"
# Follow
# https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/guides/service_principal_client_secret
# to generate a clientId as well as a clientSecret
- name: Azure login
uses: azure/login@v2
with:
environment: cloud-ci
creds: |
{
"clientId": "${{ secrets.ARM_CLIENT_ID }}",
"clientSecret": "${{ secrets.ARM_CLIENT_SECRET }}",
"subscriptionId": "${{ secrets.ARM_SUBSCRIPTION_ID }}",
"tenantId": "${{ secrets.ARM_TENANT_ID }}"
"clientId": "1${{ secrets.ARM_CLIENT_ID }}",
"clientSecret": "2${{ secrets.ARM_CLIENT_SECRET }}",
"subscriptionId": "3${{ secrets.ARM_SUBSCRIPTION_ID }}",
"tenantId": "4${{ secrets.ARM_TENANT_ID }}"
}
- name: dependencies
run: |
echo "1${{ secrets.ARM_CLIENT_ID }}", "2${{ secrets.ARM_CLIENT_SECRET }}", "3${{ secrets.ARM_SUBSCRIPTION_ID }}", "4${{ secrets.ARM_TENANT_ID }}"
python -m pip install -U pip
python -m pip install -U poetry
poetry lock --no-update
Expand Down

0 comments on commit ab6016f

Please sign in to comment.