News for hackers. Stuff that matters.
Re:Show HN: Build RPM and Debian Packages from git on Travis CI by stephenr on Saturday November 05, 2016 @08:00AM (#12879377)
Isn't Travis already running on Docker? So.. this is Docker within Docker? Is there a reason you wouldn't just use different docker images at the Travis level for this?
Re:Show HN: Build RPM and Debian Packages from git on Travis CI by rtsisyk on Saturday November 05, 2016 @09:51AM (#12879765)
Travis CI allow you to run any particular command, including Docker, on the top of their Ubuntu Precise/Trusty images. There is no way to choose other images from docker hub in the .travis.yml.

Actually, PackPack is not just for Travis, it can be also used locally:

    ~/gitrepo$ OS=fedora DIST=24 packpack        # Build for Fedora 24
    ~/gitrepo$ OS=centos DIST=7 packpack         # Build for CentOS 7
    ~/gitrepo$ OS=debian DIST=stretch packpack   # Build for Debian Stretch
    ~/gitrepo$ OS=ubuntu DIST=xenial packpack    # Build for Ubuntu Xenial
PackPack automatically bumps version in the RPM spec, packs a source tarball, creates a source RPM and then builds binary packages. You only need a proper RPM spec at `rpm/` and `major.minor` annotated git tag.
Re:Show HN: Build RPM and Debian Packages from git on Travis CI by rtsisyk on Saturday November 05, 2016 @09:55AM (#12879777)