Skip to content

Commit c903b40

Browse files
committed
Added disabling of modules after test and updated error message of upgrade-status
1 parent 4ce447a commit c903b40

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

scripts/makefile/config-inspector-validation.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ if [ "$ERROR_COUNT" -gt "0" ]; then
1212
echo -e "\nConfiguration is not valid : \n- Go to \033[1m/admin/config/development/configuration/inspect\033[0m for more details\n"
1313
exit 1
1414
else
15+
drush pmu config_inspector -y
1516
echo -e "Configuration is valid"
1617
exit 0
1718
fi

scripts/makefile/upgrade-status-validation.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ IS_VALID=$(echo "$REPORT" | grep "No known issues found.")
99

1010
# Exit1 and alert if message not found
1111
if [ -z "$IS_VALID" ]; then
12-
printf "There are \033[1mmessage(s)\033[0m in Upgrade Status report to fix :\n"
12+
printf "There are \033[1missue(s)\033[0m in Upgrade Status report to fix : \n- Go to \033[1m/admin/reports/upgrade-status\033[0m for more details\n"
1313
echo -e "$REPORT"
1414
exit 1
1515
else
16-
echo -e "Status report is valid : No error listed"
16+
drush pmu upgrade_status -y
17+
echo -e "Status report is valid : No error listed"
1718
exit 0
1819
fi

0 commit comments

Comments
 (0)