Skip to content

Commit 9dcc26a

Browse files
authored
[automated] Merge branch 'vs17.11' => 'vs17.12' (#12103)
I detected changes in the vs17.11 branch which have not been merged yet to vs17.12. I'm a robot and am configured to help you automatically keep vs17.12 up to date, so I've opened this PR. This PR merges commits made on vs17.11 by the following committers: * @GangWang01 * @dotnet-maestro[bot] ## Instructions for merging from UI This PR will not be auto-merged. When pull request checks pass, complete this PR by creating a merge commit, *not* a squash or rebase commit. <img alt="merge button instructions" src="https://i.imgur.com/GepcNJV.png" width="300" /> If this repo does not allow creating merge commits from the GitHub UI, use command line instructions. ## Instructions for merging via command line Run these commands to merge this pull request from the command line. ``` sh git fetch git checkout vs17.11 git pull --ff-only git checkout vs17.12 git pull --ff-only git merge --no-ff vs17.11 # If there are merge conflicts, resolve them and then run git merge --continue to complete the merge # Pushing the changes to the PR branch will re-trigger PR validation. git push https://github.com/dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` <details> <summary>or if you are using SSH</summary> ``` git push [email protected]:dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` </details> After PR checks are complete push the branch ``` git push ``` ## Instructions for resolving conflicts :warning: If there are merge conflicts, you will need to resolve them manually before merging. You can do this [using GitHub][resolve-github] or using the [command line][resolve-cli]. [resolve-github]: https://help.github.com/articles/resolving-a-merge-conflict-on-github/ [resolve-cli]: https://help.github.com/articles/resolving-a-merge-conflict-using-the-command-line/ ## Instructions for updating this pull request Contributors to this repo have permission update this pull request by pushing to the branch 'merge/vs17.11-to-vs17.12'. This can be done to resolve conflicts or make other changes to this pull request before it is merged. The provided examples assume that the remote is named 'origin'. If you have a different remote name, please replace 'origin' with the name of your remote. ``` git fetch git checkout -b merge/vs17.11-to-vs17.12 origin/vs17.12 git pull https://github.com/dotnet/msbuild merge/vs17.11-to-vs17.12 (make changes) git commit -m "Updated PR with my changes" git push https://github.com/dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` <details> <summary>or if you are using SSH</summary> ``` git fetch git checkout -b merge/vs17.11-to-vs17.12 origin/vs17.12 git pull [email protected]:dotnet/msbuild merge/vs17.11-to-vs17.12 (make changes) git commit -m "Updated PR with my changes" git push [email protected]:dotnet/msbuild HEAD:merge/vs17.11-to-vs17.12 ``` </details> Contact .NET Core Engineering (dotnet/dnceng) if you have questions or issues. Also, if this PR was generated incorrectly, help us fix it. See https://github.com/dotnet/arcade/blob/main/.github/workflows/scripts/inter-branch-merge.ps1.
2 parents 714fcf8 + 085248e commit 9dcc26a

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

.vsts-dotnet.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ parameters:
1616
displayName: Optional OptProfDrop Override
1717
type: string
1818
default: 'default'
19+
- name: EnableOptProf
20+
displayName: Enable OptProf data collection for this build
21+
type: boolean
22+
default: true
1923

2024
variables:
2125
# if OptProfDrop is not set, string '$(OptProfDrop)' will be passed to the build script.
@@ -33,6 +37,10 @@ variables:
3337
value: ${{parameters.OptProfDropName}}
3438
- name: SourceBranch
3539
value: ''
40+
# Override SkipApplyOptimizationData to true when disabling OptProf data collection
41+
- ${{ if eq(parameters.EnableOptProf, false) }}:
42+
- name: SkipApplyOptimizationData
43+
value: true
3644
- name: EnableReleaseOneLocBuild
3745
value: false # Disable loc for vs17.12
3846
- name: Codeql.Enabled
@@ -159,6 +167,7 @@ extends:
159167
AccessToken: '$(System.AccessToken)'
160168
feedSource: 'https://devdiv.pkgs.visualstudio.com/DefaultCollection/_packaging/MicroBuildToolset/nuget/v3/index.json'
161169
displayName: 'Install OptProf Plugin'
170+
condition: and(succeeded(), ${{ parameters.EnableOptProf }})
162171

163172
# Required by MicroBuildBuildVSBootstrapper
164173
- task: MicroBuildSwixPlugin@4
@@ -194,7 +203,7 @@ extends:
194203
toLowerCase: false
195204
usePat: true
196205
displayName: 'OptProf - Publish to Artifact Services - ProfilingInputs'
197-
condition: succeeded()
206+
condition: and(succeeded(), ${{ parameters.EnableOptProf }})
198207

199208
# Build VS bootstrapper
200209
# Generates $(Build.StagingDirectory)\MicroBuild\Output\BootstrapperInfo.json
@@ -205,7 +214,7 @@ extends:
205214
manifests: $(VisualStudio.SetupManifestList)
206215
outputFolder: '$(Build.SourcesDirectory)\artifacts\VSSetup\$(BuildConfiguration)\Insertion'
207216
displayName: 'OptProf - Build VS bootstrapper'
208-
condition: succeeded()
217+
condition: and(succeeded(), ${{ parameters.EnableOptProf }})
209218

210219
# Publish run settings
211220
- task: PowerShell@2
@@ -217,7 +226,7 @@ extends:
217226
/p:BootstrapperInfoPath=$(Build.StagingDirectory)\MicroBuild\Output\BootstrapperInfo.json
218227
/p:VisualStudioIbcTrainingSettingsPath=$(Build.SourcesDirectory)\eng\config\OptProf.runsettings
219228
displayName: 'OptProf - Build IBC training settings'
220-
condition: succeeded()
229+
condition: and(succeeded(), ${{ parameters.EnableOptProf }})
221230

222231
# Publish bootstrapper info
223232
- task: 1ES.PublishBuildArtifacts@1
@@ -226,7 +235,7 @@ extends:
226235
ArtifactName: MicroBuildOutputs
227236
ArtifactType: Container
228237
displayName: 'OptProf - Publish Artifact: MicroBuildOutputs'
229-
condition: succeeded()
238+
condition: and(succeeded(), ${{ parameters.EnableOptProf }})
230239

231240
- task: 1ES.PublishBuildArtifacts@1
232241
displayName: 'Publish Artifact: logs'
@@ -288,7 +297,7 @@ extends:
288297
displayName: Tag build as ready for optimization training
289298
inputs:
290299
tags: 'ready-for-training'
291-
condition: succeeded()
300+
condition: and(succeeded(), ${{ parameters.EnableOptProf }})
292301

293302
- task: ms-vseng.MicroBuildTasks.521a94ea-9e68-468a-8167-6dcf361ea776.MicroBuildCleanup@1
294303
displayName: Execute cleanup tasks

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the MIT license. See License.txt in the project root for full license information. -->
33
<Project>
44
<PropertyGroup>
5-
<VersionPrefix>17.12.40</VersionPrefix>
5+
<VersionPrefix>17.12.41</VersionPrefix>
66
<DotNetFinalVersionKind>release</DotNetFinalVersionKind>
77
<PackageValidationBaselineVersion>17.11.4</PackageValidationBaselineVersion>
88
<AssemblyVersion>15.1.0.0</AssemblyVersion>

0 commit comments

Comments
 (0)