Containerized detect-hifiberry
script from HiFiBerryOS, configuring the driver overlay for your HiFiBerry HAT automatically.
Either install it as app using the kubemate GUI or run:
docker run --rm --privileged --pid host -v /:/host -v /dev:/dev -v /lib/modules:/lib/modules ghcr.io/mgoltzsche/hifiberry-detector:<VERSION>
(Within that command, you have to replace <VERSION>
with the latest version without the leading v
.)
To list the supported targets, run make help
.
- git
- make
- docker 20+
- kubectl
To build the application container image using skaffold, run:
make image
To deploy the application using skaffold, run:
make deploy
To deploy the application in debug mode (debug ports forwarded), stream its logs and redeploy on source code changes automatically, run:
make debug
To undeploy the application, run:
make undeploy
To apply blueprint updates to the application codebase, update the kpt package:
- Before updating the package, make sure you don't have uncommitted changes in order to be able to distinguish package update changes from others.
- Call
make blueprint-update
or ratherkpt pkg update
andkpt fn render
(applies the configuration withinsetters.yaml
to the manifests andskaffold.yaml
). - Before committing the changes, review them carefully and make manual changes if necessary.
TL;DR: Variant Constructor Pattern
The release process is driven by Conventional Commits, letting the CI pipeline generate a version and publish a release depending on the commit messages on the main
branch.