open-policy-agent / contrib

Integrations, examples, and proof-of-concepts that are not part of OPA proper.

Home Page:http://www.openpolicyagent.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enable CI for the SQL and Elastic examples

tsandall opened this issue · comments

The SQL and Elastic examples are referenced in a few places. We should make sure all of the tests are healthy. Concretely, we should add/update a Makefile in each directory to include a 'build' target that executes the integration tests in each. Note, the SQL example needs to start an instance of OPA. Perhaps the tests can run OPA in a Docker container if-present. This should work for most development environments as well as Travis. If Docker is not installed, just print a warning and skip the tests.

Fixed by #46