warewulf / warewulf3

Warewulf is a scalable systems management suite originally developed to manage large high-performance Linux clusters.
107 stars 45 forks source link

Setup CircleCI based build and smoke testing #53

Open bensallen opened 7 years ago

bensallen commented 7 years ago

Workflow for each commit and PR via CircleCI:

  1. Build Warewulf3 inside a base CentOS 7, Ubuntu 16.04 Docker containers via CircleCI 2.0. Export packages as artifacts.
  2. Install built packages in fresh container(s)
  3. Run wwinit inside container(s)
  4. On development and master branches only, push packages to repo (which repo?)
bensallen commented 7 years ago

@macdems any chance you'd consider creating a PR to merge in your 3.8 Ubuntu/Debian packaging configs into the development branch? I'd like to have CircleCI building packages under Ubuntu as part of our testing.

macdems commented 7 years ago

I may do this, but DEB packages philosophy does not got well with in-source spec. For example you need a separate changelog. And while the best method to distribute Ubuntu packages is through Launchpad, I would rather rely on it.

But still this question is open for discussion.

bensallen commented 7 years ago

@macdems My main goal for this request is to ensure we have some automated testing around Warewulf on commits. In this case, build the Warewulf components on Ubuntu and create the packages. The next job will be to install those packages into a fresh container and run wwinit ALL as a basic smoke test. I'd like todo this for each distro where we have users.

Also I don't have any opinions on if you continue to use Launchpad. The packages produced here will be the equivalent to the old nightly RPMs.

Thanks.