Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions sdk/scott/ci.yml
Original file line number Diff line number Diff line change
@@ -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
29 changes: 29 additions & 0 deletions sdk/scott/tests.yml
Original file line number Diff line number Diff line change
@@ -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)'