Fixing Gitlab CI config.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alexey Skobkin 2022-03-30 00:57:30 +03:00
parent 49419eab8f
commit fb4db4c661

View file

@ -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