From 11fafd0047784dae80b4573f44a753f0adb01dbd Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 31 May 2022 21:03:23 +0300 Subject: [PATCH 1/3] inbucket. Returning version. --- inbucket/docker-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inbucket/docker-compose.yml b/inbucket/docker-compose.yml index d33dfcc..58dfe71 100644 --- a/inbucket/docker-compose.yml +++ b/inbucket/docker-compose.yml @@ -1,3 +1,5 @@ +version: '3.7' + services: inbucket: image: inbucket/inbucket:latest -- 2.40.1 From 585fda1aee5f5923aa567330c15453c7bddc857d Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 31 May 2022 21:09:20 +0300 Subject: [PATCH 2/3] CI configuration optimization. --- .drone.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e953834..e413635 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,11 @@ name: default steps: - name: validate - image: 'docker/compose:1.29.2' + image: 'docker/compose:alpine-1.29.2' 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 && echo $DIR && cd $DIR && docker-compose config && cd .. ; done + when: + event: + include: + - pull_request -- 2.40.1 From f028c73ba3f14f9e4ef66181296c5a1320765637 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 31 May 2022 21:11:00 +0300 Subject: [PATCH 3/3] CI configuration optimization. --- .drone.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index e413635..d513f16 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline type: docker -name: default +name: validate-pr steps: - name: validate @@ -8,7 +8,8 @@ steps: 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 && echo $DIR && cd $DIR && docker-compose config && cd .. ; done - when: - event: - include: - - pull_request + +trigger: + event: + include: + - pull_request -- 2.40.1