Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated matrix integration tests #2737

Open
ozamosi opened this issue Sep 14, 2022 · 0 comments
Open

Automated matrix integration tests #2737

ozamosi opened this issue Sep 14, 2022 · 0 comments
Labels
ci priority_low Items we want to complete in the next >= 90 days

Comments

@ozamosi
Copy link
Contributor

ozamosi commented Sep 14, 2022

There should be a test suite that is able to:

  • Set up a test environment (say, latest flux, latest k8s, always in kind)
  • Install flux + a bunch of test resources
  • Run "interesting" queries against the gitops backend, and record the responses.
  • Then, for every version of flux and k8s we support:
    • Create a test environment running that
    • Install the same test resources
    • Check that the responses "match".

The definition of "match" is a bit complicated - it needs to be driven by what the frontend needs and expects, and some fields (e.g. dates) just won't match.

Because the data is being interpreted by js, I think we need to drive this suite from js.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci priority_low Items we want to complete in the next >= 90 days
Projects
None yet
Development

No branches or pull requests

4 participants