opentdf / otdfctl

OpenTDF command line interface
BSD 3-Clause Clear License
7 stars 4 forks source link

CI: Add opentdf/tests xtest step #347

Closed dmihalcik-virtru closed 2 months ago

dmihalcik-virtru commented 3 months ago

The xtest project originally validated that files created in one version of a client library are able to be read by the others. For the go client, it uses the otdfctl tool.

Over time it has also grown to rely on other features of the otdfctl tool for policy and kas grant management. Adding a call to this will help prevent breakages of the xtest infrastructure and should increase overall velocity as the number of supported clients increases.

jakedoublev commented 3 months ago

Agreed. The e2e tests in otdfctl should be a reusable workflow that:

  1. accepts workflow_call as a trigger
  2. accepts the platform commit sha when checking out the platform
  3. accepts the otdfctl commit sha when checking out otdfctl

This way, the platform CI can test a platform PR branch against otdfctl main, and otdfctl CI can test an otdfctl branch against the platform main.