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:
# - dashboards/*
# - when: manual
tags:
- ci
- ci-test
only:
- master
changes:
- dashboards/*
build_alerts_job:
stage: build_alerts
......@@ -42,10 +44,14 @@ build_alerts_job:
# - alerts/*
# - alerts-config/*
# - when: manual
tags:
- ci
only:
- master
changes:
- alerts/*
- alerts-config/*
tags:
- ci-test
# only:
# - master
deploy_dashboards_job:
stage: deploy_dashboards
......@@ -60,10 +66,12 @@ deploy_dashboards_job:
# needs:
# - job:
# - build_dashboards
dependencies:
- build_dashboards_job
tags:
- cd
only:
- master
- cd-test
# only:
# - master
deploy_alerts_job:
stage: deploy_alerts
......@@ -78,7 +86,9 @@ deploy_alerts_job:
# needs:
# - job:
# - build_alerts
dependencies:
- build_alerts_job
tags:
- cd
only:
- master
\ No newline at end of file
- cd-test
# only:
# - master
\ 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