-
Notifications
You must be signed in to change notification settings - Fork 187
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
base: main
Are you sure you want to change the base?
WIP: Magefile POC #819
Conversation
GO_TAGS="netgo builtinassets promtail_journal_enabled" \ | ||
GOEXPERIMENT=${GOEXPERIMENT} \ | ||
make alloy | ||
RUN ./build-linux-amd64 alloy |
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.
Need to add this back in once I tighten everything up
This PR has not had any activity in the past 30 days, so the |
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.