Skip to content

Commit

Permalink
adding setting of scenario file before config envsubst
Browse files Browse the repository at this point in the history
rh-pre-commit.version: 2.2.0
rh-pre-commit.check-secrets: ENABLED

Signed-off-by: Paige Rubendall <[email protected]>
  • Loading branch information
paigerube14 committed Jul 10, 2024
1 parent 15f6812 commit 3060bb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zone-outages/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3060bb1

Please sign in to comment.