Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
8fd75e6b
Commit
8fd75e6b
authored
Mar 06, 2019
by
Ramya Authappan
Committed by
Rémy Coutable
Mar 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making review-performance run on master in scheduled runs
parent
f1185520
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
13 deletions
+47
-13
.gitlab-ci.yml
.gitlab-ci.yml
+47
-13
No files found.
.gitlab-ci.yml
View file @
8fd75e6b
...
...
@@ -444,6 +444,17 @@ setup-test-env:
-
master
-
/(^docs[\/-].*|.*-docs$)/
.review-schedules-only
:
&review-schedules-only
only
:
refs
:
-
schedules@gitlab-org/gitlab-ce
-
schedules@gitlab-org/gitlab-ee
kubernetes
:
active
except
:
refs
:
-
tags
-
/(^docs[\/-].*|.*-docs$)/
.review-base
:
&review-base
<<
:
*dedicated-no-docs-no-db-pull-cache-job
<<
:
*review-only
...
...
@@ -959,8 +970,7 @@ no_ee_check:
-
//@gitlab-org/gitlab-ce
# GitLab Review apps
review-build-cng
:
<<
:
*review-only
.review-build-cng-base
:
&review-build-cng-base
image
:
ruby:2.5-alpine
stage
:
test
before_script
:
[]
...
...
@@ -976,7 +986,15 @@ review-build-cng:
-
wait_for_job_to_be_done "gitlab:assets:compile"
-
BUILD_TRIGGER_TOKEN=$REVIEW_APPS_BUILD_TRIGGER_TOKEN ./scripts/trigger-build cng
review-deploy
:
review-build-cng
:
<<
:
*review-only
<<
:
*review-build-cng-base
schedule:review-build-cng:
<<
:
*review-schedules-only
<<
:
*review-build-cng-base
.review-deploy-base
:
&review-deploy-base
<<
:
*review-base
retry
:
2
allow_failure
:
true
...
...
@@ -998,6 +1016,7 @@ review-deploy:
-
source ./scripts/review_apps/review-apps.sh
script
:
-
wait_for_job_to_be_done "review-build-cng"
after_script
:
-
check_kube_domain
-
download_gitlab_chart
-
ensure_namespace
...
...
@@ -1006,6 +1025,15 @@ review-deploy:
-
time deploy
-
add_license
review-deploy
:
<<
:
*review-deploy-base
schedule:review-deploy:
<<
:
*review-deploy-base
<<
:
*review-schedules-only
script
:
-
wait_for_job_to_be_done "review-scheduled-build-cng"
.review-qa-base
:
&review-qa-base
<<
:
*review-docker
allow_failure
:
true
...
...
@@ -1032,22 +1060,26 @@ review-deploy:
-
apk update && apk add curl jq
-
source ./scripts/review_apps/review-apps.sh
-
gem install gitlab-qa --no-document ${GITLAB_QA_VERSION:+ --version ${GITLAB_QA_VERSION}}
-
wait_for_job_to_be_done "review-deploy"
review-qa-smoke
:
<<
:
*review-qa-base
script
:
-
wait_for_job_to_be_done "review-deploy"
-
gitlab-qa Test::Instance::Smoke "${QA_IMAGE}" "${CI_ENVIRONMENT_URL}"
review-qa-all
:
<<
:
*review-qa-base
script
:
-
wait_for_job_to_be_done "review-deploy"
-
gitlab-qa Test::Instance::Any "${QA_IMAGE}" "${CI_ENVIRONMENT_URL}"
when
:
manual
review-performance
:
.review-performance-base
:
&review-performance-base
<<
:
*review-qa-base
script
:
-
wait_for_job_to_be_done "review-deploy"
after_script
:
-
mkdir gitlab-exporter
-
wget -O ./gitlab-exporter/index.js https://gitlab.com/gitlab-org/gl-performance/raw/master/index.js
-
mkdir sitespeed-results
...
...
@@ -1059,6 +1091,9 @@ review-performance:
reports
:
performance
:
performance.json
review-performance
:
<<
:
*review-performance-base
review-stop
:
<<
:
*review-base
<<
:
*single-script-job
...
...
@@ -1078,21 +1113,20 @@ review-stop:
schedule:review-cleanup:
<<
:
*review-base
<<
:
*review-schedules-only
stage
:
build
allow_failure
:
true
variables
:
GIT_DEPTH
:
"
1"
environment
:
name
:
review/auto-cleanup
only
:
refs
:
-
schedules@gitlab-org/gitlab-ce
-
schedules@gitlab-org/gitlab-ee
kubernetes
:
active
except
:
-
tags
-
/(^docs[\/-].*|.*-docs$)/
before_script
:
-
gem install gitlab --no-document
script
:
-
ruby -rrubygems scripts/review_apps/automated_cleanup.rb
schedule:review-performance:
<<
:
*review-performance-base
<<
:
*review-schedules-only
script
:
-
wait_for_job_to_be_done "schedule:review-deploy"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment