Commit e1b7249f authored by Waqas Riaz's avatar Waqas Riaz

Update .gitlab-ci.yml

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