summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-01-20 23:01:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-01-20 23:01:21 +0000
commit13810b39c4b177b36d5d629923c2a595f7fa6509 (patch)
tree428913f5bb99a98378dfc6671c8e4a64b7ae124f /scripts
parent6438df3a1e0fb944485cebf07976160184697d72 (diff)
downloadgitlab-ce-13810b39c4b177b36d5d629923c2a595f7fa6509.tar.gz
Add latest changes from gitlab-org/gitlab@13-8-stable-ee
Diffstat (limited to 'scripts')
-rw-r--r--scripts/rspec_helpers.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/rspec_helpers.sh b/scripts/rspec_helpers.sh
index 85d7dcec476..d9957fb6ced 100644
--- a/scripts/rspec_helpers.sh
+++ b/scripts/rspec_helpers.sh
@@ -75,6 +75,16 @@ function rspec_simple_job() {
bin/rspec -Ispec -rspec_helper --color --format documentation --format RspecJunitFormatter --out junit_rspec.xml ${rspec_opts}
}
+function rspec_db_library_code() {
+ local db_files="spec/lib/gitlab/database/ spec/support/helpers/database/"
+
+ if [[ -d "ee/" ]]; then
+ db_files="${db_files} ee/spec/lib/gitlab/database/ ee/spec/lib/ee/gitlab/database_spec.rb"
+ fi
+
+ rspec_simple_job "-- ${db_files}"
+}
+
function rspec_paralellized_job() {
read -ra job_name <<< "${CI_JOB_NAME}"
local test_tool="${job_name[0]}"