Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 39 additions & 10 deletions .azure/pipelines/localization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,42 @@ parameters:
variables:
- name: _TeamName
value: AspNetCore
- template: /eng/common/templates/variables/pool-providers.yml

jobs:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.Reason'], 'Manual'))) }}:
- template: /eng/common/templates/job/onelocbuild.yml
parameters:
CreatePr: ${{ or(ne(variables['Build.Reason'], 'Manual'), eq(parameters.createPr, 'true')) }}
LclPackageId: 'LCL-JUNO-PROD-ASPNETCORE'
LclSource: lclFilesFromPackage
MirrorRepo: aspnetcore
- template: /eng/common/templates-official/variables/pool-providers.yml@self


resources:
repositories:
# Repo: 1ESPipelineTemplates/1ESPipelineTemplates
- repository: 1esPipelines
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1esPipelines
parameters:
sdl:
sourceAnalysisPool:
name: $(DncEngInternalBuildPool)
image: 1es-windows-2022
os: windows
codeql:
compiled:
enabled: false
justificationForDisabling: 'This is a test-only pipeline. The same product code is already scanned in the main pipeline (aspnetcore-ci)'
pool:
name: $(DncEngInternalBuildPool)
image: 1es-windows-2022
os: windows

stages:
- stage: build
displayName: Build
jobs:
- ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), eq(variables['Build.Reason'], 'Manual'))) }}:
- template: /eng/common/templates-official/job/onelocbuild.yml@self
parameters:
CreatePr: ${{ or(ne(variables['Build.Reason'], 'Manual'), eq(parameters.createPr, 'true')) }}
LclPackageId: 'LCL-JUNO-PROD-ASPNETCORE'
LclSource: lclFilesFromPackage
MirrorRepo: aspnetcore
Loading