From 30e3582e7b6a1144c20994b6e8087dc31650957a Mon Sep 17 00:00:00 2001 From: Jon Fortescue Date: Wed, 16 Jun 2021 13:22:11 -0700 Subject: [PATCH 1/3] Turn on loc PRs --- eng/pipelines/runtime-official.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml index 84b0d2fcde451..6934ccefee658 100644 --- a/eng/pipelines/runtime-official.yml +++ b/eng/pipelines/runtime-official.yml @@ -46,7 +46,7 @@ stages: # - template: /eng/common/templates/job/onelocbuild.yml parameters: - CreatePr: false + MirroRepo: runtime LclSource: lclFilesfromPackage LclPackageId: 'LCL-JUNO-PROD-RUNTIME' From 8e8e1a36089914d869bf7e4c647bb20505575b83 Mon Sep 17 00:00:00 2001 From: Jon Fortescue Date: Wed, 16 Jun 2021 14:37:18 -0700 Subject: [PATCH 2/3] oops Co-authored-by: Jeremy Koritzinsky --- eng/pipelines/runtime-official.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml index 6934ccefee658..15be3c97f9ccb 100644 --- a/eng/pipelines/runtime-official.yml +++ b/eng/pipelines/runtime-official.yml @@ -46,7 +46,7 @@ stages: # - template: /eng/common/templates/job/onelocbuild.yml parameters: - MirroRepo: runtime + MirrorRepo: runtime LclSource: lclFilesfromPackage LclPackageId: 'LCL-JUNO-PROD-RUNTIME' From 1a476f352f0f0086392cce5761fcb67ca303154c Mon Sep 17 00:00:00 2001 From: Jon Fortescue Date: Fri, 18 Jun 2021 10:17:01 -0700 Subject: [PATCH 3/3] Keep OneLocBuild running only in main --- eng/pipelines/runtime-official.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/eng/pipelines/runtime-official.yml b/eng/pipelines/runtime-official.yml index 6934ccefee658..07c7c52007409 100644 --- a/eng/pipelines/runtime-official.yml +++ b/eng/pipelines/runtime-official.yml @@ -44,11 +44,12 @@ stages: # # Localization build # - - template: /eng/common/templates/job/onelocbuild.yml - parameters: - MirroRepo: runtime - LclSource: lclFilesfromPackage - LclPackageId: 'LCL-JUNO-PROD-RUNTIME' + - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}: + - template: /eng/common/templates/job/onelocbuild.yml + parameters: + MirroRepo: runtime + LclSource: lclFilesfromPackage + LclPackageId: 'LCL-JUNO-PROD-RUNTIME' # # Source Index Build