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

Document Makefile and align .PHONY with available tasks #275

Merged
merged 6 commits into from
Jul 6, 2023

Conversation

marcofranssen
Copy link
Contributor

@marcofranssen marcofranssen commented Jun 27, 2023

Some old .PHONY targets where there where the target itself wasn't there anymore. By defining the PHONY with the target it is easier to keep this in sync in the future

Also added a help target that prints a nicely formatted help for every single make target.

image

@@ -1,5 +1,3 @@
.PHONY: ui vendor build container-manager container-manager-push push container-frontend container-frontend-push container-backend container-backend-push
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ui build push targets didn't exist anymore, moved the existing ones with the respective target to make it easier to keep these in sync (more easy to detect during a review).

@marcofranssen marcofranssen force-pushed the optimize-makefile branch 6 times, most recently from 58a491e to 62a10d2 Compare June 27, 2023 10:27
@marcofranssen marcofranssen changed the title Document Makefile and align PHONY with available tasks Document Makefile and align .PHONY with available tasks Jun 27, 2023
@marcofranssen marcofranssen force-pushed the optimize-makefile branch 5 times, most recently from 8999b96 to 28575ec Compare June 30, 2023 20:10
This takes the latest patch release of similar to our previous version, except now we don't have the Go version duplicated in 3 places

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
This caches based on the checksums

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
@marcofranssen marcofranssen force-pushed the optimize-makefile branch 4 times, most recently from 9851276 to 6f7d39a Compare June 30, 2023 21:47
Some old .PHONY targets where there where the target itself wasn't there anymore. By defining the PHONY with the target it is easier to keep this in sync in the future

Also added a help target that prints a nicely formatted help for every single make target.

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Splitting into separate workflow steps makes the workflow more transparant

Signed-off-by: Marco Franssen <marco.franssen@gmail.com>
Copy link
Collaborator

@mrsabath mrsabath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really nice update @marcofranssen Thank you!
LGTM!

@mrsabath mrsabath merged commit 71e00cd into spiffe:v1.4 Jul 6, 2023
2 checks passed
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.

None yet

2 participants