462 Commits

Author SHA1 Message Date
Michael Stapelberg 3f026adfcb add SuperviseServices entry point, allow creating stopped services 2021-12-18 19:47:43 +01:00
Michael Stapelberg 0e70ad8c1d transparently add service when diverting an unknown service
This allows running “gok run” for prototyping, even for software you have not
included in the currently running gokrazy image.

fixes https://github.com/gokrazy/gokrazy/issues/88
2021-12-18 19:09:17 +01:00
Anup Chenthamarakshan af5773f40f status: live tail logs (#100)
Create a /log endpoint for streaming stdout/stderr logs for processes.
Replace status page stdout/stderr to call into /log to stream logs and
live update page.
2021-12-13 09:17:44 +01:00
Michael Stapelberg 13366ee74a switch website to hugo “learn” documentation theme 2021-12-04 19:11:23 +01:00
Michael Stapelberg 2ff6db3dcb import hugo-theme-learn 2021-12-04 16:16:23 +01:00
Anup Chenthamarakshan 42dba82d7a dhcp: allow builds on non-64-bit architectures (#99)
Move build constraint to internal/iface which clearly shows the Linux dependency
2021-11-28 11:12:33 +01:00
Michael Stapelberg c0fdb4323d quickstart: restructure a bit, update for new log output 2021-11-25 09:46:06 +01:00
Michael Stapelberg b07a22daa4 add /divert handler
This diverts existing services to their temporary counterparts, uploaded via the
/uploadtemp handler.

related to https://github.com/gokrazy/gokrazy/issues/88
2021-11-21 16:46:18 +01:00
Michael Stapelberg df561dc771 load templates at func init time to catch parse errors during test 2021-11-21 16:45:15 +01:00
Michael Stapelberg 95e14930ea add /uploadtemp/ handler
related to https://github.com/gokrazy/gokrazy/issues/88
2021-11-21 16:45:15 +01:00
Michael Stapelberg 6e69425b27 tmpfs: remove explicit size limit (→ 50% of RAM) 2021-11-21 12:40:25 +01:00
Michael Stapelberg 91b7e0708f add forgotten files to git 2021-11-15 19:29:50 +01:00
Michael Stapelberg 638cb7c1d8 rebuild website for bootstrap 5 changes 2021-11-15 19:26:49 +01:00
Michael Stapelberg e252e4224a revamp platforms page 2021-11-15 19:26:36 +01:00
Michael Stapelberg ebfb16478a update website to bootstrap 5 2021-11-15 19:26:36 +01:00
Michael Stapelberg 5d997cad34 tailscale: describe tsnet listener, link to demo 2021-11-09 09:53:02 +01:00
André-Patrick Bubel 2c364b5f25 fix link to Dornröschen 2021-10-30 10:32:49 +02:00
Michael Stapelberg 59af446275 userguide: add caddy article 2021-10-24 18:35:45 +02:00
Michael Stapelberg bf67694eb6 native Go userland 2021-10-24 18:29:10 +02:00
Michael Stapelberg b718dd90ae prototyping: link to freeze tool 2021-10-24 17:19:58 +02:00
Michael Stapelberg b06b404bc2 tailscale: explain how to set up HTTP proxy for other programs 2021-10-24 10:24:22 +02:00
Michael Stapelberg 2ca552d5ae regenerate site with hugo 0.89 2021-10-24 10:15:33 +02:00
Christian Heusel 7b86705ff1 add a minio userguide article 2021-10-19 09:15:24 +02:00
Christian Heusel 54d80ad29d commandstring is now separated and quoted (#95)
Output before:
  2021/09/15 13:34:00 gokrazy: attempt 1, starting [/user/echo test 123]
Output now:
  2021/09/15 13:34:00 gokrazy: attempt 1, starting ['/user/echo' 'test' '123']
2021-09-29 22:54:50 +02:00
Michael Stapelberg 2ad6fef67f add process interface documentation 2021-09-13 19:46:08 +02:00
Michael Stapelberg 7d64b6804d website: update quickstart for fbstatus 2021-08-30 22:36:03 +02:00
Michael Stapelberg 42b305a88c website: add tailscale guide 🎉 2021-08-29 19:17:53 +02:00
Michael Stapelberg c47458d56c GitHub Actions: try apt update 🤷 2021-08-29 16:35:56 +02:00
Michael Stapelberg ce299fc4a5 fix: set up signal handler before supervising services
See the comment for rationale.
2021-08-29 16:29:45 +02:00
Matt Layher 476b8dbe93 internal/iface: use unix.Ifreq APIs for IPv4 ioctls (#91) 2021-08-22 11:41:44 +02:00
Michael Stapelberg fe0bbe84c9 go mod tidy 2021-08-18 10:02:09 +02:00
Michael Stapelberg 5b28ba9e0d disable KVM: GitHub Actions does not support nested virtualization
https://github.com/actions/virtual-environments/issues/183
2021-08-18 10:01:55 +02:00
Michael Stapelberg fad929559a go test -v 2021-08-18 10:01:55 +02:00
Michael Stapelberg df53eb6470 install qemu 2021-08-18 10:01:55 +02:00
Michael Stapelberg 77df674e20 gokr-packer installation: switch to go install 2021-08-18 10:01:55 +02:00
Michael Stapelberg 23de321797 install packer before running tests 2021-08-18 10:01:55 +02:00
Michael Stapelberg 60dafef40e initial commit: UEFI integration test 2021-08-18 10:01:55 +02:00
Michael Stapelberg 9250323c5f use Go 1.17 in GitHub Actions 2021-08-18 09:57:24 +02:00
Matt Layher fba8163e5d internal/iface: use unix.Ifreq API for interface flags ioctl (#90)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-08-18 09:51:00 +02:00
Michael Stapelberg 31c057fb8e supervise: start programs in their $HOME directory 2021-08-07 11:08:50 +02:00
Michael Stapelberg e2709e8b55 use go 1.16 in GitHub actions 2021-06-24 17:57:05 +02:00
Michael Stapelberg fefd4180bb use go:embed directive instead of goembed.go for bundling assets 2021-06-24 17:54:43 +02:00
Michael Stapelberg c8f583fc14 status: fix mkfs instructions for GPT UUIDs
related to https://github.com/gokrazy/gokrazy/issues/87
2021-06-24 14:38:41 +02:00
Michael Stapelberg 1732a89ba9 update: list gpt feature when booted from GPT
related to https://github.com/gokrazy/gokrazy/issues/87
2021-06-22 08:37:43 +02:00
Michael Stapelberg 5f651d5dcc modifyCmdline: update systemd-boot config if present
related to https://github.com/gokrazy/gokrazy/issues/87
2021-06-22 08:22:42 +02:00
Michael Stapelberg c2cfd1bfdf add TODO for Go 1.17 2021-05-30 11:51:48 +02:00
Michael Stapelberg 373c7438b8 dhcp: add -static_network_config override flag 2021-05-28 09:13:44 +02:00
Michael Stapelberg e6c441f631 switch to inactive root partition if gokrazy.try_boot_inactive=1
related to https://github.com/gokrazy/gokrazy/issues/75
2021-01-30 18:53:24 +01:00
Michael Stapelberg e184e6545a update: implement /update/testboot handler
related to https://github.com/gokrazy/gokrazy/issues/75
2021-01-30 18:52:46 +01:00
andig 2e975fb90b Show current messages before module info (#83) 2021-01-21 08:50:46 +01:00