devops/providers/azure-devops/templates/infrastructure/tasks/tests-int.yml [7:27]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    env:
      TF_VAR_remote_state_container: $(REMOTE_STATE_CONTAINER)
      TF_VAR_remote_state_account: $(REMOTE_STATE_ACCOUNT)
    condition: not(coalesce(variables.SKIP_TESTS, ${{ parameters.skip }}))
    inputs:
      azureSubscription: '$(SERVICE_CONNECTION_NAME)'
      addSpnToEnvironment: true
      scriptLocation: inlineScript
      inlineScript: |
        #!/usr/bin/env bash
        set -euo pipefail

        export ARM_TENANT_ID=$tenantId
        export ARM_CLIENT_SECRET=$servicePrincipalKey
        export ARM_CLIENT_ID=$servicePrincipalId
        export ARM_ACCESS_KEY=$(az storage account keys list --subscription "$ARM_SUBSCRIPTION_ID" --account-name "$REMOTE_STATE_ACCOUNT" --query "[0].value" --output tsv)

        cd "$ARTIFACT_ROOT"/"$TERRAFORM_TEMPLATE_PATH"

        # Setting the scripts to be run as executable
        chmod -fR 755 *.sh || true
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



devops/providers/azure-devops/templates/infrastructure/tasks/tests-unit.yml [7:27]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    env:
      TF_VAR_remote_state_container: $(REMOTE_STATE_CONTAINER)
      TF_VAR_remote_state_account: $(REMOTE_STATE_ACCOUNT)

    condition: not(coalesce(variables.SKIP_TESTS, ${{ parameters.skip }}))
    inputs:
      azureSubscription: '$(SERVICE_CONNECTION_NAME)'
      addSpnToEnvironment: true
      scriptLocation: inlineScript
      inlineScript: |
        #!/usr/bin/env bash
        set -euo pipefail

        export ARM_TENANT_ID=$tenantId
        export ARM_CLIENT_SECRET=$servicePrincipalKey
        export ARM_CLIENT_ID=$servicePrincipalId
        export ARM_ACCESS_KEY=$(az storage account keys list --subscription "$ARM_SUBSCRIPTION_ID" --account-name "$REMOTE_STATE_ACCOUNT" --query "[0].value" --output tsv)
        cd "$ARTIFACT_ROOT"/"$TERRAFORM_TEMPLATE_PATH"

        # Setting the scripts to be run as executable
        chmod -fR 755 *.sh || true
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



