kolla/tools/validate-all-dockerfiles.sh
Marcin Juszkiewicz a0b9a9704d CI: do not check for error in binary images
There are no such anymore.

Change-Id: Icf7d1988aa7208cda1b6f70269b9b54cd201b730
2022-12-15 18:59:44 +01:00

19 lines
406 B
Bash
Executable File

#!/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
exit $RES