Skip to content

Commit d434c0e

Browse files
authored
Temporary opt-prof fix: use old opt-prof from 20230217.4 (#8497)
This should temporarily fix our build pipeline. All the branches except those which starts with `vs` will use the latest good OptProf data from main branch (hardcoded opt-prof from 20230217.4).
1 parent 7c4d75d commit d434c0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.vsts-dotnet.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,12 @@ variables:
2323
- name: SourceBranch
2424
value: $(IbcSourceBranchName)
2525
# If we're not on a vs* branch, use main as our optprof collection branch
26+
# NOTE: the code is temporarily fixed. For the branches that should use opt-prof from the main branch we should use the latest working Opt-Prof collected from main 20230217.4.
2627
- ${{ if not(startsWith(variables['Build.SourceBranch'], 'refs/heads/vs')) }}:
28+
- name: OptProfDrop
29+
value: 'OptimizationData/DotNet-msbuild-Trusted/main/20230217.4/7352286/1'
2730
- name: SourceBranch
28-
value: main
31+
value: ''
2932
# if OptProfDropName is set as a parameter, set OptProfDrop to the parameter and unset SourceBranch
3033
- ${{ if ne(parameters.OptProfDropName, 'default') }}:
3134
- name: OptProfDrop

0 commit comments

Comments
 (0)