-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the testing prototype of greenboot.
Command: greenbbot health-check MOTD is not implemenetd yet Signed-off-by: Sayan Paul <[email protected]> modifying ci writing health check added config add tests testing prototype
- Loading branch information
Showing
5 changed files
with
218 additions
and
118 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM fedora:latest | ||
|
||
RUN bash -c "$(curl -fsSL "https://raw.githubusercontent.com/microsoft/vscode-dev-containers/main/script-library/common-redhat.sh")" -- "true" "vscode" "1000" "1000" "true" | ||
|
||
RUN dnf install -y \ | ||
sudo git cargo rust rust-src git-core clippy rustfmt \ | ||
&& dnf clean all | ||
|
||
USER vscode |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "greenboot-rs", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"runArgs": [ | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt", | ||
"seccomp=unconfined" | ||
], | ||
"settings": { | ||
"rust-analyzer.checkOnSave.command": "clippy" | ||
}, | ||
"extensions": [ | ||
"mutantdino.resourcemonitor", | ||
"matklad.rust-analyzer", | ||
"serayuzgur.crates" | ||
], | ||
"hostRequirements": { | ||
"memory": "4gb" | ||
}, | ||
"remoteUser": "vscode", | ||
"updateContentCommand": [ | ||
"cargo", | ||
"build" | ||
], | ||
"waitFor": "onCreateCommand" | ||
} |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,5 @@ nix = "0.25.0" | |
glob = "0.3.0" | ||
serde = "1.0" | ||
serde_json = "1.0" | ||
thiserror = "1.0.38" | ||
hocon = "0.9.0" |
Oops, something went wrong.