-
Notifications
You must be signed in to change notification settings - Fork 113
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
Restructure buildrun code into separate resources #595
Restructure buildrun code into separate resources #595
Conversation
4483825
to
30b0e19
Compare
This ensures that between controller definition and reconcile logic, we have a clear separation. This also add a missing suite for the resources internal pkg.
Move some functions into new or existing classes under the internal resource package.
5a5888c
to
362d0b1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, we get even smaller source files. :-) Some suggestions.
38bc0a8
to
015745d
Compare
This add new unit-tests to ensure a decent code coverage for all the different classes under the resource pkg of buildrun. Signed-off-by: Sascha Schwarze <[email protected]>
015745d
to
b11e91d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: SaschaSchwarze0 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Changes
This is a rebase on top of #593 . This PR is doing the following:
resource
pkg, I´m adding a bunch of new unit-tests to increase the coverage of those functions.Submitter Checklist
Release Notes