docker-stacks/.gitlab-ci.yml

6 lines
402 B
YAML
Raw Normal View History

2022-01-27 00:12:18 +00:00
validate:
image: 'docker/compose:1.29.2'
script:
2022-03-29 21:57:30 +00:00
- 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