From 01548f5cbf335e7b3d14a15bce64c1f2e488dd8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Henning?= <soeren.henning@email.uni-kiel.de> Date: Tue, 7 Dec 2021 17:58:36 +0100 Subject: [PATCH] Further reduce amount of CI jobs --- .gitlab-ci.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73412d794..a22b73635 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -322,21 +322,35 @@ test-slo-checker-lag-trend: stage: test needs: [] image: python:3.7-slim - script: + before_script: - cd slo-checker/record-lag + script: - pip install -r requirements.txt - cd app - python -m unittest + rules: + - if: $CI_COMMIT_TAG + - changes: + - slo-checker/record-lag/**/* + - when: manual + allow_failure: true test-slo-checker-dropped-records-kstreams: stage: test needs: [] image: python:3.7-slim - script: + before_script: - cd slo-checker/dropped-records + script: - pip install -r requirements.txt - cd app - python -m unittest + rules: + - if: $CI_COMMIT_TAG + - changes: + - slo-checker/dropped-records/**/* + - when: manual + allow_failure: true deploy-slo-checker-lag-trend: stage: deploy -- GitLab