1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/conf/init/d_validate_config_bundle.sh
robertzaage c4067e5759 Fixed typo in if statement (#695)
Co-authored-by: Robert Zaage <robert@zaage.it>
2021-03-17 11:18:55 -04:00

17 lines
352 B
Bash
Executable File

#!/bin/bash
QUAYPATH=${QUAYPATH:-"."}
QUAYCONF=${QUAYCONF:-"$QUAYPATH/conf"}
# IGNORE_VALIDATION= -> Set this variable to continue Quay boot after a failed config validation.
echo "Validating Configuration"
config-tool validate -c $QUAYCONF/stack/ --mode online
status=$?
if [ -z "${IGNORE_VALIDATION}" ]; then
exit $status
else
exit 0
fi