-
Notifications
You must be signed in to change notification settings - Fork 165
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
Add Builder UpToDate Condition #1370
Conversation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## main #1370 +/- ##
==========================================
- Coverage 67.29% 67.24% -0.05%
==========================================
Files 133 133
Lines 8224 8267 +43
==========================================
+ Hits 5534 5559 +25
- Misses 2237 2255 +18
Partials 453 453
|
52e07f0
to
f9d54c0
Compare
- ConditionReady indicates that the builder can be used in a build (has a latestImage) - ConditionUpToDate indicates the status of the builder reconciler Signed-off-by: Tom Kennedy <ktom@vmware.com>
Signed-off-by: Tom Kennedy <ktom@vmware.com>
Signed-off-by: Tom Kennedy <ktom@vmware.com>
f9d54c0
to
1a042b8
Compare
Feel free to push back if you think this is scope creep, but what do you think about printing a warning in the build logs if the builder is not up to date? I'm a little bit worried about how to surface this info to the user, I highly doubt people are in the habit of checking their builders/stacks/buildpacks if their Images are happy. While they probably won't check build logs that much either, it would at be something. Maybe we can also bubble this up in the Image as well, but that might be too complex to introduce a "Warning" state in addition to the current "Error" states. |
I thought about this but the build doesn't really know anything about the builder resource so I wasn't sure if it made a ton of sense. I'm still open to it but I think I would prefer it in a follow up pr |
I was imagining something simple like a
👍 |
Adds a condition for Builder UpToDate. This tracks the status of the latest reconcile of the builder, while the Ready condition indicates that the builder is able to be used in a build. The reason behind this change is that a builder reconcile may fail for a variety of reasons, but as long as there is a latestImage, builds should be able to continue.
resolves #1365