Skip to content

Commit c91ab59

Browse files
authored
Use image.yml in docindex pipeline (Azure#41267)
* Use image.yml in docindex pipeline * CODEOWNERS for docindex.yml * LinuxImageDemand
1 parent c42abf7 commit c91ab59

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -850,6 +850,7 @@
850850
/eng/pipelines/templates/jobs/tests-nightly-python.yml @lmazuel @mccoyp
851851
/eng/pipelines/aggregate-reports.yml @lmazuel @mccoyp @YalinLi0312 @kristapratico
852852
/eng/common/pipelines/codeowners-linter.yml @lmazuel @mccoyp
853+
/eng/pipelines/docindex.yml @danieljurek @scbedd @weshaggard @benbp
853854

854855
# Add approvers for typespec-python emitter version updates
855856
/eng/emitter-package.json @mccoyp @catalinaperalta @kristapratico @iscai-msft

eng/pipelines/docindex.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@ parameters:
2121

2222
variables:
2323
- template: /eng/pipelines/templates/variables/globals.yml
24+
- template: /eng/pipelines/templates/variables/image.yml
2425
jobs:
2526
- template: /eng/common/pipelines/templates/jobs/docindex.yml
2627

2728
- job: UpdateDocsMsBuildConfig
2829
pool:
29-
name: azsdk-pool-mms-ubuntu-2004-general
30-
vmImage: Ubuntu20.04
30+
name: $(LINUXPOOL)
31+
demands: $(LinuxImageDemand)
3132
variables:
3233
DocRepoLocation: $(Pipeline.Workspace)/docs
3334
DocRepoOwner: MicrosoftDocs

eng/pipelines/templates/variables/image.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ variables:
2525
- name: MACOS
2626
value: macOS
2727

28+
- name: LinuxImageDemand
29+
value: ImageOverride -equals $(LINUXVMIMAGE)

0 commit comments

Comments
 (0)