drone. Trying regex approach in .drone.yml.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Alexey Skobkin 2022-03-29 16:55:28 +03:00
parent b4d565a454
commit d98394ca25

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 [[ $DIR == _* ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done - for DIR in */ ; do if [[ $DIR =~ ^_ ]] ; then continue; fi && test -f $DIR/.env.dist && cp $DIR/.env.dist $DIR/.env ; done
- for DIR in */ ; do if [[ $DIR == _* ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done - for DIR in */ ; do if [[ $DIR =~ ^_ ]] ; then continue; fi && echo $DIR && cd $DIR && docker-compose config && cd .. ; done