Commit e1b7249f authored by Waqas Riaz's avatar Waqas Riaz

Update .gitlab-ci.yml

parent 018d569f
......@@ -15,10 +15,11 @@ build_dashboards_job:
- scripts/build_dashboards.sh
- echo "Promoting json artifacts to artifactory"
- scripts/promote_dashboard_artifacts.sh
rules:
- changes:
- dashboards/*
- when: manual
#Introduced in GitLab 12.3, our version is 11.7.4
# rules:
# - changes:
# - dashboards/*
# - when: manual
tags:
- ci
only:
......@@ -35,11 +36,12 @@ build_alerts_job:
- scripts/build_alerts.sh
- echo "Promoting json artifacts to artifactory"
- scripts/promote_alerts_artifacts.sh
rules:
- changes:
- alerts/*
- alerts-config/*
- when: manual
#Introduced in GitLab 12.3, our version is 11.7.4
# rules:
# - changes:
# - alerts/*
# - alerts-config/*
# - when: manual
tags:
- ci
only:
......@@ -54,9 +56,10 @@ deploy_dashboards_job:
script:
- echo "Deploying dasbhoards"
- scripts/deploy_dashboards.sh
needs:
- job:
- build_dashboards
#Introduced in GitLab 12.2, our version is 11.7.4
# needs:
# - job:
# - build_dashboards
tags:
- cd
only:
......@@ -71,9 +74,10 @@ deploy_alerts_job:
script:
- echo "Deploying alerts"
- scripts/deploy_alerts.sh
needs:
- job:
- build_alerts
#Introduced in GitLab 12.2, our version is 11.7.4
# needs:
# - job:
# - build_alerts
tags:
- cd
only:
......
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