Closed alabashtaur closed 1 year ago
Hello, Thank you for opening an issue for this. Some sort of other error is occurring as even though the direct link on the website is omitted. https://openpolicyagent.org/downloads/v0.42.1/opa_windows_amd64.exe is still a valid download link.
I just retested this and SetUp.ps1
is still executing successfully on my end.
The actual error is being hidden and we'll have to better introduce better error logging of OPA.ps1 when #215 is addressed.
Downloading any OPA executable version directly from the OPA website after 0.42.1 should still work with tool. We've tested until up to version 0.5.0. To prevent the download error from throwing in SetUp.ps1
you can omit the OPA download from the SetUp.ps1
script by adding the -NoOPA
switch. This switch omits the call to OPA.ps1
which is the script that does the actual download.
.\SetUp.ps1 -NoOPA
As for why the original error is occurring this could be related to Running the tool behind some proxies.
This could also be caused by another error in the OPA.ps1
download script but we'll have to add the better error logging in #215 to see it.
🐛 Summary
What's wrong? Please be specific.
Executing the Setup.ps1 script fails b/c it's now tied to the OPA execution. SCuBA supports 0.42.1 version of OPA but the site has removed that version and replaced it with 0.42.2. The Setup.ps1 script is attempting to download the old version and failing to complete execution.
To reproduce
Steps to reproduce the behavior:
Expected behavior
The script will run to completion, including the download of the latest required OPA version.
Any helpful log output or screenshots
Paste the results here: