Skip to content

ci: fix init #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,31 @@ jobs:
$HSTREAM_IMAGE \
hstream-server \
--store-config /data/store/logdevice.conf --log-level debug \
--port 6570 --server-id 0
--port 6570 --internal-port 6670 --server-id 0 \
--seed-nodes "127.0.0.1:6670,127.0.0.1:6671,127.0.0.1:6672"

docker run -td --network host \
--name hs-test-hserver1 \
-v $DATA_STORE:/data/store \
$HSTREAM_IMAGE \
hstream-server \
--store-config /data/store/logdevice.conf --log-level debug \
--port 6571 --server-id 1
--port 6571 --internal-port 6671 --server-id 1 \
--seed-nodes "127.0.0.1:6670,127.0.0.1:6671,127.0.0.1:6672"

docker run -td --network host \
--name hs-test-hserver2 \
-v $DATA_STORE:/data/store \
$HSTREAM_IMAGE \
hstream-server \
--store-config /data/store/logdevice.conf --log-level debug \
--port 6572 --server-id 2
--port 6572 --internal-port 6672 --server-id 2 \
--seed-nodes "127.0.0.1:6670,127.0.0.1:6671,127.0.0.1:6672"

sleep 5

docker exec hs-test-hserver0 hstream init
docker exec hs-test-hserver0 hadmin server status

- run: cargo test --workspace --no-fail-fast --all-features --locked
- run: cargo test --doc --workspace --no-fail-fast --all-features --locked