From 73e61dde525e165cc66e6125448f8f614ea9773d Mon Sep 17 00:00:00 2001 From: Tom Moulard Date: Fri, 18 Nov 2022 09:39:26 +0100 Subject: [PATCH] wip --- test.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test.sh b/test.sh index 9e7c9f6..21ff6b5 100755 --- a/test.sh +++ b/test.sh @@ -18,7 +18,6 @@ test () rt=$? if [[ $rt -ne 0 ]]; then echo -e "[${RED}X${WHITE}] $@: $rt" - echo "$tmp" ((errors += 1)) return fi @@ -35,7 +34,7 @@ mv $file test_config.yml grep '${' **/docker-compose.*.yml | sed "s/.*\${\(.*\)}.*/\1/g" | cut -d":" -f 1 | sort -u | xargs -I % echo "%=" | sort >> .env.generated test diff .env.default .env.generated mv .env.generated .env.default - +dc config -q git diff | tee patch.patch [ $errors -gt 0 ] && echo "There were $errors errors found" && exit 1