drone. Removing '^' anchor from regular expression.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Alexey Skobkin 2022-03-29 17:04:17 +03:00
parent e0af7b5909
commit 67d6fb23f8

View file

@ -6,5 +6,5 @@ steps:
- name: validate - name: validate
image: 'docker/compose:1.29.2' image: 'docker/compose:1.29.2'
commands: commands:
- 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 && 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 - for DIR in */ ; do if [[ $(expr match "$DIR" "_.*") != 0 ]] ; then echo "SKIPPING $DIR" && continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done