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

Split build/publish in CircleCI #399

Merged
merged 1 commit into from
Jul 2, 2018
Merged

Split build/publish in CircleCI #399

merged 1 commit into from
Jul 2, 2018

Conversation

SuperQ
Copy link
Contributor

@SuperQ SuperQ commented Jul 2, 2018

Changes

  • 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.

Verification

Tested promu crossbuild locally.

* 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]>
@SuperQ
Copy link
Contributor Author

SuperQ commented Jul 2, 2018

Huh, I have no idea why CircleCI is not reporting OK when both sub-tasks pass.

Copy link
Member

@bwplotka bwplotka left a 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
Copy link
Member

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?

Copy link
Contributor Author

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.

@bwplotka
Copy link
Member

bwplotka commented Jul 2, 2018

but still our CI is waiting forever.. wonder why

@bwplotka
Copy link
Member

bwplotka commented Jul 2, 2018

@bwplotka
Copy link
Member

bwplotka commented Jul 2, 2018

Works now - wiIl merge, just have one question (asked above)

@bwplotka
Copy link
Member

bwplotka commented Jul 2, 2018

Thanks!

@bwplotka bwplotka merged commit f9c0f6f into thanos-io:master Jul 2, 2018
@SuperQ SuperQ deleted the superq/promu-build branch July 2, 2018 18:18
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