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:
- scripts/build_dashboards.sh
- echo "Promoting json artifacts to artifactory"
- scripts/promote_dashboard_artifacts.sh
#Introduced in GitLab 12.3, our version is 11.7.4
# rules:
# - changes:
# - dashboards/*
# - when: manual
tags:
- ci-test
only:
......@@ -38,18 +33,10 @@ build_alerts_job:
- scripts/build_alerts.sh
- echo "Promoting json artifacts to artifactory"
- scripts/promote_alerts_artifacts.sh
#Introduced in GitLab 12.3, our version is 11.7.4
# rules:
# - changes:
# - alerts/*
# - alerts-config/*
# - when: manual
only:
changes:
- alerts/*
- alerts-config/*
when:
- manual
tags:
- ci-test
# only:
......@@ -64,12 +51,11 @@ deploy_dashboards_job:
script:
- echo "Deploying dasbhoards"
- scripts/deploy_dashboards.sh
#Introduced in GitLab 12.2, our version is 11.7.4
# needs:
# - job:
# - build_dashboards
dependencies:
- build_dashboards
only:
variables:
- $CI_PIPELINE_SOURCE == "manual"
changes:
- dashboards/*
tags:
- cd-test
# only:
......@@ -84,12 +70,12 @@ deploy_alerts_job:
script:
- echo "Deploying alerts"
- scripts/deploy_alerts.sh
#Introduced in GitLab 12.2, our version is 11.7.4
# needs:
# - job:
# - build_alerts
dependencies:
- build_alerts
only:
variables:
- $CI_PIPELINE_SOURCE == "manual"
changes:
- alerts/*
- alerts-config/*
tags:
- cd-test
# 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