ocurrent / ocurrent/obuilder

Platform specific health checks

Open
#177 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
OCaml
Stars
67
Forks
19
PR merge metrics
No merged PRs in 30d

Description

OBuilder has support for running health checks to identify issues with the platform it is running on. Presently those checks assume a Linux platform with Docker being available. eg

$ obuilder healthcheck --store=zfs:tank
Healthcheck passed

Now that OBuilder has support for FreeBSD and macOS that do not use docker, we should drop the docker installation requirement and implement a more suitable health check on those platforms.

In particular on FreeBSD, we install a docker client binary to satisfy this requirement but never use it to perform builds. Similarly for macOS

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the obuilder healthcheck command and trace how it checks for Docker on Linux. Compare the platform behavior described for FreeBSD and macOS, then define checks that do not require Docker there. Done means the command reports suitable platform health without requiring an unused Docker client.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.