From 3060bb186c23b5327fbcdd8d17e92610d1ece487 Mon Sep 17 00:00:00 2001 From: Paige Rubendall Date: Wed, 10 Jul 2024 10:55:41 -0400 Subject: [PATCH] adding setting of scenario file before config envsubst rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED Signed-off-by: Paige Rubendall --- zone-outages/prow_run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zone-outages/prow_run.sh b/zone-outages/prow_run.sh index a7b1b83..1d1cc4d 100644 --- a/zone-outages/prow_run.sh +++ b/zone-outages/prow_run.sh @@ -20,10 +20,11 @@ oc version # Substitute config with environment vars defined envsubst < zone-outages/zone_outage_scenario.yaml.template > /tmp/zone_outage.yaml -envsubst < config.yaml.template > /tmp/zone_config.yaml export SCENARIO_FILE=/tmp/zone_outage.yaml +envsubst < config.yaml.template > /tmp/zone_config.yaml + # Run Kraken cat /tmp/zone_outage.yaml cat /tmp/zone_config.yaml