From b4d565a4543f9a02df2553e4590f732d99c941d3 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 29 Mar 2022 16:51:14 +0300 Subject: [PATCH] drone. Adding .drone.yml CI configuration and build badge to README.md. --- .drone.yml | 10 ++++++++++ README.md | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..21cbdc3 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +kind: pipeline +type: docker +name: default + +steps: + - name: validate + image: 'docker/compose:1.29.2' + 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 && echo $DIR && cd $DIR && docker-compose config && cd .. ; done diff --git a/README.md b/README.md index 20e3d8e..22a011d 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://ci.skobk.in/api/badges/skobkin/docker-stacks/status.svg)](https://ci.skobk.in/skobkin/docker-stacks) + # Docker Compose config collection ## How to set up?