summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-03-19 08:30:25 +0100
committerRémy Coutable <remy@rymai.me>2019-03-19 08:31:20 +0100
commitdc2a482ba16fb43d8b772209b3a6863be3843f81 (patch)
treef48dbfa7f77f319c65d1e5306d5eccc0f087f6c5 /.gitlab-ci.yml
parent68aacd65ae3c53f3c1d2cf081adc89e3758c52de (diff)
downloadgitlab-ce-dc2a482ba16fb43d8b772209b3a6863be3843f81.tar.gz
Fix the .review-deploy-base job so that env variables are passed
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml14
1 files changed, 3 insertions, 11 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f453fcf9f22..2de6c0d2cc7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1053,15 +1053,7 @@ schedule:review-build-cng:
- source ./scripts/review_apps/review-apps.sh
script:
- wait_for_job_to_be_done "review-build-cng"
- after_script:
- - source ./scripts/review_apps/review-apps.sh
- - check_kube_domain
- - download_gitlab_chart
- - ensure_namespace
- - install_tiller
- - install_external_dns
- - time deploy
- - add_license
+ - perform_review_app_deployment
review-deploy:
<<: *review-deploy-base
@@ -1071,6 +1063,7 @@ schedule:review-deploy:
<<: *review-schedules-only
script:
- wait_for_job_to_be_done "schedule:review-build-cng"
+ - perform_review_app_deployment
.review-qa-base: &review-qa-base
<<: *review-docker
@@ -1117,8 +1110,7 @@ review-qa-all:
<<: *review-qa-base
script:
- wait_for_job_to_be_done "review-deploy"
- after_script:
- - mkdir gitlab-exporter
+ - mkdir -p gitlab-exporter
- wget -O ./gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/master/index.js
- mkdir sitespeed-results
- docker run --shm-size=1g --rm -v "$(pwd)":/sitespeed.io sitespeedio/sitespeed.io:6.3.1 --plugins.add ./gitlab-exporter --outputFolder sitespeed-results "$CI_ENVIRONMENT_URL"