diff --git a/testing-framework/runners/compose/src/descriptor/mod.rs b/testing-framework/runners/compose/src/descriptor/mod.rs index 64ea83a..f64e29f 100644 --- a/testing-framework/runners/compose/src/descriptor/mod.rs +++ b/testing-framework/runners/compose/src/descriptor/mod.rs @@ -134,7 +134,10 @@ pub struct PrometheusTemplate { impl PrometheusTemplate { fn new(port: u16, platform: Option) -> Self { Self { - host_port: format!("127.0.0.1:{port}:9090"), + host_port: format!( + "127.0.0.1:{port}:{}", + testing_framework_core::constants::DEFAULT_PROMETHEUS_HTTP_PORT + ), platform, } } diff --git a/testing-framework/runners/k8s/helm/nomos-runner/values.yaml b/testing-framework/runners/k8s/helm/nomos-runner/values.yaml index 9f9f561..8c66c56 100644 --- a/testing-framework/runners/k8s/helm/nomos-runner/values.yaml +++ b/testing-framework/runners/k8s/helm/nomos-runner/values.yaml @@ -2,7 +2,7 @@ image: "nomos-testnet:local" imagePullPolicy: IfNotPresent cfgsync: - port: 4400 + port: {{ default 4400 (env "NOMOS_CFGSYNC_PORT") | int }} config: "" scripts: diff --git a/testing-framework/runners/k8s/src/assets.rs b/testing-framework/runners/k8s/src/assets.rs index 0452b47..73e45ab 100644 --- a/testing-framework/runners/k8s/src/assets.rs +++ b/testing-framework/runners/k8s/src/assets.rs @@ -143,7 +143,10 @@ fn validate_scripts(root: &Path) -> Result { } fn validate_kzg_params(root: &Path) -> Result { - let path = root.join("testing-framework/assets/stack/kzgrs_test_params"); + let rel = env::var("NOMOS_KZG_DIR_REL") + .ok() + .unwrap_or_else(|| testing_framework_core::constants::DEFAULT_KZG_HOST_DIR.to_string()); + let path = root.join(rel); if path.exists() { Ok(path) } else {