Azure / AzOps

AzOps is a PowerShell module which deploys (Push) ARM Resource Templates & Bicep files at all Azure scope levels and exports (Pull) ARM resource hierarchy.
https://aka.ms/AzOps
MIT License
371 stars 158 forks source link

Issue evaluating jq version #865

Closed danielnicanl closed 3 months ago

danielnicanl commented 3 months ago

Describe the bug When running the azops 2.5.2 pull pipeline, the validation fails when the latest Jq package is installed .

Steps to reproduce

  1. Create a Windows 2022 image and add all the package dependencies
  2. Run azops pull pipeline using the latest image

Screenshots VERBOSE: Loading module from path 'C:\a\1\Modules\AzOps\2.5.2\AzOps.psm1'. Assert-AzOpsJqDependency : Cannot convert value "1.7.1" to type "System.Double". Error: "The input string '1.7.1' was not in a correct format." At C:\a\1\Modules\AzOps\2.5.2\AzOps.psm1:4313 char:9

eosho commented 3 months ago

I got this same error less then 20 mins ago. Ended up downgrading jq to 1.6.

Jefajers commented 3 months ago

Hi @danielnicanl thanks for reporting this, I have been able to reproduce the issue and we are working on a fix. In the meantime just as suggested by @eosho one workaround is to stick to 1.6.0.