trigger: none

extends:
    template: ../../eng/pipelines/templates/stages/archetype-sdk-tests.yml
    parameters:
      BuildTargetingString: azure*
      ServiceDirectory: cognitivelanguage
      MatrixReplace:
        - TestSamples=.*/true
      MaxParallel: 1
      EnvVars:
        AZURE_QUESTIONANSWERING_KEY: $(qna-key)
        AZURE_QUESTIONANSWERING_PROJECT: $(qna-project)
        AZURE_QUESTIONANSWERING_ENDPOINT: $(qna-uri)
        AZURE_CONVERSATIONS_ENDPOINT: $(clu-uri)
        AZURE_CONVERSATIONS_KEY: $(clu-key)
        AZURE_CONVERSATIONS_PROJECT_NAME: $(clu-project)
        AZURE_CONVERSATIONS_DEPLOYMENT_NAME: $(clu-project-deployment)
        AZURE_CONVERSATIONS_WORKFLOW_PROJECT_NAME: $(clu-workflow-project)
        AZURE_CONVERSATIONS_WORKFLOW_DEPLOYMENT_NAME: $(clu-workflow-project-deployment)
        AZURE_SUBSCRIPTION_ID: $(COGNITIVELANGUAGE_SUBSCRIPTION_ID)
        TEST_MODE: "RunLiveNoRecord" # use when allowing preparers to create the rgs for you
        AZURE_TEST_RUN_LIVE: 'true'
        AZURE_SKIP_LIVE_RECORDING: 'true'
