Exclude test build when build is promoted
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build is passing
continuous-integration/drone/tag Build was killed

This commit is contained in:
Adam Štrauch 2021-11-20 01:45:02 +01:00
parent b1f6903c5e
commit 631877c1fd
Signed by: cx
GPG key ID: 018304FFA8988F8D
2 changed files with 6 additions and 1 deletions

View file

@ -49,3 +49,8 @@ steps:
privileged: true
commands:
- make DOCKER=podman VERSION=test test
trigger:
event:
exclude:
- promote

View file

@ -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