Skip to content

Commit 868eaef

Browse files
authored
Move OneLocBuild back to run on every main commit (#123791)
The OneLoc team reached out to me and told me that we need to run it on every build, otherwise it will cause alerts in their system. Move OneLocBuild back and only run SourceIndex daily. Follow up to #123539
1 parent d2a6e3b commit 868eaef

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

eng/pipelines/runtime-official.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ trigger:
1919

2020
schedules:
2121
- cron: "0 9 * * *"
22-
displayName: Daily OneLocBuild and SourceIndex
22+
displayName: Daily SourceIndex
2323
branches:
2424
include:
2525
- main
@@ -41,7 +41,7 @@ extends:
4141
parameters:
4242
isOfficialBuild: true
4343
stages:
44-
- ${{ if and(eq(variables['Build.SourceBranch'], 'refs/heads/main'), or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual'))) }}:
44+
- ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
4545
- stage: Localization
4646
dependsOn: []
4747
jobs:
@@ -54,16 +54,18 @@ extends:
5454
MirrorBranch: main
5555
LclSource: lclFilesfromPackage
5656
LclPackageId: 'LCL-JUNO-PROD-RUNTIME'
57-
- stage: Source_Index
58-
dependsOn: []
59-
displayName: Source Index
60-
jobs:
61-
#
62-
# Source Index Build
63-
#
64-
- template: /eng/common/templates-official/job/source-index-stage1.yml
65-
parameters:
66-
sourceIndexBuildCommand: build.cmd -subset libs.sfx+libs.oob -binarylog -os linux -ci /p:SkipLibrariesNativeRuntimePackages=true
57+
58+
- ${{ if or(eq(variables['Build.Reason'], 'Schedule'), eq(variables['Build.Reason'], 'Manual')) }}:
59+
- stage: Source_Index
60+
dependsOn: []
61+
displayName: Source Index
62+
jobs:
63+
#
64+
# Source Index Build
65+
#
66+
- template: /eng/common/templates-official/job/source-index-stage1.yml
67+
parameters:
68+
sourceIndexBuildCommand: build.cmd -subset libs.sfx+libs.oob -binarylog -os linux -ci /p:SkipLibrariesNativeRuntimePackages=true
6769

6870
- stage: Publish
6971
dependsOn: []

0 commit comments

Comments
 (0)