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

WIP: Magefile POC #819

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

WIP: Magefile POC #819

wants to merge 9 commits into from

Conversation

mattdurham
Copy link
Collaborator

@mattdurham mattdurham commented May 10, 2024

This is 70% of our makefile implemented as Magefile, there are three binaries that allow you to run different targets. Two for osx and one for linux amd64. More can be added. Wanted to get thoughts before diving in deeper. I havent implemented the build cache fully so that is a todo. Tested that I can build all the binaries, boring crypto and images. Ideally the makefile becomes one command, the one to build the magefiles.

Its also debuggable! There is still some code to clean up but thought I would get some input before diving back in.

GO_TAGS="netgo builtinassets promtail_journal_enabled" \
GOEXPERIMENT=${GOEXPERIMENT} \
make alloy
RUN ./build-linux-amd64 alloy
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Need to add this back in once I tighten everything up

Copy link
Contributor

This PR has not had any activity in the past 30 days, so the needs-attention label has been added to it.
If you do not have enough time to follow up on this PR or you think it's no longer relevant, consider closing it.
The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your PR will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity.
Thank you for your contributions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant