mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 13:23:13 +00:00
Compose: force INFO logs for runner and nodes in CI
This commit is contained in:
parent
88d89b6e14
commit
c697129ea6
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
@ -369,8 +369,9 @@ jobs:
|
||||
COMPOSE_RUNNER_HOST: "127.0.0.1"
|
||||
RUST_BACKTRACE: "1"
|
||||
NOMOS_TESTS_TRACING: "true"
|
||||
NOMOS_LOG_DIR: "${{ github.workspace }}/.tmp/compose-logs"
|
||||
RUST_LOG: "info"
|
||||
NOMOS_LOG_LEVEL: "info"
|
||||
NOMOS_LOG_DIR: "${{ github.workspace }}/.tmp/compose-logs"
|
||||
run: |
|
||||
mkdir -p "$TMPDIR"
|
||||
cargo run -p runner-examples --bin compose_runner -- --nocapture
|
||||
|
||||
@ -522,8 +522,12 @@ fn build_nodes(
|
||||
|
||||
fn base_environment(cfgsync_port: u16) -> Vec<EnvEntry> {
|
||||
let pol_mode = std::env::var("POL_PROOF_DEV_MODE").unwrap_or_else(|_| "true".to_string());
|
||||
let rust_log = std::env::var("RUST_LOG").unwrap_or_else(|_| "info".to_string());
|
||||
let nomos_log_level = std::env::var("NOMOS_LOG_LEVEL").unwrap_or_else(|_| "info".to_string());
|
||||
vec![
|
||||
EnvEntry::new("POL_PROOF_DEV_MODE", pol_mode),
|
||||
EnvEntry::new("RUST_LOG", rust_log),
|
||||
EnvEntry::new("NOMOS_LOG_LEVEL", nomos_log_level),
|
||||
EnvEntry::new(
|
||||
"CFG_SERVER_ADDR",
|
||||
format!("http://host.docker.internal:{cfgsync_port}"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user