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

tests for error scenarios #22

Open
gabemontero opened this issue Oct 4, 2021 · 3 comments
Open

tests for error scenarios #22

gabemontero opened this issue Oct 4, 2021 · 3 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Milestone

Comments

@gabemontero
Copy link
Member

See the discussion starting in #14 (comment)

we currently do not have testing that sorts out that the operator does the right thing if something is amiss with the shipwright build controller deployment

we'll take any combination of unit, integration, or e2e's as a starting point to resolve this, where if need be, follow up issues are opened if further investigation warrants additional tests

among other things, we should see what other OLM controllers like tekton, or even what openshift CVO operators do in their unit tests to validate bad inputs

@gabemontero gabemontero added good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels Oct 4, 2021
@otaviof
Copy link
Member

otaviof commented Oct 5, 2021

Currently, this operator only generates and applies a Build-Controller Deployment object. If the object is invalid, this operator will surface the error, but the work is done when the deployment is declared.

I think what we are about to discuss is related to the operator watching over the Build-Controller deployment status, and also surface the errors in case the deployment does not become "ready" after some time.

Does it make sense to you, folks?

@gabemontero
Copy link
Member Author

yes your clarification here is warranted @otaviof .... that is really what I was getting after with my comments in #14 (comment)

thanks for the corrections / tweaks for the intent here

@adambkaplan
Copy link
Member

I think there are a few bugs open which are related to this issue:

@adambkaplan adambkaplan added this to the Backlog milestone Mar 9, 2022
@adambkaplan adambkaplan added the hacktoberfest Hacktoberfest candidate issues label Sep 28, 2022
@qu1queee qu1queee removed the hacktoberfest Hacktoberfest candidate issues label Oct 4, 2023
@qu1queee qu1queee added lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. and removed good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. labels May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants