From bc092793f043cb9a48d7ebc3cd670c80813bd8a5 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sat, 22 Feb 2020 23:40:14 +0100 Subject: [PATCH] .gitlab-ci.yml: coverity jobs only run on schedules Signed-off-by: Nikos Mavrogiannopoulos --- .gitlab-ci.yml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 93329c3a..956f663f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,7 @@ Build/Debian: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -45,6 +46,7 @@ Build/Ubuntu: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -68,6 +70,7 @@ Build/Centos8: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -89,6 +92,7 @@ Build/Centos7: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -124,7 +128,8 @@ RPM/epel7: - shared - linux except: - - tags + - tags + - schedules artifacts: expire_in: 1 week when: on_success @@ -159,7 +164,8 @@ RPM/epel8: - shared - linux except: - - tags + - tags + - schedules artifacts: expire_in: 1 week when: on_success @@ -167,8 +173,10 @@ RPM/epel8: - ./*.rpm Coverity: - stage: deploy + stage: testing image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$FEDORA_BUILD + only: + - schedules only: refs: - master@openconnect/ocserv @@ -188,8 +196,6 @@ Coverity: tags: - shared - linux - except: - - tags artifacts: expire_in: 1 week when: on_failure @@ -215,6 +221,7 @@ Build/Fedora: - shared - linux except: + - schedules - tags artifacts: expire_in: 1 day @@ -236,6 +243,7 @@ Build/Centos6: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -257,6 +265,7 @@ Build/minimal: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -281,6 +290,7 @@ Build/minimal: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -303,6 +313,7 @@ ubsan/Fedora: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -323,6 +334,7 @@ static-analyzers/Fedora: - linux except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure @@ -345,6 +357,7 @@ Build/FreeBSD: - branches@openconnect/ocserv except: - tags + - schedules artifacts: expire_in: 1 week when: on_failure