[GNC-dev] openSUSE added to Docker; easy builds for dev and CI

Dale Phurrough dale at hidale.com
Mon May 27 12:40:26 EDT 2019


Yes, I found those two dockers in the gnucash repo, saw what they were
doing (e.g. param compatibility), and then made new ones with more
flexibility.
This is a work-in-progress for me; my first contribution for the community.
I often gravitate towards things that are multipliers -- helping others to
help. These dockers help me (so I can compile docs, code) and can help
other people through individual compiles/setups and through automated
testing/reporting/build CI systems.

One of my goals this month is to setup CI with all the Linux containers and
make a page demonstrating them....the little colored badges showing which
pass/fail/etc. This will take my testing of these to the next stage.
Travis is only an example. Yes, there are other service options that can do
Windows containers (though Travis has early alpha support, and their HQ is
in Berlin where I live) through not all the services are free for FOSS. I
found this site w/ an Appveyor docker example
https://stefanscherer.github.io/setup-windows-docker-ci-appveyor/

I get the bounding timespan (14.04  -->  Arch) approach. I believe having a
wider set of OS is also useful. For example, I've found a failure with the
handling of emoji 🎃 on the maintenance branch with more recent Ubuntu's
and SRFI64. It doesn't appear in 14.04 (because it doesn't have SRFI64),
Arch, Debian, openSUSE, or CentOS. The current CI isn't catching it. It is
only Ubuntu 16.04+. I suspect a code bug, change in dependencies,
additional undocumented setup needs, etc -- all helpful to resolve to
improve the setup docs, code, test cases, build config, etc. [I have not
yet logged a 🎃 bug as I'm not yet confident I've isolated the issue]

All feedback is appreciated. And thanks for inquiring
--Dale

On Mon, May 27, 2019 at 4:41 PM John Ralls <jralls at ceridwen.us> wrote:

>
>
> > On May 27, 2019, at 4:40 AM, Dale Phurrough via gnucash-devel <
> gnucash-devel at gnucash.org> wrote:
> >
> > Hi all. I've updated the Dockers to build Gnucash for openSUSE 5.0 and
> 5.1.
> > https://github.com/diablodale/gnucash-dev-docker
> > With these, you can build GnuCash 3.5+ on major releases of Ubuntu,
> Debian,
> > Arch, CentOS, and openSUSE Linux.
> >
> > These are great for continuous integration (CI) by everyone by unit
> testing
> > your code and integrating them into systems like Travis. Also good for
> new
> > dev/testers and seeing how to setup your computers with all the needed
> > dependencies to compile.
> >
> >   - Windows: Blocked due to bugs in the Gnucash-on-Windows project.
> >   - FreeBSD: The Docker project on FreeBSD died. I won't be delivering
> >   these.
> >   - Fedora: coming soon...
>
> Very nice.
>
> You know that we already have Dockers for Arch and Ubuntu-14.04 (Arch
> because it's always bleeding-edge, Ubuntu originally because that's what
> Travis-CI supported before Docker came along and latterly because it's a
> good representative of the oldest dependencies supported for the 3.x
> series). They're in utils/ci. Travis-CI builds are at
> https://travis-ci.org/Gnucash/gnucash/builds/
>
> IIUC Travis-CI doesn't do Windows and we need to set up an Appveyor
> instance for that. Does Appveyor use Docker?
>
> Regards,
> John Ralls
>
>


More information about the gnucash-devel mailing list