Skip to content

1es-ify Localization pipeline #60720

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 3, 2025
Merged
Changes from all 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 pipeline doesn't build any code. The 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