-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use local network services for testing
- Loading branch information
1 parent
1d7212c
commit 2c46516
Showing
9 changed files
with
52 additions
and
8 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
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 |
---|---|---|
|
@@ -2,6 +2,7 @@ mod cli; | |
mod common; | ||
mod context; | ||
mod definition; | ||
mod macros; | ||
mod runner_context; | ||
|
||
pub mod prelude { | ||
|
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,14 @@ | ||
#[macro_export] | ||
macro_rules! embed_conductor_config { | ||
() => { | ||
fn conductor_config() -> &'static str { | ||
static CONDUCTOR_CONFIG: &str = include_str!("../../../conductor-config.yaml"); | ||
static CONDUCTOR_CONFIG_CI: &str = include_str!("../../../conductor-config-ci.yaml"); | ||
|
||
match std::env::var("CONDUCTOR_CONFIG") { | ||
Ok(value) if value == "CI" => CONDUCTOR_CONFIG_CI, | ||
_ => CONDUCTOR_CONFIG, | ||
} | ||
} | ||
}; | ||
} |
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,6 @@ | ||
network: | ||
network_type: quic_bootstrap | ||
transport_pool: | ||
- type: webrtc | ||
signal_url: "ws://localhost:4423" | ||
bootstrap_service: "http://localhost:4422" |
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