#!/bin/bash
#
# Check that the configuration for deis-registry is valid.
#

if [[ -f /docker-registry/config/config.yml ]] ; then
    set -e

    # check that "<no value>" isn't in the templated file
    grep -q -v "<no value>" /docker-registry/config/config.yml
fi
