freebsd / kyua

Testing framework for infrastructure software
BSD 3-Clause "New" or "Revised" License
147 stars 42 forks source link

Require Ubuntu Xenial instead of Ubuntu Trusty #192

Closed ngie-eign closed 5 years ago

ngie-eign commented 5 years ago

Ubuntu Trusty Tahr is EOL at the end of next month and support has been deprecated within the Travis project. Use Xenial instead of Trusty, as it is supported by Ubuntu and Travis.

Signed-off-by: Enji Cooper yaneurabeya@gmail.com

ngie-eign commented 5 years ago

@jmmv: I realize that this will also require changing admin/travis-install-deps.sh to not install the specific kyua package from your local bintray.dl URL. Is there maybe value in using Fedora Linux instead, since it has a kyua package, or should we push for a kyua package in Ubuntu?

jmmv commented 5 years ago

I've always hated this prebuilt Kyua binary installation for Travis. It's a pain to manage.

Is there Fedora support on Travis? I didn't know that. Also, how up-to-date is the Kyua package there? I haven't... paid attention to it.

Having an upstream package in Ubuntu would be awesome though. I've always wanted to do this but never found the energy to learn Debian packaging :-P

jmmv commented 5 years ago

@googlebot rescan

(Just configured a CLA validator and I'm picking a random PR to verify it works. I know you already have signed it, so this should turn green soon 😄.)

jmmv commented 5 years ago

@googlebot rescan

(Just another test because the previous didn't work.)

ngie-eign commented 5 years ago

I've always hated this prebuilt Kyua binary installation for Travis. It's a pain to manage.

Is there Fedora support on Travis? I didn't know that. Also, how up-to-date is the Kyua package there? I haven't... paid attention to it.

The latest release is available in Fedora 29, per rpm.pbone.net (it's similar to rpmfind.net).

Having an upstream package in Ubuntu would be awesome though. I've always wanted to do this but never found the energy to learn Debian packaging :-P

I can create a dpkg recipe, but it would require 1) refreshing decade old knowledge (I wrote some Debian rules in my first post-college job), 2) installing Debian or Ubuntu to test out the new packaging method, and 3) figuring out how to contribute the package upstream.

I would much rather use Fedora, since I understand how RPM spec files work better than dpkg make rules and specfiles, and because the work has been graciously done by @ignatenkobrain.

Also, long story short, if Travis was actually running... one would note the current breakage on master (link). I think it might be a good idea (alternatively) to use osx/homebrew to hit the ground running sooner (rather than later), since it does have the atf, kyua, and lutok packages with the homebrew-provided taps.

ngie-eign commented 5 years ago

Ah, a request was opened up by @rodrigc a few years ago on Debian (link). It might be a good starting point for the package.

ngie-eign commented 5 years ago

Here we go: https://stackoverflow.com/a/32985138/10915999 . Fedora 29 ala Docker on Travis, here we come!