The bakery is part of the gokrazy project. It consists of a set of programs, installed on two different Raspberry Pi 3s at stapelberg’s place:
- One “sacrificial” Raspberry Pi 3 (
bakery
) is running a gokrazy image with thebake
program. The program prints success messages to the serial console. - The
bootery
program installs updated gokrazy images on thebakery
Raspberry Pi 3 and waits for the success messages printed by thebake
program (the Raspberry Pi 3 runningbootery
is physically connected to the serial console of thebakery
Raspberry Pi 3).
The bootery
program is used in our continuous integration setup to
verify that new firmware and
kernel versions actually work on
real hardware.
Setup
~/go/bin/gokr-packer \
-hostname=bakery \
-overwrite=/dev/sdx \
github.com/gokrazy/breakglass \
github.com/gokrazy/bakery/cmd/bake