Add Raspberry Pi support (build targets, service files, docs, and CI)#117
Open
Haeliseu wants to merge 2 commits intologdyhq:mainfrom
Open
Add Raspberry Pi support (build targets, service files, docs, and CI)#117Haeliseu wants to merge 2 commits intologdyhq:mainfrom
Haeliseu wants to merge 2 commits intologdyhq:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
This contribution makes Logdy easier to run on Raspberry Pi by adding explicit ARM targets, runnable service packaging, and CI validation for Pi architectures.
What changed
Added Raspberry Pi build support for:
linux/armv6 (Pi Zero / Pi 1)
linux/armv7 (Pi 2 / Pi 3 32-bit OS)
linux/arm64 (Pi 3/4/5 64-bit OS)
Reworked build_across to use native go build cross-compilation and include Pi targets.
Added dedicated script: scripts/build_rpi.sh.
Added systemd packaging and installer:
packaging/systemd/logdy.service
scripts/install_rpi_service.sh
Added CI workflow for Raspberry cross-build verification:
.github/workflows/cross-build-rpi.yml
Added Docker multi-arch publish workflow (GHCR):
.github/workflows/docker-publish.yml
PRs: build only
main/tags: build + push
Updated README.md with Raspberry Pi build/install usage and release instructions.
Compatibility / behavior
No runtime behavior change for existing platforms.
Changes are additive and focused on packaging, build tooling, and documentation.
Test plan
bash -n build_across scripts/build_rpi.sh scripts/install_rpi_service.sh
Run
./scripts/build_rpi.sh X.Y.Z
and verify binaries are generated.
CI
cross-build-rpi
passes for
armv6
,
armv7
,
arm64
.
(Optional) run on real Pi with:
sudo install ... /usr/local/bin/logdy
sudo ./scripts/install_rpi_service.sh /usr/local/bin/logdy
confirm UI on http://:8080