Skip to content

Commit cde17c0

Browse files
committed
add more tracing and add back redirecting of registry
1 parent c718ad8 commit cde17c0

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

.pipelines/DSC-Official.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ extends:
146146
- pwsh: |
147147
Set-Location "$(Build.SourcesDirectory)/DSC"
148148
Write-Host "Use 'powershell' CFS"
149-
#Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
150-
#Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
149+
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
150+
Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
151151
./build.ps1 -Release -Architecture $(buildName) -SkipLinkCheck
152152
displayName: 'Build $(buildName)'
153153
env:
@@ -282,8 +282,12 @@ extends:
282282
ob_restore_phase: true
283283
- pwsh: |
284284
Write-Host "Use 'powershell' CFS"
285-
#Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
286-
#Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
285+
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
286+
Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
287+
288+
$env:CARGO_HTTP_DEBUG=true
289+
$env:CARGO_LOG='network=trace'
290+
287291
./build.ps1 -Release -Architecture x86_64-unknown-linux-gnu
288292
./build.ps1 -PackageType tgz -Architecture x86_64-unknown-linux-gnu -Release
289293
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
@@ -329,8 +333,8 @@ extends:
329333
ob_restore_phase: true
330334
- pwsh: |
331335
Write-Host "Use 'powershell' CFS"
332-
#Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
333-
#Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
336+
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
337+
Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
334338
./build.ps1 -Release -Architecture aarch64-unknown-linux-gnu
335339
./build.ps1 -PackageType tgz -Architecture aarch64-unknown-linux-gnu -Release
336340
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"
@@ -384,8 +388,8 @@ extends:
384388
ob_restore_phase: true
385389
- pwsh: |
386390
Write-Host "Use 'powershell' CFS"
387-
#Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
388-
#Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
391+
Add-Content -Path "./.cargo/config.toml" -Value '[source.crates-io]'
392+
Add-Content -Path "./.cargo/config.toml" -Value 'replace-with = "powershell"'
389393
./build.ps1 -Release -Architecture $(buildName)
390394
./build.ps1 -PackageType tgz -Architecture $(buildName) -Release
391395
Copy-Item ./bin/*.tar.gz "$(ob_outputDirectory)"

0 commit comments

Comments
 (0)