Skip to content

Commit a4c32da

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
logon to az
1 parent 213d89a commit a4c32da

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.pipelines/DSC-Official.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,14 @@ extends:
168168
displayName: Install Rust
169169
env:
170170
ob_restore_phase: true
171+
- task: AzureCLI@2
172+
displayName: Azure CLI
173+
inputs:
174+
azureSubscription: azDO-Cargo-PowerShell-feed-Ingestion
175+
scriptType: core
176+
scriptLocation: inlineScript
177+
inlineScript: |
178+
az account show
171179
- pwsh: |
172180
apt update
173181
apt -y install musl-tools
@@ -196,6 +204,14 @@ extends:
196204
displayName: Install Rust
197205
env:
198206
ob_restore_phase: true
207+
- task: AzureCLI@2
208+
displayName: Azure CLI
209+
inputs:
210+
azureSubscription: azDO-Cargo-PowerShell-feed-Ingestion
211+
scriptType: core
212+
scriptLocation: inlineScript
213+
inlineScript: |
214+
az account show
199215
- pwsh: |
200216
$env:CC_aarch64_unknown_linux_musl='clang'
201217
$env:AR_aarch64_unknown_linux_musl='llvm-ar'
@@ -243,6 +259,14 @@ extends:
243259
displayName: Install Rust
244260
env:
245261
ob_restore_phase: true
262+
- task: AzureCLI@2
263+
displayName: Azure CLI
264+
inputs:
265+
azureSubscription: azDO-Cargo-PowerShell-feed-Ingestion
266+
scriptType: core
267+
scriptLocation: inlineScript
268+
inlineScript: |
269+
az account show
246270
- pwsh: |
247271
./build.ps1 -Release -Architecture $(buildName)
248272
./build.ps1 -PackageType tgz -Architecture $(buildName) -Release

.pipelines/DSC-Windows.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ steps:
3434
displayName: Install Rust
3535
env:
3636
ob_restore_phase: true
37+
- task: AzureCLI@2
38+
displayName: Azure CLI
39+
inputs:
40+
azureSubscription: azDO-Cargo-PowerShell-feed-Ingestion
41+
scriptType: core
42+
scriptLocation: inlineScript
43+
inlineScript: |
44+
az account show
3745
- pwsh: |
3846
Set-Location "$(Build.SourcesDirectory)/DSC"
3947
$LLVMBIN = "$($env:PROGRAMFILES)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\Llvm\bin"

0 commit comments

Comments
 (0)