Azure CI: Add yaml for creating Windows docker

This commit is contained in:
azhogov
2021-12-27 15:18:54 +03:00
parent 4188dbbf9f
commit 5afb63b06b

View File

@@ -0,0 +1,24 @@
jobs:
- job: Win_docker
timeoutInMinutes: 60
pool:
name: WIN_DOCKER_VMSS_VENV_F4S_WU2
variables:
system.debug: true
steps:
- script: |
powershell -command "Invoke-RestMethod -Headers @{\"Metadata\"=\"true\"} -Method GET -Uri http://169.254.169.254/metadata/instance/compute?api-version=2019-06-01 | format-custom"
where python3
python3 --version
where python
python --version
wmic computersystem get TotalPhysicalMemory
wmic cpu list
wmic logicaldisk get description,name
wmic VOLUME list
set
displayName: 'System info'