diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73412d794e98b11994347f734db36eda2c80002d..a22b736355d4c522f20c88842774c44c997e0de3 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