Skip to content

Commit

Permalink
Export scenario location before setting up the config
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyaenr committed Dec 11, 2023
1 parent 9d69566 commit 2679334
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions prow/power-outage/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2679334

Please sign in to comment.