Closed anik120 closed 3 months ago
For any test that requires access to images hosted in an image registry, set up test suite to configure a local registry and use that registry for tests instead of reaching out to remote registry.
For the vast majority of these tests, I would much prefer to see this be "build image, kind load image, use imagePullPolicy IfNotPresent". This means there's no need for an actual image registry.
Eventually blocks can return error instead of taking in Gomega object in it's function signature.
AFAIK, they can return anything. And then you can assert on whatever is returned.
For any test that requires access to images hosted in an image registry, set up test suite to configure a local registry and use that registry for tests instead of reaching out to remote registry.
For the vast majority of these tests, I would much prefer to see this be "build image, kind load image, use imagePullPolicy IfNotPresent". This means there's no need for an actual image registry.
That works too. But that also means we'll have to figure out how we can give access to the test clusters' context to the test suite, etc
That works too. But that also means we'll have to figure out how we can give access to the test clusters' context to the test suite, etc
We've got this setup working in the rukpak repo. It takes some effort, but once its setup it works really well.
Another potential follow-on: https://github.com/operator-framework/operator-controller/pull/182/files#r1178493885
Another potential follow-on: https://github.com/operator-framework/operator-controller/pull/182/files#r1178493885
We probably may have to refactor this in a different way if this gets in (if that's what we want to eventually do). cc: @perdasilva
Set up e2e infrastructure for catalogd and operator controller:
quay.io/operatorhubio/catalog:latest
Review operator-controller e2e test suite:
Clean up "properties' values must be json objects" expectations in variable source implementation, more details here
Move catalogd resources get/watch verbs for operator-controller closer to where they're needed (entitysource implementation). More details here