docker-services/.ci/lint.sh
Maël Gramain f794b3dd03
Some checks failed
ci/woodpecker/push/lint Pipeline failed
migrate ci script
2024-10-20 22:04:26 +02:00

7 lines
No EOL
302 B
Bash

for i in $(find . -name "docker-compose.yaml" -exec sh -c 'docker-compose -f {} config -q; echo {}:$?' \;); do
conf=$(echo $i | cut -d: -f1)
return_code=$(echo $i | cut -d: -f2)
if [ $return_code -ne "0" ]; then
echo $conf return code : $return_code && exit $return_code
fi
done