File tree 2 files changed +7
-26
lines changed
pipelines/templates/steps
2 files changed +7
-26
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ steps:
43
43
workingDirectory : ${{ parameters.vmrPath }}
44
44
45
45
- script : |
46
- ./eng/vmr-sync.sh \
47
- --vmr ${{ parameters.vmrPath }} \
48
- --tmp $(Agent.TempDirectory) \
49
- --azdev-pat '$(dn-bot-all-orgs-code-r)' \
50
- --branch ${{ parameters.vmrBranch }} \
51
- --ci \
46
+ ./eng/vmr-sync.sh \
47
+ --vmr ${{ parameters.vmrPath }} \
48
+ --tmp $(Agent.TempDirectory) \
49
+ --azdev-pat '$(dn-bot-all-orgs-code-r)' \
50
+ --branch ${{ parameters.vmrBranch }} \
51
+ --ci \
52
52
--debug
53
53
54
54
if [ "$?" -ne 0 ]; then
Original file line number Diff line number Diff line change @@ -21,11 +21,6 @@ Required. Path to the temporary folder where repositories will be cloned
21
21
. PARAMETER vmrBranch
22
22
Optional. Branch of the 'dotnet/dotnet' repo to synchronize. The VMR will be checked out to this branch
23
23
24
- . PARAMETER remote
25
- Optional. Additional remote to use during the synchronization
26
- This can be used to synchronize to a commit from a fork of the repository
27
- Example: 'runtime:https://github.com/yourfork/runtime'
28
-
29
24
. PARAMETER azdevPat
30
25
Optional. Azure DevOps PAT to use for cloning private repositories.
31
26
@@ -59,23 +54,13 @@ function Highlight {
59
54
Write-Host " > $ ( $args [0 ]) " - ForegroundColor ' Cyan'
60
55
}
61
56
62
- $sdkDir = (Split-Path - Parent $scriptRoot )
63
-
64
- # If sdk is a repo, we're in an sdk and not in the dotnet/dotnet repo
65
- if (Test-Path - Path " $sdkDir /.git" - PathType Container) {
66
- $additionalRemotes = " sdk:$sdkDir "
67
- }
68
-
69
- if ($remote ) {
70
- $additionalRemotes = " $additionalRemotes $remote "
71
- }
72
-
73
57
$verbosity = ' verbose'
74
58
if ($debugOutput ) {
75
59
$verbosity = ' debug'
76
60
}
77
61
# Validation
78
62
63
+ $sdkDir = (Split-Path - Parent $scriptRoot )
79
64
if (-not (Test-Path - Path $sdkDir - PathType Container)) {
80
65
Fail " Directory '$sdkDir ' does not exist. Please specify the path to the dotnet/sdk repo"
81
66
exit 1
@@ -143,10 +128,6 @@ if ($ci) {
143
128
$darcArgs += (" --ci" )
144
129
}
145
130
146
- if ($additionalRemotes ) {
147
- $darcArgs += (" --additional-remotes" , $additionalRemotes )
148
- }
149
-
150
131
if ($azdevPat ) {
151
132
$darcArgs += (" --azdev-pat" , $azdevPat )
152
133
}
You can’t perform that action at this time.
0 commit comments