From b3d34f7ce7a99bf00dc4e3a82f0a19605c97905f Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 12 Oct 2021 21:56:58 +0200 Subject: [PATCH] fix(ci): dependencies and conditions --- .drone.yml | 47 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 33 insertions(+), 14 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2c919cb..0953f01 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: markdown lint commands: - markdownlint *.md - image: docker.io/volkerraschek/markdownlint:0.28.1 + image: docker.io/volkerraschek/markdownlint:0.29.0 resources: limits: cpu: 50 @@ -41,6 +41,7 @@ trigger: event: exclude: - tag + --- kind: pipeline type: docker @@ -66,9 +67,6 @@ steps: volumes: - name: docker_socket path: /var/run/docker.sock - when: - branch: - - master - name: notify image: drillster/drone-email @@ -91,10 +89,17 @@ volumes: host: path: /var/run/docker.sock +depends_on: +- linter + trigger: + branch: + - master event: - exclude: - - tag + - cron + - push + repo: + - volker.raschek/postfixadmin-docker --- kind: pipeline @@ -118,9 +123,6 @@ steps: password: from_secret: container_image_registry_password no_cache: true - when: - branch: - - master - name: notify image: drillster/drone-email @@ -146,10 +148,17 @@ volumes: host: path: /var/run/docker.sock +depends_on: +- linter + trigger: + branch: + - master event: - exclude: - - tag + - cron + - push + repo: + - volker.raschek/postfixadmin-docker --- kind: pipeline @@ -193,9 +202,13 @@ depends_on: - latest-armv7 trigger: + branch: + - master event: - exclude: - - tag + - cron + - push + repo: + - volker.raschek/postfixadmin-docker --- kind: pipeline @@ -397,8 +410,14 @@ steps: - changed - failure +depends_on: +- latest-manifest + trigger: + branch: + - master event: + - cron - push repo: - - volker.raschek/postfixadmin-docker \ No newline at end of file + - volker.raschek/postfixadmin-docker