Skip to content
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

Add inventory pipeline to inventory software on machines we use for builds #7395

Merged
merged 8 commits into from
Dec 8, 2023
Merged
Changes from 7 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
44 changes: 44 additions & 0 deletions eng/pipelines/inventory.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Inventory PowerShell modules installed
heaths marked this conversation as resolved.
Show resolved Hide resolved

trigger: none

strategy:
matrix:
Linux:
Pool: Azure Pipelines
OSVmImage: ubuntu-latest
Windows:
Pool: Azure Pipelines
OSVmImage: windows-latest
MacOS:
Pool: Azure Pipelines
OSVmImage: macOS-latest
CustomLinux:
Pool: azsdk-pool-mms-ubuntu-2004-general
OSVmImage: MMSUbuntu20.04
heaths marked this conversation as resolved.
Show resolved Hide resolved
CustomWindows:
Pool: azsdk-pool-mms-win-2022-general
OSVmImage: MMS2022
CustomMacOS:
Pool: Azure Pipelines
OSVmImage: macos-11

pool:
name: $(Pool)
vmImage: $(OSVmImage)

steps:
- bash: sudo chown -R runner ~/.Azure
displayName: (MacOS) Grant access to ~/.Azure
condition: contains(variables['OSVmImage'], 'mac')

- bash: az --version
displayName: Az CLI info

- bash: dotnet --info
displayName: .NET information

- pwsh: |
eng/common/scripts/Import-AzModules.ps1
Get-Module -List
displayName: Az PowerShell info