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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
7754029e
Commit
7754029e
authored
Jun 18, 2019
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only support postgresql
MySQL support has been removed
parent
22755a4a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
70 deletions
+9
-70
.gitlab-ci.yml
.gitlab-ci.yml
+0
-1
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+0
-69
changelogs/unreleased/52442-minimal-remove-mysql-support.yml
changelogs/unreleased/52442-minimal-remove-mysql-support.yml
+5
-0
config/initializers/1_postgresql_only.rb
config/initializers/1_postgresql_only.rb
+4
-0
No files found.
.gitlab-ci.yml
View file @
7754029e
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-golang-1.11-git-2.21-chrome-73.0-node-12.x-yarn-1.16-postgresql-9.6-graphicsmagick-1.3.29"
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-golang-1.11-git-2.21-chrome-73.0-node-12.x-yarn-1.16-postgresql-9.6-graphicsmagick-1.3.29"
variables
:
variables
:
MYSQL_ALLOW_EMPTY_PASSWORD
:
"
1"
RAILS_ENV
:
"
test"
RAILS_ENV
:
"
test"
NODE_ENV
:
"
test"
NODE_ENV
:
"
test"
SIMPLECOV
:
"
true"
SIMPLECOV
:
"
true"
...
...
.gitlab/ci/rails.gitlab-ci.yml
View file @
7754029e
...
@@ -10,11 +10,6 @@
...
@@ -10,11 +10,6 @@
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
-
name
:
redis:alpine
-
name
:
redis:alpine
.use-mysql
:
&use-mysql
services
:
-
mysql:5.7
-
redis:alpine
.only-schedules-master
:
&only-schedules-master
.only-schedules-master
:
&only-schedules-master
only
:
only
:
-
schedules@gitlab-org/gitlab-ce
-
schedules@gitlab-org/gitlab-ce
...
@@ -94,10 +89,6 @@
...
@@ -94,10 +89,6 @@
<<
:
*use-pg-10
<<
:
*use-pg-10
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-golang-1.11-git-2.21-chrome-73.0-node-12.x-yarn-1.16-postgresql-10-graphicsmagick-1.3.29"
image
:
"
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-golang-1.11-git-2.21-chrome-73.0-node-12.x-yarn-1.16-postgresql-10-graphicsmagick-1.3.29"
.rspec-metadata-mysql
:
&rspec-metadata-mysql
<<
:
*rspec-metadata
<<
:
*use-mysql
# DB migration, rollback, and seed jobs
# DB migration, rollback, and seed jobs
.db-migrate-reset
:
&db-migrate-reset
.db-migrate-reset
:
&db-migrate-reset
extends
:
.dedicated-no-docs-and-no-qa-pull-cache-job
extends
:
.dedicated-no-docs-and-no-qa-pull-cache-job
...
@@ -173,42 +164,6 @@ rspec system pg-10:
...
@@ -173,42 +164,6 @@ rspec system pg-10:
<<
:
*only-schedules-master
<<
:
*only-schedules-master
parallel
:
24
parallel
:
24
rspec unit mysql
:
<<
:
*rspec-metadata-mysql
<<
:
*only-schedules-master
parallel
:
20
rspec integration mysql
:
<<
:
*rspec-metadata-mysql
<<
:
*only-schedules-master
parallel
:
6
rspec system mysql
:
<<
:
*rspec-metadata-mysql
<<
:
*only-schedules-master
parallel
:
24
.rspec-mysql-on-demand
:
&rspec-mysql-on-demand
only
:
variables
:
-
$CI_COMMIT_MESSAGE =~ /\[run mysql\]/i
-
$CI_COMMIT_REF_NAME =~ /mysql/
rspec unit mysql on-demand
:
<<
:
*rspec-metadata-mysql
<<
:
*rspec-mysql-on-demand
parallel
:
20
rspec integration mysql on-demand
:
<<
:
*rspec-metadata-mysql
<<
:
*rspec-mysql-on-demand
parallel
:
6
rspec system mysql on-demand
:
<<
:
*rspec-metadata-mysql
<<
:
*rspec-mysql-on-demand
parallel
:
24
rspec-fast-spec-helper
:
rspec-fast-spec-helper
:
<<
:
*rspec-metadata-pg
<<
:
*rspec-metadata-pg
script
:
script
:
...
@@ -226,12 +181,6 @@ rspec quarantine pg:
...
@@ -226,12 +181,6 @@ rspec quarantine pg:
<<
:
*rspec-quarantine
<<
:
*rspec-quarantine
allow_failure
:
true
allow_failure
:
true
rspec quarantine mysql
:
<<
:
*rspec-metadata-mysql
<<
:
*rspec-quarantine
<<
:
*only-schedules-master
allow_failure
:
true
static-analysis
:
static-analysis
:
extends
:
.dedicated-no-docs-no-db-pull-cache-job
extends
:
.dedicated-no-docs-no-db-pull-cache-job
dependencies
:
dependencies
:
...
@@ -281,10 +230,6 @@ db:migrate:reset-pg:
...
@@ -281,10 +230,6 @@ db:migrate:reset-pg:
<<
:
*db-migrate-reset
<<
:
*db-migrate-reset
<<
:
*use-pg
<<
:
*use-pg
db:migrate:reset-mysql:
<<
:
*db-migrate-reset
<<
:
*use-mysql
db:check-schema-pg:
db:check-schema-pg:
<<
:
*db-migrate-reset
<<
:
*db-migrate-reset
<<
:
*use-pg
<<
:
*use-pg
...
@@ -295,10 +240,6 @@ migration:path-pg:
...
@@ -295,10 +240,6 @@ migration:path-pg:
<<
:
*migration-paths
<<
:
*migration-paths
<<
:
*use-pg
<<
:
*use-pg
migration:path-mysql:
<<
:
*migration-paths
<<
:
*use-mysql
.db-rollback
:
&db-rollback
.db-rollback
:
&db-rollback
extends
:
.dedicated-no-docs-and-no-qa-pull-cache-job
extends
:
.dedicated-no-docs-and-no-qa-pull-cache-job
script
:
script
:
...
@@ -311,22 +252,12 @@ db:rollback-pg:
...
@@ -311,22 +252,12 @@ db:rollback-pg:
<<
:
*db-rollback
<<
:
*db-rollback
<<
:
*use-pg
<<
:
*use-pg
db:rollback-mysql:
<<
:
*db-rollback
<<
:
*use-mysql
gitlab:setup-pg:
gitlab:setup-pg:
<<
:
*gitlab-setup
<<
:
*gitlab-setup
<<
:
*use-pg
<<
:
*use-pg
dependencies
:
dependencies
:
-
setup-test-env
-
setup-test-env
gitlab:setup-mysql:
<<
:
*gitlab-setup
<<
:
*use-mysql
dependencies
:
-
setup-test-env
coverage
:
coverage
:
# Don't include dedicated-no-docs-no-db-pull-cache-job here since we need to
# Don't include dedicated-no-docs-no-db-pull-cache-job here since we need to
# download artifacts from all the rspec jobs instead of from setup-test-env only
# download artifacts from all the rspec jobs instead of from setup-test-env only
...
...
changelogs/unreleased/52442-minimal-remove-mysql-support.yml
0 → 100644
View file @
7754029e
---
title
:
Remove MySQL support
merge_request
:
29790
author
:
type
:
removed
config/initializers/1_postgresql_only.rb
0 → 100644
View file @
7754029e
# frozen_string_literal: true
raise
"PostgreSQL is the only supported database from GitLab 12.1"
unless
Gitlab
::
Database
.
postgresql?
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