#94 All examples should pass validataion
Opened 4 years ago by lslebodn. Modified 4 years ago

There was a discussion about schema for containers and I was a little bit confused by wrong example in the file examples/container-image.test.complete.json

The current master is c558396a4dbf047e57776e60d359298e2848d23d

The example says[1] is id should be someapp@sha256:017eb7de7927da933a04a6c1ff59da0c41dcea194aaa6b5dd7148df286b92433
However schema says[2] it is a string with pattern sha256:[A-Fa-f0-9]{64}

[1] https://pagure.io/fedora-ci/messages/blob/c558396a4dbf047e57776e60d359298e2848d23d/f/examples/container-image.test.complete.json#_24
[2] https://pagure.io/fedora-ci/messages/blob/c558396a4dbf047e57776e60d359298e2848d23d/f/schemas/container-image.yaml#_84

The ideal would be to have a test for all examples and run them with each PR.


Login to comment on this ticket.

Metadata