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

Implement CI-based distribution #16

Open
ronaldtse opened this issue Jun 15, 2018 · 4 comments
Open

Implement CI-based distribution #16

ronaldtse opened this issue Jun 15, 2018 · 4 comments

Comments

@ronaldtse
Copy link
Contributor

We'd like to cross-compile the Riffol binary on different systems. Rust standard library depends on libc, which can be different on different Linux distros (Debian vs CentOS).

This task is to create a Jenkinsfile that can distribute standalone binaries that target different platforms.

Links:

The resulting binaries should be distributed in the Releases section in this repo.

@drystone
Copy link
Contributor

drystone commented Jul 6, 2018

@ronaldtse I'm nearly there having spent a gruesome couple of days grappling with Jenkins and underpowered cloud hosts! It uses Jenkins and platform specific Docker agents.

The binaries are currently tested over each platform but not retained. Hopefully, once www.riffol.com is set up we can somehow post them over as part of this CI.

I've been using a private Jenkins instance for testing but would prefer to integrate into your Jenkins. Would you be able to do this?

Please close this issue if you're satisfied. Thanks :)

@drystone drystone closed this as completed Jul 6, 2018
@drystone drystone reopened this Jul 6, 2018
@ronaldtse
Copy link
Contributor Author

@drystone for testing, we could use Travis and its matrices.

My intention for Jenkins was for the distribution of releases, especially on our own yum repo at https://github.com/riboseinc/yum

@drystone
Copy link
Contributor

drystone commented Jul 6, 2018

@ronaldtse, I guess we are going to need both in that case. Matrices would indeed be useful for testing and they appear broken in Jenkins - at least with a declarative Jenkinsfile.

Jenkins is a bit pointless at the moment as all it does is test. I suggest we leave it in as a basis for building packages and binary distribution - perhaps not add the GitHub hooks for the time being.

We could, however, hook both this and the Nereond repo to Travis so we can do the cross platform testing. I'll push some .travis.yml in the meantime.

@ronaldtse
Copy link
Contributor Author

@drystone you're absolutely right. Let's use Travis to test. I think it's easy to package Riffol / Nereond in RPMs using Jenkins as long as the build flow allows it.

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

No branches or pull requests

2 participants