Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit 7c247da

Browse files
committed
start compose in CI
1 parent f6a3d3c commit 7c247da

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v3
4040

41+
- name: Start compose stack
42+
run: docker compose up -d --wait
43+
4144
- name: Install rust
4245
uses: dtolnay/rust-toolchain@master
4346
with:

capture-server/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7-
capture = { path = "../capture" }
87
axum = { workspace = true }
8+
capture = { path = "../capture" }
9+
envconfig = "0.10.0"
10+
time = { workspace = true }
911
tokio = { workspace = true }
10-
tracing-subscriber = { workspace = true }
1112
tracing = { workspace = true }
12-
time = { workspace = true }
13-
envconfig = "0.10.0"
14-
anyhow = { workspace = true, features = [] }
15-
once_cell = "1.18.0"
13+
tracing-subscriber = { workspace = true }
1614

1715
[dev-dependencies]
16+
anyhow = { workspace = true, features = [] }
1817
assert-json-diff = { workspace = true }
1918
futures = "0.3.29"
19+
once_cell = "1.18.0"
2020
rand = { workspace = true }
2121
rdkafka = { workspace = true }
2222
reqwest = "0.11.22"

capture-server/tests/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub static DEFAULT_CONFIG: Lazy<Config> = Lazy::new(|| Config {
2727
address: SocketAddr::from_str("127.0.0.1:0").unwrap(),
2828
export_prometheus: false,
2929
redis_url: "redis://localhost:6379/".to_string(),
30-
kafka_hosts: "kafka:9092".to_string(),
30+
kafka_hosts: "localhost:9092".to_string(),
3131
kafka_topic: "events_plugin_ingestion".to_string(),
3232
kafka_tls: false,
3333
});

0 commit comments

Comments
 (0)