Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build new *BSD CI pipelines #2883

Open
SuperQ opened this issue Dec 22, 2023 · 4 comments
Open

Build new *BSD CI pipelines #2883

SuperQ opened this issue Dec 22, 2023 · 4 comments

Comments

@SuperQ
Copy link
Member

SuperQ commented Dec 22, 2023

Because the node_exporter requires C bindings for BSD builds we need to have BSD-capable CI runners in order to test builds.

We used to have a buildkite configuration, but this has fallen into disrepair.

We have a few options.

  • Repair the buildkite setup.
  • Add BSD runners for CircleCI.
  • Add BSD runners for GitHub Actions.

In order to do this with easier long-term maintenance, I think we should build some kind of automation around recycling the worker VMs. The original setup was built on a Packet/Equinix Metal server, which was too much work to maintain.

@conallob
Copy link
Contributor

I'll take this.

I've previously did some cursory investigation into GitHub runners + FreeBSD, but GitHub themselves don't qualify their self hosted runners in BSD.

I'll investigate CircleCI, but a fourth option would be to create a new buildkite config, instead of repairing the existing one

@mjtrangoni
Copy link
Contributor

mjtrangoni commented Dec 22, 2023

Hi, this runs a little bit slow but did the job for me,

https://github.com/msktutil/msktutil/blob/master/.github/workflows/msktutil-freebsd.yml

I mean this action here,
https://github.com/vmactions/freebsd-vm

@conallob
Copy link
Contributor

conallob commented Jan 1, 2024

@mjtrangoni Thanks for the pointer to https://github.com/vmactions/freebsd-vm

I'll play around with freebsd-vm and see how fast it is, before opening a PR to add VMs into GitHub Actions

@phyber
Copy link
Contributor

phyber commented Feb 18, 2024

If you haven't seen it (I didn't see it mentioned in search results of this repo), there's also Cirrus CI which has native support for FreeBSD runners and is free for open source projects. I use it on one of my FreeBSD projects and it's been fine over the years. I'm obviously unsure how it would perform with a way more popular project like this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants