From 3b5710108f3433f0e14400e5e3dda18ed114a3bd Mon Sep 17 00:00:00 2001 From: Ray Chen Date: Tue, 1 Sep 2026 12:25:39 -0700 Subject: [PATCH] Updated the tool version in prepare pipeline --- .../templates/jobs/prepare-pipelines.yml | 54 ------------------- .../steps/install-pipeline-generation.yml | 2 +- 2 files changed, 1 insertion(+), 55 deletions(-) diff --git a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml index f8523ad59983..64225f00cd94 100644 --- a/eng/common/pipelines/templates/jobs/prepare-pipelines.yml +++ b/eng/common/pipelines/templates/jobs/prepare-pipelines.yml @@ -24,7 +24,6 @@ jobs: InternalVariableGroups: '' InternalServiceConnections: '' GeneratePublicCIPipeline: '' - GenerateUnifiedWeekly: '' TestVariableGroups: '' TestServiceConnections: '' @@ -82,7 +81,6 @@ jobs: } $generatePublicCIPipeline = 'true' - $generateUnifiedWeekly = 'false' $testServiceConnections = '"Azure" "azure-sdk-tests" "azure-sdk-tests-preview" "azure-sdk-tests-public" "Azure SDK Test Resources - LiveTestSecrets"' $internalServiceConnections = '"Azure" "Azure SDK Artifacts" "Azure SDK Engineering System" "opensource-api-connection" "AzureSDKEngKeyVault Secrets" "Azure SDK PME Managed Identity" "APIView prod deployment"' @@ -110,7 +108,6 @@ jobs: } "rust" { $generatePublicCIPipeline = 'false' - $generateUnifiedWeekly = 'true' $internalVariableGroups = '$(Release_Secrets_for_GitHub) $(APIReview_AutoCreate_Configurations)' } "net" { @@ -128,7 +125,6 @@ jobs: "go" { $generatePublicCIPipeline = 'false' $internalVariableGroups = '$(Release_Secrets_for_GitHub) $(APIReview_AutoCreate_Configurations) $(Secrets_for_Resource_Provisioner)' - $generateUnifiedWeekly = 'true' } default { Write-Error "Language '$lang' is not recognized." @@ -141,14 +137,12 @@ jobs: Write-Host "TestServiceConnections = $testServiceConnections" Write-Host "InternalServiceConnections = $internalServiceConnections" Write-Host "GeneratePublicCIPipeline = $generatePublicCIPipeline" - Write-Host "GenerateUnifiedWeekly = $generateUnifiedWeekly" Write-Host "##vso[task.setvariable variable=InternalVariableGroups]$internalVariableGroups" Write-Host "##vso[task.setvariable variable=TestVariableGroups]$testVariableGroups" Write-Host "##vso[task.setvariable variable=TestServiceConnections]$testServiceConnections" Write-Host "##vso[task.setvariable variable=InternalServiceConnections]$internalServiceConnections" Write-host "##vso[task.setvariable variable=GeneratePublicCIPipeline]$generatePublicCIPipeline" - Write-Host "##vso[task.setvariable variable=GenerateUnifiedWeekly]$generateUnifiedWeekly" displayName: Setup pipeline generation variables - task: AzureCLI@2 @@ -221,51 +215,3 @@ jobs: displayName: 'Generate test pipelines for: ${{ parameters.Repository }}' condition: and(succeeded(), ne(variables['TestVariableGroups'],'')) continueOnError: true - - task: AzureCLI@2 - inputs: - azureSubscription: 'opensource-api-connection' - scriptType: pscore - scriptLocation: inlineScript - inlineScript: > - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate - --organization azure-sdk - --project internal - --prefix $(Prefix) - --devopspath "$(DevOpsPath)" - --path $(RepositoryPath) - --endpoint Azure - --repository ${{ parameters.Repository }} - --convention testsweekly - --agentpool Hosted - --branch refs/heads/$(DefaultBranch) - --set-managed-variables - --debug - --variablegroups $(TestVariableGroups) - --serviceconnections $(TestServiceConnections) - displayName: 'Generate weekly test pipelines (multi-cloud) for: ${{ parameters.Repository }}' - condition: and(succeeded(), ne(variables['TestVariableGroups'],'')) - continueOnError: true - - task: AzureCLI@2 - inputs: - azureSubscription: 'opensource-api-connection' - scriptType: pscore - scriptLocation: inlineScript - inlineScript: > - $(Pipeline.Workspace)/pipeline-generator/pipeline-generator generate - --organization azure-sdk - --project internal - --prefix $(Prefix) - --devopspath "$(DevOpsPath)" - --path $(RepositoryPath) - --endpoint Azure - --repository ${{ parameters.Repository }} - --convention upweekly - --agentpool Hosted - --branch refs/heads/$(DefaultBranch) - --set-managed-variables - --debug - --variablegroups $(InternalVariableGroups) $(TestVariableGroups) - --serviceconnections $(InternalServiceConnections) $(TestServiceConnections) - displayName: 'Generate weekly unified test pipelines (multi-cloud) for: ${{ parameters.Repository }}' - condition: and(succeeded(), eq(variables['GenerateUnifiedWeekly'],'true')) - continueOnError: true diff --git a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml index 94587dfc1979..390bb67945e6 100644 --- a/eng/common/pipelines/templates/steps/install-pipeline-generation.yml +++ b/eng/common/pipelines/templates/steps/install-pipeline-generation.yml @@ -9,7 +9,7 @@ steps: - script: > dotnet tool install Azure.Sdk.Tools.PipelineGenerator - --version 1.1.0-dev.20250206.1 + --version 1.1.0-dev.20260901.1 --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json --tool-path ${{parameters.ToolPath}} workingDirectory: $(Pipeline.Workspace)/pipeline-generator