Skip to content

Commit a843d5a

Browse files
Auto Userchaitanyaenr
authored andcommitted
openshift checks
rh-pre-commit.version: 2.2.0 rh-pre-commit.check-secrets: ENABLED Signed-off-by: Auto User <[email protected]>
1 parent fecdb11 commit a843d5a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

node-scenarios/plugin_node_scenario.yaml.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
timeout: $TIMEOUT
1313
$VERIFY_SESSION
1414
# Set to True if you don't want to wait for the status of the nodes to change on OpenShift before passing the scenario
15-
skip_openshift_checks: $SKIP_OPENSHIFT_CHECKS
15+
$SKIP_OPENSHIFT_CHECKS

node-scenarios/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,11 @@ if [[ "$CLOUD_TYPE" == "vmware" || "$CLOUD_TYPE" == "ibmcloud" ]]; then
1818
# IBM doesnt have verify session
1919
# Invalid parameter 'verify_session', expected one of: name, runs, label_selector, timeout, instance_count, skip_openshift_checks, kubeconfig_path
2020
if [[ "$CLOUD_TYPE" == "vmware" ]]; then
21-
2221
## Set to True if you want to verify the vSphere client session using certificates; else False
2322
export VERIFY_SESSION="verify_session: $VERIFY_SESSION"
23+
export SKIP_OPENSHIFT_CHECKS="skip_openshift_checks: $SKIP_OPENSHIFT_CHECKS"
2424
else
25+
export SKIP_OPENSHIFT_CHECKS=""
2526
export VERIFY_SESSION=""
2627
fi
2728
envsubst < /home/krkn/kraken/scenarios/plugin_node_scenario.yaml.template > /home/krkn/kraken/scenarios/node_scenario.yaml

0 commit comments

Comments
 (0)