diff --git a/sdk/scott/ci.yml b/sdk/scott/ci.yml new file mode 100644 index 000000000000..3b01611c3d18 --- /dev/null +++ b/sdk/scott/ci.yml @@ -0,0 +1,30 @@ +# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. +trigger: + branches: + include: + - master + - hotfix/* + - release/* + paths: + include: + - sdk/scott/ + +pr: + branches: + include: + - master + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/scott/ + +extends: + template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: scott + Artifacts: + - name: azure-data-scott + groupId: com.azure + safeName: azuredatascott diff --git a/sdk/scott/tests.yml b/sdk/scott/tests.yml new file mode 100644 index 000000000000..298bb65a7541 --- /dev/null +++ b/sdk/scott/tests.yml @@ -0,0 +1,29 @@ +trigger: none + +jobs: + - template: ../../eng/pipelines/templates/jobs/archetype-sdk-tests.yml + parameters: + ServiceDirectory: appconfiguration + Artifacts: + - name: azure-spring-cloud-test-appconfiguration-config + groupId: com.azure.spring + safeName: azurespringcloudtestappconfigurationconfig + TimeoutInMinutes: 90 + EnvVars: + AZURE_TEST_MODE: RECORD + AZURE_APPCONFIG_CONNECTION_STRING: $(AZURE_APPCONFIG_CONNECTION_STRING) + AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id) + AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret) + AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id) + PostRunSteps: + - script: | + python --version + python -m pip install setuptools termcolor in_place + python sdk/spring/scripts/replace_util.py --module appconfiguration --log debug --color false + displayName: 'Run replace_util.py' + - task: Maven@3 + displayName: 'Run tests again.' + inputs: + mavenPomFile: pom.xml + goals: clean verify + options: '-Dgpg.skip -Dmaven.wagon.http.pool=false -Dmaven.javadoc.skip=true -Drevapi.skip=true -pl $(ProjectList)'