Closed kranurag7 closed 8 months ago
@chess-knight Can you please take a look at this one? (time permitting on your end)
A rather general comment about the review on DRAFT PR. IMO the good practice is to review the PR that is not in the DRAFT. For me, the DRAFT means something like WIP, i.e. not ready to review.
@matofeder the reason why we follow the approach with draft PRs in all our repos is to not burden the CI so much. In open-source repos it is free, but the CI often cannot run in parallel, for example. This is not relevant in all repos and AFAIK also not relevant in this repo, but we introduced this rule to not confuse people too much. If you don't like it, I would ask @kranurag7 to not do it in this repo in the future.
@matofeder the reason why we follow the approach with draft PRs in all our repos is to not burden the CI so much. In open-source repos it is free, but the CI often cannot run in parallel, for example. This is not relevant in all repos and AFAIK also not relevant in this repo, but we introduced this rule to not confuse people too much. If you don't like it, I would ask @kranurag7 to not do it in this repo in the future.
@janiskemper thank you for the explanation! IMO in free repos, the CI pipeline could help to have clear code before a reviewer dives into it (e.g. code-linters could find some issues), but now I also understand why you prefer the approach with draft PRs.
I do not want to force anything here, so let the developer decide. I was just curious about that.
@matofeder you are completely right about the CI supporting the developers and finding issues. This is why we usually say that make verify
should be used regularly to catch obvious mistakes and to kind of "run the CI locally" without anyone getting bothered by the failing checks.
I would expect that @kranurag7 does this in his draft PR as well ;)
But I think this is a valuable discussion and we should probably have a common understanding among all teams and across all Go-related repos about this! We should maybe bring it to the container team meeting!
@matofeder you are completely right about the CI supporting the developers and finding issues. This is why we usually say that
make verify
should be used regularly to catch obvious mistakes and to kind of "run the CI locally" without anyone getting bothered by the failing checks. I would expect that @kranurag7 does this in his draft PR as well ;)But I think this is a valuable discussion and we should probably have a common understanding among all teams and across all Go-related repos about this! We should maybe bring it to the container team meeting!
yep let's discuss this in the larger round, Here are my two cents:
ready for review
make verify
locally)that's pretty much how we do it. We choose this workflow, because we didn't integrate an elaborate chatops like prow, that allows commands like "ok-to-test" etc.
Thank you for the reviews, after final testing, I think this is now ready to be merged.
add make target to apply clusterstack resource this commit adds make target related to clusterstacks to the repo. We want to let tilt start the controller first and then apply the clusterstack and openstackclusterstackreleasetemplate resource via a click on tilt UI.
In creation of resources, we are creating openstackclusterstackreleasetemplate first followed by clusterstack resource.
Signed-off-by: kranurag7 anurag.kumar@syself.com