-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert run OPA tests action from <0.50 to latest #745
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might also want to change line 39 in SetUp.ps1 to the new minimum version as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Need to update the number in this portion of the README as well. I noticed the significant revamp to the OPA.ps1
. Out of scope for this issue but looks like that section need of the README needs a revamp as well now to match OPA.ps1
new capabilities.
TLDR: Update the OPA version number in the README at least. Update the README language there in another issue.
2e97af0
to
660d503
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run_opa_tests.yaml
I just realized changing to version: latest
for the run_opa_tests.yml
action might hit us when version 1.0 of OPA comes out. Oh well that'll force us to upgrade the Rego ASAP 😈.
* under Run-OPA-Tests change OPA version from <0.50 to latest * bump expected version to v0.59.0 in OPA.ps1 * bump OPA expected version to 0.59.0 in SetUp.ps1 * update README.md with acceptable OPA version
* under Run-OPA-Tests change OPA version from <0.50 to latest * bump expected version to v0.59.0 in OPA.ps1 * bump OPA expected version to 0.59.0 in SetUp.ps1 * update README.md with acceptable OPA version
* under Run-OPA-Tests change OPA version from <0.50 to latest * bump expected version to v0.59.0 in OPA.ps1 * bump OPA expected version to 0.59.0 in SetUp.ps1 * update README.md with acceptable OPA version
🗣 Description
run_opa_tests.yml
changed OPA version from <0.50 to latestOPA.ps1
/SetUp.ps1
bump the expected version from v0.42.1 to v0.59.0💭 Motivation and context
During the 0.30 release the OPA version had to be switched from latest to <0.50, #193. PR #195 has been merged into Flipper which clears up the Rego errors preventing test actions from updating.
Resolves #196
Resolves #593
🧪 Testing
Download OPA v0.59.0 from https://www.openpolicyagent.org/docs/latest/.
./opa_windows_amd64.exe check Rego Testing/Unit/Rego -- strict
Invoke-Scuba
cmdlet against all products for both gcc/gcchigh✅ Pre-approval checklist
in code comments.
to reflect the changes in this PR.
✅ Pre-merge checklist