-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Split build/publish in CircleCI #399
Conversation
* Split the test, build, and publish steps with CircleCI workflows. * Fixup `promu` target so it can be used outside of make. * Update git ignore list for promu use. * Update promu crossbuild list to avoid 32-bit builds. * Siplify publish step with workflow filter. Signed-off-by: Ben Kochie <[email protected]>
Huh, I have no idea why CircleCI is not reporting OK when both sub-tasks pass. |
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.
LGTM
@echo ">> fetching promu" | ||
@go get -u github.com/prometheus/promu | ||
GOOS= GOARCH= go get -u github.com/prometheus/promu |
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.
wonder why is that needed?
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.
This allows for setting GOOS
and GOARCH
locally for using cross-compile with make build
. while still keeping the promu
dependency locally compiled.
but still our CI is waiting forever.. wonder why |
Works now - wiIl merge, just have one question (asked above) |
Thanks! |
Changes
promu
target so it can be used outside of make.Verification
Tested promu crossbuild locally.