From 3eb3c59ae1fdb54d669cc57b06df97017b304239 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 12 Oct 2021 21:53:03 +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 d32848f..ee01fb6 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/markdownlint-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/markdownlint-docker --- kind: pipeline @@ -193,9 +202,13 @@ depends_on: - latest-armv7 trigger: + branch: + - master event: - exclude: - - tag + - cron + - push + repo: + - volker.raschek/markdownlint-docker --- kind: pipeline @@ -397,8 +410,14 @@ steps: - changed - failure +depends_on: +- latest-manifest + trigger: + branch: + - master event: + - cron - push repo: - - volker.raschek/markdownlint-docker \ No newline at end of file + - volker.raschek/markdownlint-docker