From e0af7b5909247b38ecc4378f83bc7fdf02fc9e84 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 29 Mar 2022 17:00:52 +0300 Subject: [PATCH] drone. More verbose output for directory test in .drone.yml. --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index f184779..ff21030 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,5 +6,5 @@ steps: - name: validate image: 'docker/compose:1.29.2' commands: - - for DIR in */ ; do if [[ $(expr match "$DIR" '^_') != 0 ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done - - for DIR in */ ; do if [[ $(expr match "$DIR" '^_') != 0 ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done + - for DIR in */ ; do if [[ $(expr match "$DIR" "^_") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done + - for DIR in */ ; do if [[ $(expr match "$DIR" "^_") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done