From 267933461d4cdf713159006b0ce612d876b28e3f Mon Sep 17 00:00:00 2001 From: Naga Ravi Chaitanya Elluri Date: Mon, 11 Dec 2023 16:34:13 -0500 Subject: [PATCH] Export scenario location before setting up the config --- prow/power-outage/prow_run.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/prow/power-outage/prow_run.sh b/prow/power-outage/prow_run.sh index 605810c..1fd3c15 100644 --- a/prow/power-outage/prow_run.sh +++ b/prow/power-outage/prow_run.sh @@ -22,9 +22,8 @@ for node in $(oc get nodes | awk 'NR!=1{print $1}'); do oc get node/$node -o yam # Substitute config with environment vars defined envsubst < power-outages/shutdown_scenario.yaml.template > /tmp/power_outage_scenario.yaml -envsubst < config.yaml.template > power_outage_config.yaml - export SCENARIO_FILE=/tmp/power_outage_scenario.yaml +envsubst < config.yaml.template > power_outage_config.yaml # Run Kraken cat /tmp/power_outage_scenario.yaml