Skip to content

Use image demands for docindex.yml #45450

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@
# Add owners for notifications for specific pipelines
/eng/pipelines/aggregate-reports.yml @joshfree @jonathangiles
/eng/common/pipelines/codeowners-linter.yml @alzimmermsft @srnagar @lmolkova
/eng/pipelines/docindex.yml @danieljurek @hallipr @weshaggard @benbp

# Add Cosmos source owners as the owners of their specialized matrix
/eng/pipelines/templates/stages/cosmos-emulator-matrix.json @kirankumarkolli @Azure/azure-cosmos-java-sdk-connectors
4 changes: 2 additions & 2 deletions eng/pipelines/docindex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ jobs:
- job: UpdateDocsMsBuildConfig
pool:
name: $(LINUXPOOL)
image: $(LINUXNEXTVMIMAGE)
os: linux
demands: $(LinuxImageDemand)

Copy link
Preview

Copilot AI May 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Remove the extra blank line after the demands declaration to keep the YAML concise and consistently formatted.

Suggested change

Copilot uses AI. Check for mistakes.

timeoutInMinutes: 180
variables:
DocRepoLocation: $(Pipeline.Workspace)/docs
Expand Down
3 changes: 3 additions & 0 deletions eng/pipelines/templates/variables/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ variables:
value: windows-2022
- name: MACVMIMAGE
value: macos-latest

- name: LinuxImageDemand
value: ImageOverride -equals $(LINUXVMIMAGE)
Loading