You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kolla/tools/validate-all-dockerfiles.sh

21 lines
447 B

#!/bin/bash
# Move to top level directory
REAL_PATH=$(realpath $0)
cd "$(dirname "$REAL_PATH")/.."
RES=0
find docker -name Dockerfile.j2 -print0 |
xargs -0 tools/validate-maintainer.sh || RES=1
find docker -name Dockerfile.j2 -print0 |
xargs -0 tools/validate-install-command.sh || RES=1
find docker -name Dockerfile.j2 -print0 |
xargs -0 tools/validate-indentation.sh || RES=1
tools/validate-binary-build.sh || RES=1
exit $RES