Bumps OPA to version 1.0 release to fix integration tests and docker setup #275
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Issue Briefly discuss the summary of the changes made in this pull request in 2-3 lines.
OPA recently released version 1.0.0 which is not backwards compatible. Since our docker images were using the latest versions of OPA, there were some changes needed in order to be compatible with the released major version.
https://github.com/open-policy-agent/opa/releases/tag/v1.0.0
Opted to fix-forward rather than revert to 0.70.0 as it seems 1.0.0 is a significant release which should be supported for longer term.
Changes
Ensures that the GHA CI/CD will wait for build-and-test to pass before releasing. Although PRs are validated, there was still a miss when there are docker/GHA version releases in between the last PR CI validation run and the merge time
Validated the rules work using the OPA 1.0 binary and followed the compatibility guide
https://www.openpolicyagent.org/docs/latest/v0-compatibility/
Needed to explicitly bind the port of the server to
0.0.0.0
as it now defaults to localhost, causing an issue when being accessed by other containers.Testing Done
Tested that this works e2e by running the integration tests and running the local docker setup.
Additional Information
For all the boxes checked, include additional details of the changes made in this pull request.
Additional Information
For all the boxes checked, include additional details of the changes made in this pull request.