Skip to content

Commit

Permalink
pass secret as parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
dibarbet committed Jul 24, 2021
1 parent 0230a70 commit 112f8b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 2 additions & 0 deletions azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ stages:
createDraftPR: $(Insertion.CreateDraftPR)
autoComplete: $(Insertion.AutoComplete)
insertToolset: $(Insertion.InsertToolset)
clientId: $(ClientId)
clientSecret: $(ClientSecret)
componentBuildProjectName: internal
componentBranchName: $(ComponentBranchName)
vsBranchName: $(VSBranchName)
Expand Down
2 changes: 2 additions & 0 deletions azure-pipelines-pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ stages:
createDraftPR: true
autoComplete: false
insertToolset: $(InsertToolset)
clientId: $(ClientId)
clientSecret: $(ClientSecret)
componentBuildProjectName: DevDiv
componentBranchName: $(ComponentBranchName)
vsBranchName: $(VisualStudioBranchName)
Expand Down
9 changes: 7 additions & 2 deletions eng/pipelines/insert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ parameters:
type: string
default: ''

- name: clientId
type: string
- name: clientSecret
type: string

- name: componentBuildProjectName
type: string
- name: componentBranchName
Expand All @@ -37,8 +42,8 @@ steps:
-autoComplete "${{ parameters.autoComplete }}" `
-buildQueueName "$(Build.DefinitionName)" `
-cherryPick "(default)" `
-clientId "$(ClientId)" `
-clientSecret "$(ClientSecret)" `
-clientId "${{ parameters.clientId }}" `
-clientSecret "${{ parameters.clientSecret }}" `
-componentAzdoUri "$(System.CollectionUri)" `
-componentBranchName "${{ parameters.componentBranchName }}" `
-componentGitHubRepoName "dotnet/roslyn" `
Expand Down

0 comments on commit 112f8b8

Please sign in to comment.