From fb4db4c6618deb0b775e5633d6519a667e62efa7 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Wed, 30 Mar 2022 00:57:30 +0300 Subject: [PATCH] Fixing Gitlab CI config. --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d6f4b0..56fca8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ validate: image: 'docker/compose:1.29.2' script: - - for DIR in */ ; do test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done - - for DIR in */ ; do 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