From 5cc7fbfa38e1141ab276e8ded4e204a26d861139 Mon Sep 17 00:00:00 2001 From: Nalu Tripician <27316859+NaluTripician@users.noreply.github.com> Date: Thu, 23 May 2024 16:19:31 -0400 Subject: [PATCH] Refactors yml --- azure-pipelines-ctl-publishing.yml | 2 +- azure-pipelines-encryption-custom.yml | 2 +- azure-pipelines-encryption.yml | 2 +- azure-pipelines-official.yml | 2 +- templates/build-benchmark.yml | 4 ++-- templates/build-ctl.yml | 2 +- templates/build-internal.yml | 2 +- templates/build-preview.yml | 10 +++++----- templates/build-samples.yml | 2 +- templates/build-test.yml | 14 +++++++------- templates/nuget-pack.yml | 2 +- templates/static-tools.yml | 2 +- 12 files changed, 23 insertions(+), 23 deletions(-) diff --git a/azure-pipelines-ctl-publishing.yml b/azure-pipelines-ctl-publishing.yml index 862d125aa1..d175379407 100644 --- a/azure-pipelines-ctl-publishing.yml +++ b/azure-pipelines-ctl-publishing.yml @@ -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 diff --git a/azure-pipelines-encryption-custom.yml b/azure-pipelines-encryption-custom.yml index fbfdf1c4e5..f599284f6a 100644 --- a/azure-pipelines-encryption-custom.yml +++ b/azure-pipelines-encryption-custom.yml @@ -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 diff --git a/azure-pipelines-encryption.yml b/azure-pipelines-encryption.yml index a38165a099..4d1dd7b3e8 100644 --- a/azure-pipelines-encryption.yml +++ b/azure-pipelines-encryption.yml @@ -14,7 +14,7 @@ stages: jobs: - job: pool: - vmImage: $(VmImage) + name: 'OneES' steps: # Add this Command to Include the .NET 6 SDK diff --git a/azure-pipelines-official.yml b/azure-pipelines-official.yml index 1605914da0..3081a1aa03 100644 --- a/azure-pipelines-official.yml +++ b/azure-pipelines-official.yml @@ -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 diff --git a/templates/build-benchmark.yml b/templates/build-benchmark.yml index b542231b8c..ad62d79e0a 100644 --- a/templates/build-benchmark.yml +++ b/templates/build-benchmark.yml @@ -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 @@ -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 diff --git a/templates/build-ctl.yml b/templates/build-ctl.yml index de51ffc5db..045a01ac54 100644 --- a/templates/build-ctl.yml +++ b/templates/build-ctl.yml @@ -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 diff --git a/templates/build-internal.yml b/templates/build-internal.yml index f72b59aad5..0ee510f7ab 100644 --- a/templates/build-internal.yml +++ b/templates/build-internal.yml @@ -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 diff --git a/templates/build-preview.yml b/templates/build-preview.yml index 5ce991a148..8654e916c6 100644 --- a/templates/build-preview.yml +++ b/templates/build-preview.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/templates/build-samples.yml b/templates/build-samples.yml index 119bb2b806..08f05b61ca 100644 --- a/templates/build-samples.yml +++ b/templates/build-samples.yml @@ -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 diff --git a/templates/build-test.yml b/templates/build-test.yml index 0749412e24..f1def5dab5 100644 --- a/templates/build-test.yml +++ b/templates/build-test.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/templates/nuget-pack.yml b/templates/nuget-pack.yml index bf7699145e..6e457ebff4 100644 --- a/templates/nuget-pack.yml +++ b/templates/nuget-pack.yml @@ -27,7 +27,7 @@ jobs: - job: GenerateNugetPackages displayName: Generate Nuget packages pool: - vmImage: ${{ parameters.VmImage }} + name: 'OneES' steps: - task: DotNetCoreCLI@2 diff --git a/templates/static-tools.yml b/templates/static-tools.yml index fb7b375586..bbf270bd25 100644 --- a/templates/static-tools.yml +++ b/templates/static-tools.yml @@ -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