zfs icon indicating copy to clipboard operation
zfs copied to clipboard

Add CI for FreeBSD

Open AkihiroSuda opened this issue 4 years ago • 8 comments
trafficstars

We should run the unit test on FreeBSD, probably using Vagrant on macOS instances of GHA.

AkihiroSuda avatar Apr 19 '21 06:04 AkihiroSuda

@AkihiroSuda Is Cirrus CI an option? Failing that I'm happy to setup a FreeBSD buildbot worker for you (I run one for several upstreams including Python)

koobs avatar Apr 19 '21 09:04 koobs

SGTM

  • Pricing for public projects (free): https://cirrus-ci.org/faq/#are-there-any-limits
  • Available FreeBSD nodes (12.2-RELEASE, 13.0-ALPHA): https://cirrus-ci.org/faq/#are-there-any-limits

AkihiroSuda avatar Apr 19 '21 10:04 AkihiroSuda

cc @samuelkarp @dmcgowan @estesp

AkihiroSuda avatar Apr 19 '21 10:04 AkihiroSuda

If you need support with setup/config, don't hesitate to ping

koobs avatar Apr 19 '21 10:04 koobs

Thanks!

AkihiroSuda avatar Apr 19 '21 10:04 AkihiroSuda

For reference, requested image updates from Cirrus for better and greater coverage:

https://twitter.com/freebsdhelp/status/1384090389439598596?s=21

Edit: Cirrus are awesome and already have all the latest versions (automatically)

koobs avatar Apr 19 '21 10:04 koobs

I didn't know about Cirrus, but that looks like a good possibility. I've also opened https://github.com/containerd/zfs/issues/45 to track porting the unit tests, since right now they're Linux-only.

samuelkarp avatar Apr 19 '21 16:04 samuelkarp

Cirrus lets you use any GCP image - the list is available using the gcloud CLI tool: gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images

The FreeBSD base system CI story includes Cirrus-CI, you can see status at https://cirrus-ci.com/github/freebsd/freebsd-src/

@koobs is correct, Cirrus-CI is awesome.

emaste avatar Apr 20 '21 01:04 emaste