Skip to content
Snippets Groups Projects
Unverified Commit e1270a2e authored by Varac's avatar Varac
Browse files

Always enable loki-stack, prom and eventrouter in CI

parent 1ee7bdbd
No related branches found
No related tags found
No related merge requests found
......@@ -47,13 +47,7 @@
# using merge request pipelines (see https://gitlab.com/gitlab-org/gitlab/-/issues/326098)
.eventrouter_rules:
rules:
- changes:
- flux/**/$APP*.yaml
- ansible/roles/apps/templates/settings/$APP.yaml
- ansible/roles/apps/tasks/$APP.yaml
- if: '$TRIGGER_JOBS =~ /enable-eventrouter/'
- if: '$CI_COMMIT_MESSAGE =~ /TRIGGER_JOBS=.*enable-eventrouter/'
- if: '$CI_COMMIT_BRANCH == "master"'
- when: always
.grafana_rules:
rules:
......@@ -66,6 +60,10 @@
- if: '$CI_COMMIT_MESSAGE =~ /TRIGGER_JOBS=.*enable-grafana/'
- if: '$CI_COMMIT_BRANCH == "master"'
.loki_stack_rules:
rules:
- when: always
.nextcloud_rules:
rules:
- changes:
......@@ -79,14 +77,7 @@
.prometheus_rules:
rules:
- changes:
- flux/**/$APP*.yaml
- ansible/roles/apps/templates/settings/$APP.yaml
- ansible/roles/apps/tasks/$APP.yaml
- test/pytest/test_prometheus.py
- if: '$TRIGGER_JOBS =~ /enable-prometheus/'
- if: '$CI_COMMIT_MESSAGE =~ /TRIGGER_JOBS=.*enable-prometheus/'
- if: '$CI_COMMIT_BRANCH == "master"'
- when: always
.rocketchat_rules:
rules:
......@@ -253,6 +244,13 @@ enable-grafana:
- .enable_app_template
- .grafana_rules
enable-loki-stack:
variables:
APP: "loki-stack"
extends:
- .enable_app_template
- .loki_stack_rules
enable-nextcloud:
variables:
APP: "nextcloud"
......@@ -377,6 +375,13 @@ grafana-helm-release:
- .helm-release
- .grafana_rules
loki-stack-helm-release:
variables:
APP: "loki-stack"
extends:
- .helm-release
- .loki_stack_rules
nextcloud-helm-release:
variables:
APP: "nextcloud"
......@@ -452,6 +457,15 @@ grafana-ready:
- .apps-ready
- .grafana_rules
loki-stack-ready:
variables:
APP: "loki-stack"
needs:
- job: loki-stack-helm-release
extends:
- .apps-ready
- .loki_stack_rules
nextcloud-ready:
variables:
APP: "nextcloud"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment