opentdf / otdfctl

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

chore(ci): Add xtest #361

Closed dmihalcik-virtru closed 2 months ago

jakedoublev commented 2 months ago

Hey @dmihalcik-virtru thanks for this PR. We will be taking a different approach.

Like xtest, the current e2e tests for otdfctl similarly spin up the platform and its resources in the background to run end to end tests against. This is our ideal to own success/failure of the testing:

  1. otdfctl PRs test the PR branch against the latest platform main
  2. platform PRs test the platform PR branch against the latest otdfctl
  3. add a workflow_call trigger to otdfctl and make the e2e test a separate job so its reusable

I think we can likely forgo otdfctl within xtest as a separate repo and make each job's commit shas dynamic inputs so we have: