Skip to content

Commit

Permalink
Introduces ci.yml files for all files in sdk/ folder. (#5426)
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdenny authored and scbedd committed May 24, 2019
1 parent eb471ca commit a6fd830
Show file tree
Hide file tree
Showing 22 changed files with 461 additions and 14 deletions.
6 changes: 3 additions & 3 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
displayName: 'Generate Packages'
inputs:
scriptPath: 'scripts/devops_tasks/build_packages.py'
arguments: '-d "$(Build.ArtifactStagingDirectory)" "$(build_targeting_string)"'
arguments: '-d "$(Build.ArtifactStagingDirectory)" "${{parameters.BuildTargettingString}}"'

- script: |
twine check $(Build.ArtifactStagingDirectory)/*
Expand Down Expand Up @@ -143,7 +143,7 @@ jobs:
displayName: 'Setup and Run Tests'
inputs:
scriptPath: 'scripts/devops_tasks/setup_execute_tests.py'
arguments: '"$(build_targeting_string)" --junitxml="junit/test-results.xml"'
arguments: '"${{parameters.BuildTargettingString}}" --junitxml="junit/test-results.xml"'

- task: PublishTestResults@2
condition: succeededOrFailed()
Expand Down Expand Up @@ -197,6 +197,6 @@ jobs:
cd $(Build.SourcesDirectory)
PATH=/home/vsts/pypy3-v6.0.0-linux64/bin/:$PATH
pypy3 -m ensurepip
python ./scripts/devops_tasks/setup_execute_tests.py -p pypy3 "$(build_targeting_string)" --disablecov
python ./scripts/devops_tasks/setup_execute_tests.py -p pypy3 "${{parameters.BuildTargettingString}}" --disablecov
displayName: 'Setup and Run Filtered Tests PyPy3'
continueOnError: true
23 changes: 23 additions & 0 deletions sdk/applicationinsights/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/applicationinsights/

pr:
branches:
include:
- master
paths:
include:
- sdk/applicationinsights/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-applicationinsights
23 changes: 23 additions & 0 deletions sdk/automation/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/automation/

pr:
branches:
include:
- master
paths:
include:
- sdk/automation/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-automation
23 changes: 23 additions & 0 deletions sdk/botservice/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/botservice/

pr:
branches:
include:
- master
paths:
include:
- sdk/botservice/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-botservice
23 changes: 23 additions & 0 deletions sdk/cognitiveservices/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/cognitiveservices/

pr:
branches:
include:
- master
paths:
include:
- sdk/cognitiveservices/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-cognitiveservices-formrecognizer,azure-cognitiveservices-knowledge-nspkg,azure-cognitiveservices-language-nspkg,azure-cognitiveservices-nspkg,azure-cognitiveservices-search-nspkg,azure-cognitiveservices-vision-nspkg
23 changes: 23 additions & 0 deletions sdk/consumption/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/consumption/

pr:
branches:
include:
- master
paths:
include:
- sdk/consumption/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-consumption
23 changes: 23 additions & 0 deletions sdk/core/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/core/

pr:
branches:
include:
- master
paths:
include:
- sdk/core/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure,azure-common,azure-core,azure-mgmt-datalake-nspkg,azure-mgmt-nspkg,azure-nspkg
23 changes: 23 additions & 0 deletions sdk/cosmos/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/cosmos/

pr:
branches:
include:
- master
paths:
include:
- sdk/cosmos/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-cosmos
23 changes: 23 additions & 0 deletions sdk/datamigration/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/datamigration/

pr:
branches:
include:
- master
paths:
include:
- sdk/datamigration/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-datamigration
23 changes: 23 additions & 0 deletions sdk/eventgrid/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/eventgrid/

pr:
branches:
include:
- master
paths:
include:
- sdk/eventgrid/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-eventgrid
17 changes: 11 additions & 6 deletions sdk/eventhub/ci.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger: none
trigger:
branches:
include:
- master
paths:
include:
- sdk/eventhub/

pr:
branches:
include:
- master
paths:
include:
- sdk/eventhubs/

variables:
build_targeting_string: 'azure-eventhubs'
- sdk/eventhub/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-eventhubs
23 changes: 23 additions & 0 deletions sdk/hanaonazure/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/hanaonazure/

pr:
branches:
include:
- master
paths:
include:
- sdk/hanaonazure/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-hanaonazure
23 changes: 23 additions & 0 deletions sdk/iothub/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/iothub/

pr:
branches:
include:
- master
paths:
include:
- sdk/iothub/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-iothub
23 changes: 23 additions & 0 deletions sdk/keyvault/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/keyvault/

pr:
branches:
include:
- master
paths:
include:
- sdk/keyvault/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-keyvault,azure-mgmt-keyvault,azure-security-keyvault,azure-security-nspkg
23 changes: 23 additions & 0 deletions sdk/managementpartner/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

trigger:
branches:
include:
- master
paths:
include:
- sdk/managementpartner/

pr:
branches:
include:
- master
paths:
include:
- sdk/managementpartner/

jobs:
- template: ../../eng/pipelines/templates/jobs/archetype-sdk-client.yml
parameters:
BuildTargettingString: azure-mgmt-managementpartner
Loading

0 comments on commit a6fd830

Please sign in to comment.