Michael Stapelberg
92b802b341
go.mod: update language version to go1.26, bump deps
2026-07-11 09:33:56 +02:00
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
7a0affc63c
gokr-pull-eeprom: make remote firmware directory configurable
2025-11-16 09:44:53 +01:00
Michael Stapelberg
102b653aa3
gokr-pull-eeprom: update _build/eeprom-ref.txt instead of go const
...
related to https://github.com/gokrazy/gokrazy/issues/332
2025-11-16 09:40:27 +01:00
Michael Stapelberg
c5b0529eb9
add generalized version of gokr-update-eeprom
...
related to https://github.com/gokrazy/gokrazy/issues/332
2025-11-16 09:35:05 +01:00
Michael Stapelberg
be22664e50
gokr-rebuild-kernel: copy (now-available) Raspberry Pi 5 dtb
...
related to https://github.com/gokrazy/gokrazy/issues/223
2025-11-13 17:55:19 +01:00
Michael Stapelberg
b23c6efd11
update to latest x/crypto
2025-04-15 08:49:59 +02:00
Michael Stapelberg
c129780353
go.mod: bump language version to 1.24
2025-04-15 08:49:45 +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
5fa617d9ac
gokr-rebuild-kernel: make dtb copying configurable
2024-08-02 16:41:52 +02:00
Michael Stapelberg
f3f687c0a2
implement -flavor=raspberrypi (defconfig target, copy overlays)
2024-08-02 15:21:31 +02:00
Michael Stapelberg
2126940d68
gokr-rebuild-kernel: log file copies for debugging
2024-08-02 09:34:52 +02:00
Michael Stapelberg
10418837b1
gokr-rebuild-kernel: only look for dtb files with -cross=arm64
2024-08-02 08:58:07 +02:00
Michael Stapelberg
7fef833ff5
implement -cross=arm64 flag
2024-08-01 23:05:00 +02:00
Michael Stapelberg
2edd0175b5
gokr-rebuild-kernel: read patch list from series file
...
Also error out if not running from a _build directory,
to catch that mistake early.
2024-08-01 21:45:49 +02:00
Michael Stapelberg
eba9c5d9e0
add generalized version of gokr-rebuild-kernel
...
related to https://github.com/gokrazy/gokrazy/issues/263
2024-08-01 15:27:20 +02:00
Michael Stapelberg
03e01355d1
gokr-pull-kernel: update non-go -updater_paths with just the URL
2024-08-01 14:49:25 +02:00
Michael Stapelberg
d12e3c3b26
pull-kernel: log upstream URL
2024-08-01 10:46:38 +02:00
Michael Stapelberg
0914e65696
gokr-pull-kernel: raspberrypi: return URL, not just tag name
2024-06-09 23:12:32 +02:00
Michael Stapelberg
f48b5bc55f
gokr-pull-kernel: implement -flavor=raspberrypi
...
related to https://github.com/gokrazy/gokrazy/issues/223
2024-06-09 23:02:31 +02:00
Michael Stapelberg
829e88a109
gokr-pull-eeprom: update rpi-eeprom upstream location change
2023-11-20 18:52:52 +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
20e0b5b45f
go.mod: update to language version go 1.18, tidy
2022-08-07 10:43:50 +02: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
688d7ec19d
update branch names
2022-03-17 21:42:24 +01:00
Michael Stapelberg
578e4e6bb6
re-add forgotten addLabel() call
...
This got lost in commit d4c9f46d71
2022-03-17 18:02:26 +01:00
Michael Stapelberg
679307c092
log label for debugging
2022-03-16 22:36:39 +01:00
Michael Stapelberg
d4c9f46d71
re-implement gokr-amend using git(1) and rsync(1)
...
This makes updating lib/ directory recursively much easier than using the GitHub
API directly.
related to https://github.com/gokrazy/gokrazy/issues/13
2022-02-25 09:50:26 +01:00
Michael Stapelberg
eeb2cc550c
update to latest go-github version
2021-06-24 14:57:18 +02:00
Michael Stapelberg
c187c43cfa
use cienv to get all environment variables correct
2020-12-31 11:02:10 +01:00
Michael Stapelberg
7c9237f158
pull-firmware/pull-kernel: use GITHUB_REPOSITORY
2020-12-31 10:59:21 +01:00
Michael Stapelberg
2ae20c3ada
add gokr-has-label for GitHub Actions logic
2020-12-30 14:35:15 +01: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
4950605b19
gokr-amend: switch to cienv, too
2020-05-24 21:15:23 +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
3fa05e565b
gokr-pull-eeprom: fix environment variables for secrets
2020-05-24 19:24:18 +02:00
Michael Stapelberg
3ad9628bc4
gokr-pull-eeprom: use GITHUB_REPOSITORY (runs on GitHub actions)
2020-05-24 19:17:15 +02:00
Michael Stapelberg
953564bd32
add gokr-pull-eeprom
2020-05-22 20:08:16 +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
b1a496ce0a
gokr-pull-kernel: make updaterPath a flag
2018-07-14 21:21:04 +02:00
Michael Stapelberg
ca7917feb2
Remove s/www/cdn/ replace call
...
See https://github.com/gokrazy/kernel/commit/42e72ba34798325e268f3f5745bdebe1cb16e404
2017-12-01 08:57:32 +01:00
Michael Stapelberg
a0e41c4a0f
remove unused -github_user_pass flag
2017-03-28 22:40:15 +02:00
Michael Stapelberg
84ce4ccfbf
add gokr-pull-firmware and gokr-pull-kernel
...
These tools automatically create pull requests for the latest upstream
version of the Raspberry Pi firmware and Linux
kernel (respectively). They are to be run periodically, e.g. via
Travis cron jobs.
2017-03-28 22:38:25 +02:00
Michael Stapelberg
74cf0e6a2b
merge: add heads/ prefix to ref
2017-03-28 19:57:55 +02:00
Michael Stapelberg
a464a3b4b9
merge: implement merging
2017-03-28 19:41:57 +02:00
Michael Stapelberg
502eacf00b
merge: check for label
2017-03-28 09:54:54 +02:00
Michael Stapelberg
024391c897
amend: only add label if it wasn’t already present
2017-03-28 09:51:05 +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
af94a9205e
amend: set label even when files don’t differ
2017-03-28 09:01:00 +02:00
Michael Stapelberg
af8c503c7e
add gokr-boot to run boot tests on real hardware
2017-03-27 09:44:11 +02:00
Michael Stapelberg
7ece6fea4e
amend: add now-required context to GitHub Go API calls
2017-03-17 09:50:56 +01:00
Michael Stapelberg
deb2e5202a
add gokr-merge (skeleton only)
2017-02-12 17:06:38 +01:00
Michael Stapelberg
461bca04c0
implement setting a label
2017-02-12 17:06:03 +01:00
Michael Stapelberg
be75492e01
create base64-encoded blobs instead of including raw content
...
I’m not entirely sure why, but it seems like some part of the stack
cannot deal with the raw binary content.
2017-02-12 16:26:44 +01:00
Michael Stapelberg
4d1701578c
Don’t update the PR when the files are already equal
2017-02-12 15:37:23 +01:00
Michael Stapelberg
8d012216dd
Initial commit
2017-02-12 14:43:36 +01:00