pulumi / pulumi-az-pipelines-task

Azure Pipelines task extension for running Pulumi apps.
https://marketplace.visualstudio.com/publishers/pulumi
Apache License 2.0
27 stars 19 forks source link

Cannot use the task with pulumi version 3.37.0 #109

Closed sinePaul closed 2 years ago

sinePaul commented 2 years ago

Describe the bug This task download the latest version of pulumi and install it. The new version 3.37.0 will cause the installation script to fail when installing pulumi

To Reproduce Steps to reproduce the behavior:

  1. Use that task without specifying a specific version of pulumi

Expected behavior Pulumi to be installed

Screenshots

[debug]Exit code 0 received from tool 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'

[debug]STDIO streams have closed for tool 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'

[debug]Agent.Version=2.206.1

[debug]task result: Failed

[error]Pulumi installation failed with error 'Directory does not exist: C:\a_temp\c9d3b717-c67c-4742-846f-47d9c98df9c1\pulumi\bin'.

Additional context I managed to use the task by specifying the version 3.36.0 on the pulumi task

AaronFriel commented 2 years ago

We'll track this here as a P0.

AaronFriel commented 2 years ago

@sinePaul @MitchellGerdisch could you confirm that setting 3.36.0 as the Pulumi version allows pipelines to resume?

This workaround should work while we release 3.37.1.

AaronFriel commented 2 years ago

This is resolved with the release of 3.37.1 yesterday.

Thank you very much for reporting and apologies for any disruption.

sinePaul commented 2 years ago

This is resolved with the release of 3.37.1 yesterday.

Thank you very much for reporting and apologies for any disruption.

Thanks!