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

Make controller-gen targets non .PHONY #44

Merged
merged 5 commits into from
May 3, 2023
Merged

Make controller-gen targets non .PHONY #44

merged 5 commits into from
May 3, 2023

Conversation

juanluisvaladas
Copy link
Collaborator

There is a lot to be made as part of #43 but this is what we can do so far without modifying the kustomize targets.

Kustomize recently moved from 4.5 to 5.0 so I'm merging only this for now which is only a small improvement and we can't improve anything else without handling this first.

@juanluisvaladas juanluisvaladas requested a review from a team as a code owner April 27, 2023 14:02
@juanluisvaladas juanluisvaladas requested review from ncopa and jnummelin and removed request for a team April 27, 2023 14:02
@juanluisvaladas juanluisvaladas marked this pull request as draft April 27, 2023 14:23
@juanluisvaladas juanluisvaladas marked this pull request as ready for review April 28, 2023 14:48
@juanluisvaladas
Copy link
Collaborator Author

Initially I only planned to make controller-gen targets non .PHONY but while I was at it I found a few more things I didn't like and by now the PR is modifying more things than it should.

I'll stop for now and once this is merged I'll continue fixing more things that aren't OK because otherwise it will get dififcult to merge...

Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <jvaladas@mirantis.com>
make generate and make manifests now don't need to be regenerated on
every execution.

Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <jvaladas@mirantis.com>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <jvaladas@mirantis.com>
This will cleanup files if anything goes wrong in their target.
Taken from k0s#3046

Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <jvaladas@mirantis.com>
Signed-off-by: Juan-Luis de Sousa-Valadas Castaño <jvaladas@mirantis.com>
@juanluisvaladas juanluisvaladas merged commit 7c25acd into k0sproject:main May 3, 2023
@juanluisvaladas juanluisvaladas deleted the improve-makefile branch May 3, 2023 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants