Skip to content

Commit

Permalink
change to autocomplete param
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Jul 23, 2021
1 parent 8f85797 commit 0230a70
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,7 @@ stages:
- template: eng/pipelines/insert.yml
parameters:
createDraftPR: $(Insertion.CreateDraftPR)
autoComplete: $(Insertion.AutoComplete)
insertToolset: $(Insertion.InsertToolset)
componentBuildProjectName: internal
componentBranchName: $(ComponentBranchName)
Expand Down
1 change: 1 addition & 0 deletions azure-pipelines-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ stages:
- template: eng/pipelines/insert.yml
parameters:
createDraftPR: true
autoComplete: false
insertToolset: $(InsertToolset)
componentBuildProjectName: DevDiv
componentBranchName: $(ComponentBranchName)
Expand Down
6 changes: 4 additions & 2 deletions eng/pipelines/insert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ parameters:
- name: createDraftPR
type: string
default: ''
- name: autoComplete
type: string
default: ''
- name: insertToolset
type: string
default: ''
Expand All @@ -29,10 +32,9 @@ steps:
arguments: 'install RoslynTools.VisualStudioInsertionTool -PreRelease -Source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json'

- powershell: |
Write-Host "##vso[task.setvariable variable=Insertion.AutoComplete]$(-not ${{ parameters.createDraftPR }})"
mv RoslynTools.VisualStudioInsertionTool.* RIT
.\RIT\tools\OneOffInsertion.ps1 `
-autoComplete "$(Insertion.AutoComplete)" `
-autoComplete "${{ parameters.autoComplete }}" `
-buildQueueName "$(Build.DefinitionName)" `
-cherryPick "(default)" `
-clientId "$(ClientId)" `
Expand Down

0 comments on commit 0230a70

Please sign in to comment.