Skip to content

Commit

Permalink
CI: move rocksstore to example/ dir
Browse files Browse the repository at this point in the history
OpenRaft does require `rocksstore` for building or testing, thus It does
not need to be a workspace member.
  • Loading branch information
drmingdrmer committed Dec 26, 2024
1 parent 636664d commit 7c23a34
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ jobs:
matrix:
include:
- store: "stores/memstore"
- store: "stores/rocksstore"

steps:
- name: Setup | Checkout
Expand Down Expand Up @@ -393,6 +392,7 @@ jobs:
- "nightly"
example:
- "memstore"
- "rocksstore"
- "raft-kv-memstore"
- "raft-kv-memstore-grpc"
- "raft-kv-memstore-network-v2"
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ members = [
"macros",
"tests",
"stores/memstore",
"stores/rocksstore",
]
exclude = [
"cluster_benchmark",
"examples/memstore",
"examples/rocksstore",
"examples/raft-kv-memstore",
"examples/raft-kv-memstore-grpc",
"examples/raft-kv-memstore-singlethreaded",
Expand Down
15 changes: 11 additions & 4 deletions stores/rocksstore/Cargo.toml → examples/rocksstore/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,17 @@ rocksdb = "0.22.0"
rand = "*"
byteorder = "1.4.3"

serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
serde = { version = "1.0.114", features = ["derive"] }
serde_json = "1.0.57"
tokio = { version = "1.22", default-features = false, features = [
"io-util",
"macros",
"rt",
"rt-multi-thread",
"sync",
"time",
] }
tracing = { version = "0.1.40" }

[dev-dependencies]
tempfile = { version = "3.4.0" }
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions examples/rocksstore/test-cluster.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo "No shell test script for rocksstore"

0 comments on commit 7c23a34

Please sign in to comment.