Commit ec3bf08f authored by Waqas Riaz's avatar Waqas Riaz

updated needs,rules to only in gitlab-ci

parent e1b7249f
Pipeline #4166 canceled with stages
...@@ -21,9 +21,11 @@ build_dashboards_job: ...@@ -21,9 +21,11 @@ build_dashboards_job:
# - dashboards/* # - dashboards/*
# - when: manual # - when: manual
tags: tags:
- ci - ci-test
only: only:
- master changes:
- dashboards/*
build_alerts_job: build_alerts_job:
stage: build_alerts stage: build_alerts
...@@ -42,10 +44,14 @@ build_alerts_job: ...@@ -42,10 +44,14 @@ build_alerts_job:
# - alerts/* # - alerts/*
# - alerts-config/* # - alerts-config/*
# - when: manual # - when: manual
tags:
- ci
only: only:
- master changes:
- alerts/*
- alerts-config/*
tags:
- ci-test
# only:
# - master
deploy_dashboards_job: deploy_dashboards_job:
stage: deploy_dashboards stage: deploy_dashboards
...@@ -60,10 +66,12 @@ deploy_dashboards_job: ...@@ -60,10 +66,12 @@ deploy_dashboards_job:
# needs: # needs:
# - job: # - job:
# - build_dashboards # - build_dashboards
dependencies:
- build_dashboards_job
tags: tags:
- cd - cd-test
only: # only:
- master # - master
deploy_alerts_job: deploy_alerts_job:
stage: deploy_alerts stage: deploy_alerts
...@@ -78,7 +86,9 @@ deploy_alerts_job: ...@@ -78,7 +86,9 @@ deploy_alerts_job:
# needs: # needs:
# - job: # - job:
# - build_alerts # - build_alerts
dependencies:
- build_alerts_job
tags: tags:
- cd - cd-test
only: # only:
- master # - master
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment