summaryrefslogtreecommitdiff
path: root/spec/migrations
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * \ \ \ \ Merge branch 'master' into 'backstage/gb/build-stages-catch-up-migration'Grzegorz Bizon2018-02-152-5/+9
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: db/schema.rb
| * | | | | | Schedule pipeline stages migration every 5 minutesGrzegorz Bizon2018-02-131-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | [ci skip]
| * | | | | | Move pipeline stages background migration in timeGrzegorz Bizon2018-02-121-1/+1
| | | | | | |
| * | | | | | Merge branch 'master' into backstage/gb/build-stages-catch-up-migrationGrzegorz Bizon2018-02-0924-76/+685
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1480 commits) Conflicts: db/schema.rb
| * | | | | | | Fix rubocop offense in build stage migration classesGrzegorz Bizon2018-01-061-4/+2
| | | | | | | |
| * | | | | | | Randomize build ids in stages migration test dataGrzegorz Bizon2018-01-061-7/+7
| | | | | | | |
| * | | | | | | Update specs for delayed background migration of stagesGrzegorz Bizon2018-01-061-4/+4
| | | | | | | |
| * | | | | | | Update background stages migration timestampGrzegorz Bizon2018-01-061-1/+1
| | | | | | | |
| * | | | | | | Fix Rubocop offenses in build status migrations :cop:Grzegorz Bizon2018-01-061-1/+1
| | | | | | | |
| * | | | | | | Schedule full build stage migration in the backgroundGrzegorz Bizon2018-01-061-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For builds that are still missing `stage_id`.
* | | | | | | | Add DNS verification to Pages custom domainsNick Thomas2018-02-231-0/+23
| |_|_|/ / / / |/| | | | | |
* | | | | | | Move TrackUntrackedUploadsHelpersMichael Kozono2018-02-201-1/+1
| |_|/ / / / |/| | | | | | | | | | | | | | | | | into MigrationsHelpers namespace just for organization.
* | | | | | Avoid dropping tables in testMichael Kozono2018-02-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use :migration tag to use deletion strategy, and to avoid caching tables, and to lock into a particular schema. Attempting to fix intermittent spec errors `PG::UndefinedTable: ERROR: relation "public.untracked_files_for_uploads" does not exist`.
* | | | | | Use the latest migration in ↵Rémy Coutable2018-02-121-4/+8
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | spec/migrations/rename_reserved_project_names_spec.rb We do that because it's using factories and it's not worth it to get rid of them. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | Merge branch '40744-hashed-storage-specs' into 'master'Sean McGivern2018-02-082-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Use hashed storage in the specs Closes #40744 See merge request gitlab-org/gitlab-ce!15681
| * | | | Use hashed storage in the specs40744-hashed-storage-specsNick Thomas2018-02-072-2/+2
| | | | |
* | | | | Merge branch 'ce-4813-fix-ee-projects-destroy_service_spec' into 'master'Sean McGivern2018-02-071-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Reset column information after the schema is migrated in MigrationsHelpers.schema_migrate_up! Closes gitlab-ee#4813 See merge request gitlab-org/gitlab-ce!16950
| * | | | Reset column information after the schema is migrated in ↵ce-4813-fix-ee-projects-destroy_service_specRémy Coutable2018-02-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MigrationsHelpers.schema_migrate_up! Signed-off-by: Rémy Coutable <remy@rymai.me>
* | | | | Add more specs for unique stages index migrationGrzegorz Bizon2018-02-061-5/+16
| | | | |
* | | | | Merge branch 'master' into fix/gb/fix-redundant-pipeline-stagesGrzegorz Bizon2018-02-0613-15/+101
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | * master: (441 commits) Conflicts: db/schema.rb
| * | | | Add foreign keys to todos table.Andreas Brandl2018-02-051-0/+65
| | | | | | | | | | | | | | | | | | | | Fixes #32282.
| * | | | fix specJames Lopez2018-02-021-1/+1
| | | | |