Bojan Delic
03/29/2023, 12:31 PMfailed to load test suite: failed to unmarshal JSON: proto: syntax error (line 1:183): unexpected token {
and I am sure I made some mistake in yaml file (I have validated it and it is valid yaml) and I am sure it is not going to be last time, so I am looking for a way to get a sense of what is wrong. I am running docker run -it -v (pwd)/policies:/policies -v (pwd)/tests:/tests <http://ghcr.io/cerbos/cerbos:latest|ghcr.io/cerbos/cerbos:latest> compile /policies --tests /tests --verbose
. Thanks.expected
a list), but original question still stands. Additionally - is there a schema for test files? I have configured one for policies, but I am not aware of one for test files.Charith (Cerbos)
03/29/2023, 12:53 PMBojan Delic
03/29/2023, 1:27 PMCharith (Cerbos)
03/29/2023, 2:02 PMyq
to convert YAML to JSON and vice versa if that's useful.Bojan Delic
03/29/2023, 9:55 PM