summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2017-08-28 12:29:21 +0000
committerDouwe Maan <douwe@gitlab.com>2017-08-28 12:29:21 +0000
commit7dbb86783d785d4ba2b5cf97eb88653fd9197e3c (patch)
tree3c2ec763467c4451c4e5f4a6b139f5ff6f6c4b9e
parent0b73771205a2f967055c9701ff92f70289a1af23 (diff)
parentc199535d13f7ad20e0ff92e1c24e174cdf38d569 (diff)
downloadgitlab-ce-7dbb86783d785d4ba2b5cf97eb88653fd9197e3c.tar.gz
Merge branch 'mk-reenable-mysql-tests-on-all-branches' into 'master'
Reenable MySQL tests on all CE and EE branches part 2 Closes #36384 See merge request !13840
-rw-r--r--.gitlab-ci.yml15
-rw-r--r--doc/development/testing.md5
2 files changed, 1 insertions, 19 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f356a07576..ab9627d4ab7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -68,19 +68,6 @@ stages:
- mysql:latest
- redis:alpine
-.only-if-want-mysql: &only-if-want-mysql
- only:
- - /mysql/
- - /-stable/
- - master@gitlab-org/gitlab-ce
- - master@gitlab-org/gitlab-ee
- - master@gitlab/gitlabhq
- - master@gitlab/gitlab-ee
- - tags@gitlab-org/gitlab-ce
- - tags@gitlab-org/gitlab-ee
- - tags@gitlab/gitlabhq
- - tags@gitlab/gitlab-ee
-
# Skip all jobs except the ones that begin with 'docs/'.
# Used for commits including ONLY documentation changes.
# https://docs.gitlab.com/ce/development/writing_documentation.html#testing
@@ -124,7 +111,6 @@ stages:
.rspec-metadata-mysql: &rspec-metadata-mysql
<<: *rspec-metadata
<<: *use-mysql
- <<: *only-if-want-mysql
<<: *except-docs
.spinach-metadata: &spinach-metadata
@@ -156,7 +142,6 @@ stages:
.spinach-metadata-mysql: &spinach-metadata-mysql
<<: *spinach-metadata
<<: *use-mysql
- <<: *only-if-want-mysql
<<: *except-docs
.only-canonical-masters: &only-canonical-masters
diff --git a/doc/development/testing.md b/doc/development/testing.md
index efd56484b12..83269303005 100644
--- a/doc/development/testing.md
+++ b/doc/development/testing.md
@@ -529,10 +529,7 @@ slowest test files and try to improve them.
## CI setup
-- On CE, the test suite only runs against PostgreSQL by default. We additionally
- run the suite against MySQL for tags, `master`, and any branch that includes
- `mysql` in the name.
-- On EE, the test suite always runs both PostgreSQL and MySQL.
+- On CE and EE, the test suite runs both PostgreSQL and MySQL.
- Rails logging to `log/test.log` is disabled by default in CI [for
performance reasons][logging]. To override this setting, provide the
`RAILS_ENABLE_TEST_LOG` environment variable.