Commit 87fa5173 authored by Waqas Riaz's avatar Waqas Riaz

updated .gitlab-ci.yml

parent 7f779ab2
Pipeline #4170 failed with stages
in 4 seconds
...@@ -15,11 +15,6 @@ build_dashboards_job: ...@@ -15,11 +15,6 @@ 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
#Introduced in GitLab 12.3, our version is 11.7.4
# rules:
# - changes:
# - dashboards/*
# - when: manual
tags: tags:
- ci-test - ci-test
only: only:
...@@ -38,18 +33,10 @@ build_alerts_job: ...@@ -38,18 +33,10 @@ 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
#Introduced in GitLab 12.3, our version is 11.7.4
# rules:
# - changes:
# - alerts/*
# - alerts-config/*
# - when: manual
only: only:
changes: changes:
- alerts/* - alerts/*
- alerts-config/* - alerts-config/*
when:
- manual
tags: tags:
- ci-test - ci-test
# only: # only:
...@@ -64,12 +51,11 @@ deploy_dashboards_job: ...@@ -64,12 +51,11 @@ deploy_dashboards_job:
script: script:
- echo "Deploying dasbhoards" - echo "Deploying dasbhoards"
- scripts/deploy_dashboards.sh - scripts/deploy_dashboards.sh
#Introduced in GitLab 12.2, our version is 11.7.4 only:
# needs: variables:
# - job: - $CI_PIPELINE_SOURCE == "manual"
# - build_dashboards changes:
dependencies: - dashboards/*
- build_dashboards
tags: tags:
- cd-test - cd-test
# only: # only:
...@@ -84,12 +70,12 @@ deploy_alerts_job: ...@@ -84,12 +70,12 @@ deploy_alerts_job:
script: script:
- echo "Deploying alerts" - echo "Deploying alerts"
- scripts/deploy_alerts.sh - scripts/deploy_alerts.sh
#Introduced in GitLab 12.2, our version is 11.7.4 only:
# needs: variables:
# - job: - $CI_PIPELINE_SOURCE == "manual"
# - build_alerts changes:
dependencies: - alerts/*
- build_alerts - alerts-config/*
tags: tags:
- cd-test - cd-test
# 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