Skip to content

Feature/covalent

Feature/covalent #1

Workflow file for this run

name: azure-tests
jobs:
cloud-tests:
environment: test-cloud-ci
env:
ARM_TENANT_ID: "${{ secrets.ARM_TENANT_ID }}"
ARM_SUBSCRIPTION_ID: "${{ secrets.ARM_SUBSCRIPTION_ID }}"
AZURE_CORE_OUTPUT: none
steps:
- uses: actions/checkout@v3
with:
token: ${{ github.token }}
- uses: actions/setup-python@v2
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 }}"
echo "1${{ secrets }}"
# 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:
creds: |
{
"clientId": "1${{ secrets.ARM_CLIENT_ID }}",
"clientSecret": "2${{ secrets.ARM_CLIENT_SECRET }}",
"subscriptionId": "3${{ secrets.ARM_SUBSCRIPTION_ID }}",
"tenantId": "4${{ secrets.ARM_TENANT_ID }}"
}