23 Commits
Author SHA1 Message Date
Michael Stapelberg dc484a0c7e gokr-boot: fix locating instance config (for CI) 2026-06-28 10:19:08 +02:00
Michael Stapelberg 06855a11af gokr-boot: use instanceflag.Flags to avoid globals 2026-06-23 08:51:47 +02:00
Michael Stapelberg b83576eb01 gokr-boot: switch away from ApplyInstanceFlag 2026-06-22 22:29:58 +02:00
Michael Stapelberg 6546aca8e7 update to latest gokrazy/internal
related to https://github.com/gokrazy/gokrazy/issues/191
2025-01-26 22:47:31 +01:00
Michael Stapelberg 2f3c08a7f2 gokr-boot: use the gok CLI to build the instance
gokr-boot must now be called from a gokrazy instance directory,
e.g. cd ~/gokrazy/bakery && gokr-boot -require_label=please-boot \
-set_label=please-merge -bootery_url=$BOOTERY_URL -update_root
2023-02-28 20:59:00 +01:00
Michael Stapelberg e2147ae6b5 install serial-busybox to have a shell for breakglass 2022-07-19 09:02:59 +02:00
Michael Stapelberg 5fb3bfc676 gokr-boot: update each host with a separate image, serially
related to https://github.com/gokrazy/gokrazy/issues/114

As an added benefit, this reduces the blast radius when there is a breaking
change (fewer SD cards to recover).
2022-06-26 12:22:29 +02:00
Michael Stapelberg 42deb48616 gokr-boot: add -update_root flag
This builds and updates the bakery root file system, too,
which is required for testing loadable kernel modules.

related to https://github.com/gokrazy/gokrazy/issues/114
2022-06-26 10:53:57 +02:00
Michael Stapelberg 57027cc502 gokr-boot: fix “newer” timestamp comparison
This seems to only be a problem on fast enough machines, which is why it
typically did not happen on Travis or GitHub Actions :)
2022-06-26 10:42:53 +02:00
Michael Stapelberg adfe6d36f7 boot: specify -serial_console=serial0,115200 2022-03-21 19:35:55 +01:00
Michael Stapelberg eeb2cc550c update to latest go-github version 2021-06-24 14:57:18 +02:00
Michael Stapelberg eb99042a7e gokr-boot: set boot-newer parameter
fixes https://github.com/rtr7/kernel/issues/165
2020-07-07 09:44:12 +02:00
Michael Stapelberg 0f228a0c18 boot: include HTTP error message in error 2020-05-24 21:29:58 +02:00
Michael Stapelberg 345e6625d3 gokr-{boot,merge}: centralize environment details 2020-05-24 20:39:08 +02:00
Michael Stapelberg 5fa5d44a8e boot: fall back to GitHub actions environment variables
…but also support Travis CI until we have moved off of it.
2020-05-24 20:23:06 +02:00
Michael Stapelberg 7fdf995844 switch to go modules 2020-02-29 10:35:51 +01:00
Michael Stapelberg 09b239f1a3 gokr-boot: introduce -serial_console flag 2018-07-15 13:12:39 +02:00
Michael Stapelberg bb454d67fc gokr-boot: introduce -kernel_package and -firmware_package 2018-07-15 09:30:18 +02:00
Michael Stapelberg 1a860def5f gokr-boot: send slug to bootery 2018-07-14 22:38:50 +02:00
Michael Stapelberg fea4065602 boot: remove -bootery_url from (public!) error messages 2017-03-28 09:29:10 +02:00
Michael Stapelberg b37a5b5b50 boot: correct flag name 2017-03-28 09:19:13 +02:00
Michael Stapelberg 2cc01a1998 boot: exit successfully when label was not found 2017-03-28 09:18:43 +02:00
Michael Stapelberg af8c503c7e add gokr-boot to run boot tests on real hardware 2017-03-27 09:44:11 +02:00