Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference tools repo version #9577

Merged
Merged
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
12 changes: 2 additions & 10 deletions eng/pipelines/doc-index.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: azure/azure-sdk-tools
ref: refs/heads/master
endpoint: azure

jobs:
- job: "Build"
variables:
Expand All @@ -18,7 +10,7 @@ jobs:
inputs:
versionSpec: "3.6"

- template: eng/pipelines/templates/scripts/replace-relative-links.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/replace-relative-links.yml
parameters:
TargetFolder: .
RootFolder: .
Expand All @@ -35,7 +27,7 @@ jobs:
$(Build.SourcesDirectory)/eng/tools/generate-static-index/Generate-DocIndex.ps1 -RepoRoot $(Build.SourcesDirectory) -verbose
displayName: 'Generate Doc Index'

- template: eng/pipelines/templates/scripts/mashup-doc-index.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/mashup-doc-index.yml
parameters:
SourceDirectory: $(Build.SourcesDirectory)

Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/jobs/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
condition: and(succeeded(),ne(variables['SetDevVersion'],'true'))
displayName: "Install dependencies"

- template: eng/pipelines/templates/scripts/replace-relative-links.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/replace-relative-links.yml
parameters:
TargetFolder: $(Build.SourcesDirectory)/sdk/$(folder)
RootFolder: $(Build.SourcesDirectory)
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
ward scan -d $(Build.SourcesDirectory) -c $(Build.SourcesDirectory)/eng/.docsettings.yml
displayName: "Verify Readmes"

- template: eng/pipelines/templates/scripts/verify-path-length.yml@azure-sdk-tools
- template: /eng/common/pipelines/templates/steps/verify-path-length.yml
parameters:
SourceDirectory: $(Build.SourcesDirectory)

Expand Down
52 changes: 39 additions & 13 deletions eng/pipelines/templates/jobs/archetype-sdk-integration.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,43 @@
parameters:
PackageName: ""
PreIntegrationSteps: ""
PostIntegrationSteps: ""
ResourceServiceDirectory: ""
EnvVars: {}
MaxParallel: 0
TimeoutInMinutes: 60
PublishCodeCoverage: false
TestBrowser: true
TestSamples: true
TestMinMax: false
TestSame: false
Matrix:
- name: PackageName
type: string
default: ""
- name: PreIntegrationSteps
type: string
default: ""
- name: PostIntegrationSteps
type: string
default: ""
- name: ResourceServiceDirectory
type: string
default: ""
- name: EnvVars
type: object
default: {}
- name: MaxParallel
type: number
default: 0
- name: TimeoutInMinutes
type: number
default: 0
- name: PublishCodeCoverage
type: boolean
default: false
- name: TestBrowser
type: boolean
default: true
- name: TestSamples
type: boolean
default: true
- name: TestMinMax
type: boolean
default: false
- name: TestSame
type: boolean
default: false
- name: Matrix
type: object
default:
Linux Node 8:
OSVmImage: "ubuntu-18.04"
TestType: "node"
Expand Down
38 changes: 31 additions & 7 deletions eng/pipelines/templates/stages/archetype-sdk-client.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,35 @@
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200608.1
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20200514.1

parameters:
Artifacts: []
ServiceDirectory: not-specified
IncludeRelease: true
TargetDocRepoOwner: 'MicrosoftDocs'
TargetDocRepoName: 'azure-docs-sdk-node'

- name: Artifacts
type: object
default: []
- name: ServiceDirectory
type: string
default: not-specified
- name: IncludeRelease
type: boolean
default: true
- name: TargetDocRepoOwner
type: string
default: MicrosoftDocs
- name: TargetDocRepoName
type: string
default: azure-docs-sdk-node
- name: RunUnitTests
type: boolean
default: true

stages:
- stage: Build
jobs:
Expand All @@ -23,4 +48,3 @@ stages:
ArtifactName: packages
TargetDocRepoOwner: ${{ parameters.TargetDocRepoOwner }}
TargetDocRepoName: ${{ parameters.TargetDocRepoName }}

25 changes: 21 additions & 4 deletions eng/pipelines/templates/stages/cosmos-sdk-client.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
resources:
repositories:
- repository: azure-sdk-tools
type: github
name: azure/azure-sdk-tools
endpoint: azure
ref: refs/tags/azure-sdk-tools_20200608.1
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
ref: refs/tags/azure-sdk-build-tools_20200514.1

parameters:
Artifacts: []
ServiceDirectory: not-specified
RunUnitTests: false
- name: Artifacts
type: object
default: []
- name: ServiceDirectory
type: string
default: not-specified
- name: RunUnitTests
type: boolean
default: false

stages:
- stage: Build
Expand All @@ -13,7 +31,6 @@ stages:

- template: ../jobs/archetype-sdk-integration.yml
parameters:
PackagePath: "sdk/cosmosdb/cosmos/"
PackageName: "@azure/cosmos"
TestBrowser: false
TestSamples: false
Expand Down
32 changes: 12 additions & 20 deletions sdk/appconfiguration/app-configuration/tests.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
trigger: none
resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure
jobs:
- template: ../../../eng/pipelines/templates/jobs/archetype-sdk-integration.yml
parameters:
PackageName: "@azure/app-configuration"
ResourceServiceDirectory: appconfiguration
TestBrowser: false
TestSamples: false
EnvVars:
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)

extends:
template: ../../../eng/pipelines/templates/jobs/archetype-sdk-integration.yml
parameters:
PackageName: "@azure/app-configuration"
ResourceServiceDirectory: appconfiguration
TestBrowser: false
TestSamples: false
EnvVars:
AZURE_CLIENT_ID: $(aad-azure-sdk-test-client-id)
AZURE_TENANT_ID: $(aad-azure-sdk-test-tenant-id)
AZURE_CLIENT_SECRET: $(aad-azure-sdk-test-client-secret)
24 changes: 7 additions & 17 deletions sdk/appconfiguration/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
include:
Expand All @@ -32,10 +22,10 @@ pr:
include:
- sdk/appconfiguration/

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: appconfiguration
Artifacts:
- name: azure-app-configuration
safeName: azureappconfiguration
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: appconfiguration
Artifacts:
- name: azure-app-configuration
safeName: azureappconfiguration
60 changes: 25 additions & 35 deletions sdk/core/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
include:
Expand Down Expand Up @@ -38,28 +28,28 @@ pr:
- common/config/rush/
- rush.json

stages:
- template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: core
Artifacts:
- name: azure-abort-controller
safeName: azureabortcontroller
- name: azure-core-amqp
safeName: azurecoreamqp
- name: azure-core-arm
safeName: azurecorearm
- name: azure-core-asynciterator-polyfill
safeName: azurecoreasynciteratorpolyfill
- name: azure-core-auth
safeName: azurecoreauth
- name: azure-core-http
safeName: azurecorehttp
- name: azure-core-lro
safeName: azurecorelro
- name: azure-core-paging
safeName: azurecorepaging
- name: azure-core-tracing
safeName: azurecoretracing
- name: azure-logger
safeName: azurelogger
extends:
template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml
parameters:
ServiceDirectory: core
Artifacts:
- name: azure-abort-controller
safeName: azureabortcontroller
- name: azure-core-amqp
safeName: azurecoreamqp
- name: azure-core-arm
safeName: azurecorearm
- name: azure-core-asynciterator-polyfill
safeName: azurecoreasynciteratorpolyfill
- name: azure-core-auth
safeName: azurecoreauth
- name: azure-core-http
safeName: azurecorehttp
- name: azure-core-lro
safeName: azurecorelro
- name: azure-core-paging
safeName: azurecorepaging
- name: azure-core-tracing
safeName: azurecoretracing
- name: azure-logger
safeName: azurelogger
30 changes: 10 additions & 20 deletions sdk/cosmosdb/ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,6 @@
# DO NOT EDIT THIS FILE
# This file is generated automatically and any changes will be lost.

resources:
repositories:
- repository: azure-sdk-build-tools
type: git
name: internal/azure-sdk-build-tools
- repository: azure-sdk-tools
type: github
name: Azure/azure-sdk-tools
endpoint: azure

trigger:
branches:
include:
Expand All @@ -32,13 +22,13 @@ pr:
include:
- sdk/cosmosdb/

stages:
- template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml #NOTE: Non-standard template.
parameters:
ServiceDirectory: cosmosdb
# Disable unit tests because they are no-op. Integration tests from the
# cosmos-specific template handle this testing.
RunUnitTests: false
Artifacts:
- name: azure-cosmos
safeName: azurecosmos
extends:
template: ../../eng/pipelines/templates/stages/cosmos-sdk-client.yml #NOTE: Non-standard template.
parameters:
ServiceDirectory: cosmosdb
# Disable unit tests because they are no-op. Integration tests from the
# cosmos-specific template handle this testing.
RunUnitTests: false
Artifacts:
- name: azure-cosmos
safeName: azurecosmos
Loading