-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pegboard): implement v8 isolate runner (#1213)
<!-- Please make sure there is an issue that this PR is correlated to. --> Fixes RVT-3855 ## Changes <!-- If there are frontend changes, please include screenshots. -->
- Loading branch information
1 parent
f2d04d1
commit dc4d97e
Showing
50 changed files
with
2,567 additions
and
596 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,69 @@ | ||
[package] | ||
name = "bolt-core" | ||
version = "0.1.0" | ||
authors = ["Rivet Gaming, LLC <developer@rivet.gg>"] | ||
edition = "2021" | ||
license = "Apache-2.0" | ||
|
||
[dependencies] | ||
anyhow = "1.0" | ||
async-posthog = { git = "https://github.com/rivet-gg/posthog-rs.git", rev = "ef4e80e" } | ||
async-recursion = "0.3" | ||
async-trait = "0.1" | ||
base64 = "0.13" | ||
bolt-config = { path = "../config" } | ||
chrono = "0.4" | ||
cjson = "0.1" | ||
clap = { version = "4.3", features = ["derive"] } | ||
colored_json = "5.0.0" | ||
derive_builder = "0.12" | ||
duct = "0.13" | ||
futures-util = "0.3" | ||
handlebars = "4.3.7" | ||
heck = "0.3" | ||
hex = "0.4" | ||
indexmap = "2.0" | ||
indicatif = "0.16" | ||
indoc = "1.0" | ||
ipnet = { version = "2.7", features = ["serde"] } | ||
json-patch = "1.2" | ||
lazy_static = "1.4" | ||
maplit = "1.0" | ||
portpicker = "0.1" | ||
prost = "0.10" | ||
rand = "0.8" | ||
regex = "1.5" | ||
reqwest = { version = "0.11", features = ["json"] } | ||
rivet-api = { path = "../../../sdks/full/rust" } | ||
rivet-term = { git = "https://github.com/rivet-gg/rivet-term.git", rev = "d539a07d2920d47b88410f20e6d106b497cff1f5" } | ||
s3-util = { path = "../../s3-util" } | ||
serde = { version ="1.0", features = ["derive"] } | ||
serde_json = "1.0" | ||
serde_yaml = "0.9" | ||
sha2 = "0.10" | ||
strum = { version = "0.26", features = ["derive"] } | ||
tabled = { version = "0.16.0", features = ["ansi"] } | ||
tempfile = "3.2" | ||
thiserror = "1.0" | ||
tokio = { version = "1.29", features = ["full"] } | ||
toml = "0.7" | ||
toml_edit = "0.19" | ||
url = "2.3" | ||
urlencoding = "2.1" | ||
uuid = { version = "1", features = ["v4"] } | ||
wildmatch = "2.1" | ||
|
||
[dependencies.sqlx] | ||
git = "https://github.com/rivet-gg/sqlx" | ||
rev = "e7120f59b74fb6d83ac9b1d899b166bab31ba1d6" | ||
default-features = false | ||
features = [ | ||
"runtime-tokio", | ||
"runtime-tokio-native-tls", | ||
"postgres", | ||
"uuid", | ||
"macros", | ||
"ipnetwork", | ||
"json", | ||
"bit-vec", | ||
] |
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
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,8 @@ | ||
[workspace] | ||
members = [ | ||
"container-runner", | ||
"echo", | ||
"manager", | ||
"runner-protocol", | ||
"v8-isolate-runner", | ||
] |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
FROM clux/muslrust:1.81.0-stable | ||
|
||
WORKDIR /app | ||
COPY . . | ||
COPY Cargo.toml . | ||
COPY src/ src/ | ||
RUN cargo build --release --bin container-runner | ||
|
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 |
---|---|---|
|
@@ -2,5 +2,3 @@ | |
!Cargo.lock | ||
!Cargo.toml | ||
!src | ||
|
||
|
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
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
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
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 |
---|---|---|
|
@@ -18,4 +18,3 @@ | |
|
||
sdks/runtime | ||
svc/**/*.md | ||
|
Oops, something went wrong.