summaryrefslogtreecommitdiff
path: root/spec/migrations
Commit message (Collapse)AuthorAgeFilesLines
* Deny repository disk access in development and testJacob Vosmaer (GitLab)2018-06-142-3/+11
|
* Refactor schema_spec.rb for CE-EE parity and simplicityRobert Speicher2018-06-071-1/+5
|
* Migrate jobs in object_storage_upload queueJan Provaznik2018-06-051-0/+33
|
* Merge branch 'master' into 'rd-44364-deprecate-support-for-dsa-keys'Douwe Maan2018-06-051-0/+45
|\ | | | | | | # Conflicts: # db/schema.rb
| * Fix specs. Rename migration file name which was conflicted with background ↵Shinya Maeda2018-06-042-45/+45
| | | | | | | | migration's.
| * Add background migrations to arhive legacy tracesShinya Maeda2018-06-041-0/+45
| |
* | Add migration to disable the usage of DSA keysrd-44364-deprecate-support-for-dsa-keysRubén Dávila2018-06-041-0/+33
|/ | | | | Additionally the current application setting is also updated to disable the usage of DSA keys.
* Take two for MR metrics population background migrationOswaldo Ferreira2018-05-301-0/+36
|
* Add spec for fill_file_store migrationShinya Maeda2018-05-281-0/+43
|
* Add a unique and not null constraint on the project_features.project_id columnStan Hu2018-05-151-0/+59
| | | | | | | | | | | | | | | | | | | | This commit has two migrations: 1. The first prunes duplicate rows in the project_features table and leaves the row with the highest ID. Since the behavior was indeterministic before and depended on which row the database decided to use, this change at least makes the permissions consistent. For example, in some cases, the Wiki may have been disabled but enabled in another entry. 2. The second adds a non-null constraint on the project_features.project_id column. Closes #37882 Fixes a significant part of gitlab-com/migration#408. We found that we were overcounting Wikis because of these duplicates. On GitLab.com, there are 56 rows with duplicate entries by project_id, and 16,661 rows with NULL project_id values.
* Merge branch 'master' into 'fix-project-mirror-data-schema'Douwe Maan2018-05-091-0/+32
|\ | | | | | | # Conflicts: # db/schema.rb
| * Remove orphaned builds without project / pipeline referenceGrzegorz Bizon2018-05-081-1/+3
| |
| * Add database foreign key between pipelines and buildsGrzegorz Bizon2018-05-081-0/+30
| |
* | Adds not null constraint to ProjectMirrorData's foreign_key project_idTiago Botelho2018-05-081-0/+18
|/
* Cleanup pipeline build stage background migrationGrzegorz Bizon2018-05-071-0/+53
|
* Backports every CE related change from ee-44542 to CETiago Botelho2018-05-041-0/+56
|
* Use stages position column to track stage indexGrzegorz Bizon2018-05-011-1/+1
|
* Merge branch 'master' into 'backstage/gb/migrate-pipeline-stages-index'Grzegorz Bizon2018-04-251-0/+32
|\ | | | | | | # Conflicts: # db/schema.rb
| * Cleanup after adding MR diff's commit_count (try 2)Jan Provaznik2018-04-251-0/+32
| | | | | | | | | | | | * processes any pending records which are not migrated yet * bumps import_export version because of new commits_count attribute * removes commits_count fallback method
* | Rename stage index column name to priority columnGrzegorz Bizon2018-04-241-1/+1
| |
* | Schedule pipeline stages index background migrationGrzegorz Bizon2018-04-241-0/+35
|/
* Fix missing namespace for some internal usersRubén Dávila2018-04-201-0/+42
|
* Ignore current RSpec/FactoriesInMigrationSpecs offensesRémy Coutable2018-04-0622-84/+84
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'fix/gb/reschedule-pipeline-stages-migration' into 'master'Kamil Trzciński2018-04-051-3/+5
|\ | | | | | | | | Reschedule pipeline stages migration to run it again See merge request gitlab-org/gitlab-ce!18191
| * Update entities in pipeline stages migration testGrzegorz Bizon2018-04-051-1/+3
| |
| * Reschedule pipeline stages migration to run it againfix/gb/reschedule-pipeline-stages-migrationGrzegorz Bizon2018-04-051-2/+2
| |
* | Merge branch 'dm-internal-user-namespace' into 'master'Sean McGivern2018-04-051-2/+2
|\ \ | | | | | | | | | | | | Ensure internal users (ghost, support bot) get assigned a namespace See merge request gitlab-org/gitlab-ce!18194
| * | Update column directly to prevent triggering before_save callbackDouwe Maan2018-04-051-2/+2
| |/
* | Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan2018-04-053-2/+106
|/ | | | | | | | | | 'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
* Merge branch '40781-os-to-ce' into 'master'Sean McGivern2018-03-271-0/+4
|\ | | | | | | | | | | | | Bring Object Storage to CE Closes #4171, #4163, #3370, #2841, and #29203 See merge request gitlab-org/gitlab-ce!17358
| * Merge remote-tracking branch 'origin/master' into 40781-os-to-ceMicaël Bergeron2018-03-222-1/+38
| |\
| * \ Merge remote-tracking branch 'origin/master' into 40781-os-to-ceMicaël Bergeron2018-03-086-3/+168
| |\ \
| * \ \ Merge remote-tracking branch 'origin/master' into ↵object-storage-ee-to-ce-backportKamil Trzciński2018-02-286-8/+35
| |\ \ \ | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ Merge commit '7e424eb852716495073881710e8a8851b4a4cd5a' into ↵Kamil Trzciński2018-02-284-2/+147
| |\ \ \ \ | | | | | | | | | | | | | | | | | | object-storage-ee-to-ce-backport
| * \ \ \ \ Merge commit '8af23def1d6' into object-storage-ee-to-ce-backportKamil Trzciński2018-02-2816-69/+221
| |\ \ \ \ \
| * | | | | | Merge branch '4163-move-uploads-to-object-storage' into 'master'Sean McGivern2018-02-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move uploads to object storage Closes #4163 See merge request gitlab-org/gitlab-ee!3867
* | | | | | | Merge branch 'mark-legacy-git-access' into 'master'Sean McGivern2018-03-231-1/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Route path lookups through legacy_disk_path See merge request gitlab-org/gitlab-ce!17743
| * | | | | | | Route path lookups through legacy_disk_pathmark-legacy-git-accessJacob Vosmaer2018-03-211-1/+3
| | | | | | | |
* | | | | | | | Merge branch 'fix/auth0-unsafe-login-10-6' into 'security-10-6'James Lopez2018-03-211-0/+22
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [10.6] Fix GitLab Auth0 integration signs in the wrong user See merge request gitlab/gitlabhq!2354
* | | | | | | Fix specfix/sm/clarify-ambiguous-with_artifacts-implicationShinya Maeda2018-03-161-1/+1
| | | | | | |
* | | | | | | Add feartue spec. Fix failed testShinya Maeda2018-03-151-1/+1
|/ / / / / /
* | | | | | Reschedule commits_count background migrationjprovazn-commits-count-rescheduleJan Provaznik2018-03-091-0/+37
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We still have >100K unmigrated MergeRequestDiffs which don't have commits_count set yet (see https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/17567#note_61904891) This migration re-schedules the original background migration. To assure that records are not processed twice, records with commits_count set are skipped. Related to #41698 and !17567
* | | | | Move update_head_pipeline_for_merge_request queue to pipeline_processing ↵Shinya Maeda2018-03-071-0/+64
| | | | | | | | | | | | | | | | | | | | namespace
* | | | | Fix tests by latest proposal changesproper-fix-for-artifacts-serviceShinya Maeda2018-03-061-0/+0
| | | | |
* | | | | Integrate two workers into one ArchiveTraceWorker with pipeline_background ↵Shinya Maeda2018-03-061-0/+66
| | | | | | | | | | | | | | | | | | | | queue. This queue takes loqer precedence than pipeline_default.
* | | | | Merge branch 'dz-namespace-id-not-null' into 'master'Yorick Peterse2018-03-012-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make project#namespace_id not null Closes #26052 See merge request gitlab-org/gitlab-ce!17448
| * | | | | Update specs to respect Project#namespace_id not null constraintDmitriy Zaporozhets2018-03-012-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | | | | Tag migration specs with :sidekiq to clear queues between testssh-tag-migrations-with-sidekiqStan Hu2018-02-282-2/+2
|/ / / / / | | | | | | | | | | | | | | | This was failing in https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/55004375
* | | | | Merge branch 'backstage/gb/build-stages-catch-up-migration' into 'master'Kamil Trzciński2018-02-271-0/+35
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Fully migrate build stages again Closes #38756 See merge request gitlab-org/gitlab-ce!15741
| * | | | Merge branch 'master' into 'backstage/gb/build-stages-catch-up-migration'Grzegorz Bizon2018-02-221-1/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | # Conflicts: # db/schema.rb