Skip to content

Commit

Permalink
Source env vars for prow node scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyaenr committed Nov 2, 2023
1 parent c2ec60c commit 80aa94e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prow/node-disruptions/prow_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ ls
# Source env.sh to read all the vars
source env.sh
source common_run.sh
source node-scenarios/env.sh
checks

export KUBECONFIG=$KRKN_KUBE_CONFIG
Expand All @@ -31,6 +32,7 @@ if [[ "$CLOUD_TYPE" == "vmware" || "$CLOUD_TYPE" == "ibmcloud" ]]; then
else
envsubst < node-scenarios/node_scenario.yaml.template > $krkn_loc/scenarios/node_scenario.yaml
fi
export SCENARIO_TYPE=node_scenarios
export SCENARIO_FILE=$krkn_loc/scenarios/node_scenario.yaml
envsubst < config.yaml.template > node_scenario_config.yaml

Expand Down

0 comments on commit 80aa94e

Please sign in to comment.