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

[Internal] Pipelines: Refactors YML files to use OneES Pools for pipelines #4514

Merged
merged 2 commits into from
May 29, 2024
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
2 changes: 1 addition & 1 deletion azure-pipelines-ctl-publishing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
value: 'cosmosdotnetsdkctl.azurecr.io'

pool:
vmImage: $(VmImage)
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-encryption-custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stages:
jobs:
- job:
pool:
vmImage: $(VmImage)
name: 'OneES'
steps:
# Add this Command to Include the .NET 6 SDK
- task: UseDotNet@2
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-encryption.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ stages:
jobs:
- job:
pool:
vmImage: $(VmImage)
name: 'OneES'

steps:
# Add this Command to Include the .NET 6 SDK
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ stages:
displayName: TelemetryToService ${{ variables.BuildConfiguration }}
timeoutInMinutes: 120
pool:
vmImage: windows-2019
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
4 changes: 2 additions & 2 deletions templates/build-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- job:
displayName: CosmosBenchmark ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand All @@ -35,7 +35,7 @@ jobs:
- job:
displayName: Preview CosmosBenchmark ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
2 changes: 1 addition & 1 deletion templates/build-ctl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- job:
displayName: Build CTL project
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
2 changes: 1 addition & 1 deletion templates/build-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- job:
displayName: InternalFlag ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
10 changes: 5 additions & 5 deletions templates/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- job:
displayName: Preview Flag ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand All @@ -37,7 +37,7 @@ jobs:
- job:
displayName: Encryption Project Ref SDK Preview ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
timeoutInMinutes: 90
condition: and(succeeded(), eq('${{ parameters.OS }}', 'Windows'))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
- job:
displayName: Encryption.Custom Project Ref SDK Preview ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand All @@ -120,7 +120,7 @@ jobs:
- job:
displayName: Preview Tests ${{ parameters.BuildConfiguration }}
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
2 changes: 1 addition & 1 deletion templates/build-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- job:
displayName: Build Samples project
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
14 changes: 7 additions & 7 deletions templates/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- job:
displayName: Tests Debug
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
displayName: PerformanceTests ${{ parameters.BuildConfiguration }}
condition: and(succeeded(), eq(${{ parameters.IncludePerformance }}, true))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
timeoutInMinutes: 120
condition: and(succeeded(), eq('${{ parameters.OS }}', 'Windows'))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
timeoutInMinutes: 120
condition: and(succeeded(), eq('${{ parameters.OS }}', 'Windows'))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
timeoutInMinutes: 90
condition: and(eq(${{ parameters.IncludeEncryption }}, true), and(succeeded(), eq('${{ parameters.OS }}', 'Windows')))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -192,7 +192,7 @@ jobs:
timeoutInMinutes: 90
condition: and(eq(${{ parameters.IncludeEncryption }}, true), and(succeeded(), eq('${{ parameters.OS }}', 'Windows')))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down Expand Up @@ -225,7 +225,7 @@ jobs:
timeoutInMinutes: 120
condition: and(succeeded(), eq('${{ parameters.OS }}', 'Windows'))
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down
2 changes: 1 addition & 1 deletion templates/nuget-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- job: GenerateNugetPackages
displayName: Generate Nuget packages
pool:
vmImage: ${{ parameters.VmImage }}
name: 'OneES'

steps:
- task: DotNetCoreCLI@2
Expand Down
2 changes: 1 addition & 1 deletion templates/static-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- job:
displayName: Static Analysis
pool:
vmImage: '${{ parameters.VmImage }}'
name: 'OneES'

steps:
- checkout: self # self represents the repo where the initial Pipelines YAML file was found
Expand Down