feat: add bare-metal deployment support (systemd + native binaries)#67
Open
apham0001 wants to merge 1 commit into
Open
feat: add bare-metal deployment support (systemd + native binaries)#67apham0001 wants to merge 1 commit into
apham0001 wants to merge 1 commit into
Conversation
Add `deployment_mode: baremetal` option alongside existing Docker mode. Each role dispatches to docker.yml or baremetal.yml based on the variable. Bare-metal support: - EL: Geth, Nethermind, Reth, Besu (JVM) - CL: Lighthouse, Nimbus, Prysm, Lodestar (npm), Teku (JVM), Grandine - Charon: native binary with env file - VC: Lighthouse, Nimbus, Prysm, Lodestar, Teku - Tools: MEV-Boost, Prometheus, Alloy (journal-based logs) All services managed via systemd with proper: - System user/group (obol) - Binary downloads from official GitHub releases - Runtime dependencies (Node.js for Lodestar, Java 21 for Teku/Besu) - Service ordering (CL After= EL) - Restart handlers on config/binary changes - Prometheus scrape targets adapted for localhost
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.
Summary
Adds
deployment_mode: baremetaloption alongside existing Docker mode. All existing Docker behavior is preserved (default).How it works
Each role dispatches to
docker.yml(existing) orbaremetal.yml(new) based ondeployment_modevariable.Bare-metal support
What's included
After=EL)obol) with restricted permissionsUsage
Files structure
What's left to do (before merge)
deployment_mode: baremetal— the existingsmoke-test.ymlexercises the Docker path onubuntu-latest. Bare-metal mode needs a dedicated job. Options:ubuntu-latestbut add a clean-up step (uninstalls systemd units between matrix runs). Risk: drift between CI and real bare-metal hosts.actions/runner-images+actions/cachewarm-up) so we get a clean Ubuntu instance per matrix entry with systemd available. Avoids polluting the GitHub-hosted runner and matches the target environment.deployment_mode, the runtime dependency matrix, and known constraints (e.g. systemd required on the target host)Closes #38