trigger: none

stages:
  - template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
    parameters:
      BuildTargetingString: azure-data-tables
      ServiceDirectory: tables
      SupportedClouds: 'Public,UsGov,China'
      CloudConfig:
        Public:
          SubscriptionConfiguration: $(sub-config-azure-cloud-test-resources)
        UsGov:
          SubscriptionConfiguration: $(sub-config-gov-test-resources)
        China:
          SubscriptionConfiguration: $(sub-config-cn-test-resources)
          Location: chinanorth3
      MatrixReplace:
        - TestSamples=.*/true
      EnvVars:
        STORAGE_ACCOUNT_NAME: $(python-storage-storage-account-name)
        STORAGE_ACCOUNT_KEY: $(python-storage-storage-account-key)
        BLOB_STORAGE_ACCOUNT_NAME: $(python-storage-blob-storage-account-name)
        BLOB_STORAGE_ACCOUNT_KEY: $(python-storage-blob-storage-account-key)
        OAUTH_STORAGE_ACCOUNT_NAME: $(python-storage-oauth-storage-account-name)
        OAUTH_STORAGE_ACCOUNT_KEY: $(python-storage-oauth-storage-account-key)
        ACTIVE_DIRECTORY_APPLICATION_ID: $(aad-azure-sdk-test-client-id)
        ACTIVE_DIRECTORY_APPLICATION_SECRET: $(aad-azure-sdk-test-client-secret)
        ACTIVE_DIRECTORY_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
        CONNECTION_STRING: $(python-storage-blob-connection-string)
        BLOB_CONNECTION_STRING: $(python-storage-blob-connection-string)
        TEST_MODE: 'RunLiveNoRecord'
        AZURE_SKIP_LIVE_RECORDING: 'True'
        AZURE_TEST_RUN_LIVE: 'true'
