From 9cd9e03338dbd6e465949f4a941ec2c633478ffa Mon Sep 17 00:00:00 2001 From: Wali Bhuiyan Date: Wed, 16 Aug 2023 00:18:34 -0400 Subject: [PATCH 1/2] fixing the issue of validation pipeline --- vsts/pipelines/templates/_buildTemplate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vsts/pipelines/templates/_buildTemplate.yml b/vsts/pipelines/templates/_buildTemplate.yml index 91d4e5af9f..3db4af3972 100644 --- a/vsts/pipelines/templates/_buildTemplate.yml +++ b/vsts/pipelines/templates/_buildTemplate.yml @@ -42,7 +42,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - script: | dotnet --version && dotnet msbuild -version && echo From 444ac320febb0dbdce11feaaa86b02d7394b7133 Mon Sep 17 00:00:00 2001 From: Wali Bhuiyan Date: Wed, 16 Aug 2023 04:51:43 -0400 Subject: [PATCH 2/2] temporarily set .net sdk version to 7.0.300 in the pipelines --- vsts/pipelines/copyAllBlobsToProd.yml | 2 +- vsts/pipelines/copySdksFromProdToStorageAccount.yml | 2 +- vsts/pipelines/publishSdkToProd.yml | 4 ++-- vsts/pipelines/templates/_buildTemplateDetector.yml | 2 +- vsts/pipelines/templates/_integrationJobTemplate.yml | 2 +- vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml | 2 +- vsts/pipelines/templates/_platformBinariesTemplate.yml | 2 +- vsts/pipelines/templates/_releaseStepTemplate.yml | 2 +- vsts/pipelines/templates/_signBinary.yml | 2 +- vsts/pipelines/templates/_signBinaryDetector.yml | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/vsts/pipelines/copyAllBlobsToProd.yml b/vsts/pipelines/copyAllBlobsToProd.yml index da82c84f73..01151a1d48 100644 --- a/vsts/pipelines/copyAllBlobsToProd.yml +++ b/vsts/pipelines/copyAllBlobsToProd.yml @@ -34,7 +34,7 @@ jobs: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Copy all blobs from a source storage account to the prod storage account' diff --git a/vsts/pipelines/copySdksFromProdToStorageAccount.yml b/vsts/pipelines/copySdksFromProdToStorageAccount.yml index 9a617a1e89..75de2dbc92 100644 --- a/vsts/pipelines/copySdksFromProdToStorageAccount.yml +++ b/vsts/pipelines/copySdksFromProdToStorageAccount.yml @@ -36,7 +36,7 @@ jobs: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Copy SDKs from the prod storage account to a destination storage account' diff --git a/vsts/pipelines/publishSdkToProd.yml b/vsts/pipelines/publishSdkToProd.yml index 422148f18d..a983e52417 100644 --- a/vsts/pipelines/publishSdkToProd.yml +++ b/vsts/pipelines/publishSdkToProd.yml @@ -21,7 +21,7 @@ stages: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: '(Dry run) Publish SDKs from dev to prod storage account' @@ -56,7 +56,7 @@ stages: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Publish SDKs from dev to prod storage account' diff --git a/vsts/pipelines/templates/_buildTemplateDetector.yml b/vsts/pipelines/templates/_buildTemplateDetector.yml index fcbfd66df6..bb554f5fbd 100644 --- a/vsts/pipelines/templates/_buildTemplateDetector.yml +++ b/vsts/pipelines/templates/_buildTemplateDetector.yml @@ -5,7 +5,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core SDK 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Build Detector.sln' diff --git a/vsts/pipelines/templates/_integrationJobTemplate.yml b/vsts/pipelines/templates/_integrationJobTemplate.yml index 04779dffbe..b1dcb966de 100644 --- a/vsts/pipelines/templates/_integrationJobTemplate.yml +++ b/vsts/pipelines/templates/_integrationJobTemplate.yml @@ -41,7 +41,7 @@ jobs: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Test Dev storage account' diff --git a/vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml b/vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml index cbff40e611..df85c79267 100644 --- a/vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml +++ b/vsts/pipelines/templates/_platformBinariesReleaseTemplate.yml @@ -31,7 +31,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core SDK 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Test Dev storage account' diff --git a/vsts/pipelines/templates/_platformBinariesTemplate.yml b/vsts/pipelines/templates/_platformBinariesTemplate.yml index 38b3d42e5d..4ae719caff 100644 --- a/vsts/pipelines/templates/_platformBinariesTemplate.yml +++ b/vsts/pipelines/templates/_platformBinariesTemplate.yml @@ -15,7 +15,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Building platform binaries' diff --git a/vsts/pipelines/templates/_releaseStepTemplate.yml b/vsts/pipelines/templates/_releaseStepTemplate.yml index 8a42ea131c..de402b77ea 100644 --- a/vsts/pipelines/templates/_releaseStepTemplate.yml +++ b/vsts/pipelines/templates/_releaseStepTemplate.yml @@ -117,7 +117,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - task: ShellScript@2 displayName: 'Test runtime images for pme staging registry' diff --git a/vsts/pipelines/templates/_signBinary.yml b/vsts/pipelines/templates/_signBinary.yml index 6d9d129e53..bd27bef72e 100644 --- a/vsts/pipelines/templates/_signBinary.yml +++ b/vsts/pipelines/templates/_signBinary.yml @@ -34,7 +34,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core sdk 7.x' inputs: - version: 7.x + version: 7.0.306 - powershell: | Write-Host "Setting up git_commit and build_number as env variable" diff --git a/vsts/pipelines/templates/_signBinaryDetector.yml b/vsts/pipelines/templates/_signBinaryDetector.yml index 408e3fa306..368d021982 100644 --- a/vsts/pipelines/templates/_signBinaryDetector.yml +++ b/vsts/pipelines/templates/_signBinaryDetector.yml @@ -15,7 +15,7 @@ steps: - task: UseDotNet@2 displayName: 'Use .NET Core SDK 7.x' inputs: - version: 7.x + version: 7.0.306 - powershell: | Write-Host "Setting up git_commit and build_number as env variable"