You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure you are able to repro it on the latest version
Search the existing issues.
Summary
I am experiencing issues when installing dsc.exe on ubuntu-latest agent pool in Azure Pipelines. I'm running the following script:
jobs:
- job: testdisplayName: 'test'pool:
vmImage: ubuntu-lateststeps:
- checkout: self persistCredentials: true
- task: PowerShell@2displayName: "Run"inputs:
pwsh: truetargetType: "inline"script: | $uri = 'https://github.com/PowerShell/DSC/releases/download/v3.0.0-preview.11/DSC-3.0.0-preview.11-x86_64-unknown-linux-gnu.tar.gz' $filePath = '/tmp/DSC-' + '3.0.0-preview.11' + '-x86_64-unknown-linux-gnu.tar.gz' curl -L -o $filePath $uri # Create the target folder where powershell will be placed sudo mkdir -p /opt/microsoft/dsc # Expand dsc to the target folder sudo tar zxf $filePath -C /opt/microsoft/dsc # Set execute permissions sudo chmod +x /opt/microsoft/dsc # Create the symbolic link that points to dsc sudo ln -s /opt/microsoft/dsc /usr/bin/dsc # Add to path $env:PATH += [System.IO.Path]::PathSeparator + "/usr/bin/dsc" # Call version dsc --version # Call list of resources dsc -l trace resource listignoreLASTEXITCODE: true
The dsc --version is properly called, but when doing the resource list, I can observe:
This hangs for an infinity time.
Steps to reproduce
See description
Expected behavior
Able to run `dsc resource list` on ubuntu-latest agent
Actual behavior
Hangs
Error details
No response
Environment data
Name Value
---------
PSVersion 7.4.5
PSEdition Core
GitCommitId 7.4.5
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
dsc 3.0.0-preview.11
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Summary
I am experiencing issues when installing
dsc.exe
onubuntu-latest
agent pool in Azure Pipelines. I'm running the following script:The
dsc --version
is properly called, but when doing the resource list, I can observe:This hangs for an infinity time.
Steps to reproduce
See description
Expected behavior
Able to run `dsc resource list` on ubuntu-latest agent
Actual behavior
Hangs
Error details
No response
Environment data
Version
dsc 3.0.0-preview.11
Visuals
No response
The text was updated successfully, but these errors were encountered: