From 94856f0fc4ed86cfc77a14f7cff2a86762681d3f Mon Sep 17 00:00:00 2001 From: whitfiea Date: Wed, 11 Dec 2024 13:04:56 +0000 Subject: [PATCH] update condition --- .../templates/04-postsync-maximoit-sanity.yaml | 2 +- .../templates/04-postsync-maximoit-verify.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml index 1daed52c..89d4f8f3 100644 --- a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml +++ b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml @@ -1,5 +1,5 @@ {{- if and (eq .Values.mas_app_id "manage") (.Values.run_sanity_test) }} -{{- if .Values.mas_appws_spec.components.icd }} +{{- if and (.Values.mas_appws_spec.components) (.Values.mas_appws_spec.components.icd) }} # A sanity test is one that can be disruptive i.e. it can create new users, call authenticated apis, creates resources # in the application. This type of test should only be run in a downstream environment such as a dev or staging env diff --git a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-verify.yaml b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-verify.yaml index 983f50d7..6dea61af 100644 --- a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-verify.yaml +++ b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-verify.yaml @@ -1,5 +1,5 @@ {{- if eq .Values.mas_app_id "manage" }} -{{- if .Values.mas_appws_spec.components.icd }} +{{- if and (.Values.mas_appws_spec.components) (.Values.mas_appws_spec.components.icd) }} # A sanity test is one that can be disruptive i.e. it can create new users, call authenticated apis, creates resources # in the application. This type of test should only be run in a downstream environment such as a dev or staging env