From 631877c1fd7146670e27390debfca3fc4bc53d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sat, 20 Nov 2021 01:45:02 +0100 Subject: [PATCH] Exclude test build when build is promoted --- .drone.yml | 5 +++++ Makefile | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index dc2e767..ec05094 100644 --- a/.drone.yml +++ b/.drone.yml @@ -49,3 +49,8 @@ steps: privileged: true commands: - make DOCKER=podman VERSION=test test + +trigger: + event: + exclude: + - promote diff --git a/Makefile b/Makefile index c7fe4c8..f3487ff 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ build: $(DOCKER) tag ${REPO}:dev ${REPO}:$(VERSION) test: - DOCKER=$(DOCKER) ./tests2.sh + DOCKER=$(DOCKER) fish ./tests2.fish squashed: $(DOCKER) pull debian:buster