Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-08-06Merge branch 'background-migrations-system-load' into 'master'Stan Hu
Respond to DB health in background migrations See merge request gitlab-org/gitlab-ce!20720
2018-08-06Fix interval in NormalizeLdapExternUids specYorick Peterse
The background migration interval has been reduced from 5 minutes to 2 minutes, so we have to adjust this migration accordingly.
2018-08-02Resolve "Remove ghost notification settings for groups and projects"🙈 jacopo beschi 🙉
2018-07-25Remove code for dynamically generating routesYorick Peterse
This adds a database migration that creates routes for any projects and namespaces that don't already have one. We also remove the runtime code for dynamically creating routes, as this is no longer necessary.
2018-07-23Replace 'Sidekiq::Testing.inline!' with 'perform_enqueued_jobs'blackst0ne
`perform_enqueued_jobs` is a Sidekiq method. Using this method violates the Dependency inversion principle[0]. This commit replaces `perform_enqueued_jobs` with ActiveJob's abstract method `perform_enqueued_jobs` in specs. [0]: https://en.wikipedia.org/wiki/Dependency_inversion_principle
2018-07-19Remove direct disk access in RemoveDotGitFromUsernamesZeger-Jan van de Weg
Prior to this change, the migration touched the disk path. This has been removed. Further, I believe it also fixes a bug. It seems that GitLab Shell checks if the root path exists, when the path is duplicated. For example, if the shard is located at /home/git, it did check if `/home/git/home/git` existed.
2018-07-19MigrateProcessCommitWorkerJobs to use GitalyZeger-Jan van de Weg
This old migration used Rugged to find a commit, while Gitaly is the prefered way now. By migrating this to Gitaly, Gitaly is now a required running component for this migration. Part of https://gitlab.com/gitlab-org/gitaly/issues/1106
2018-07-18Remove unreachable Git codeJacob Vosmaer (GitLab)
2018-07-10Use schedulers and delete diff files upon deadtuples checkOswaldo Ferreira
2018-07-10Wait postgresql vacuum of deadtuples on merge_request_diff_files deletionOswaldo Ferreira
2018-07-10Add 1000 files per minute deletion ratio on schedulerOswaldo Ferreira
2018-07-10Create a diff deletion worker scheduler to avoid long-running post-migrationOswaldo Ferreira
2018-07-10Schedule batches in bulks of 5 diffsOswaldo Ferreira
Issuing 6M writings in a N+1 manner in Redis takes time, 3 hours to be precise. This commit makes it schedule 5 jobs at a time, what should make it schedule every job in approximately 40 minutes
2018-07-10Revert "Temporarily remove MR diffs removal migration"Sean McGivern
This reverts commit 15ec6a13eb4d839d252315bf5b0a50d28351cb5f.
2018-07-09Resolve Naming/UncommunicativeMethodLin Jen-Shin
2018-07-09Updates from `rubocop -a`Lin Jen-Shin
2018-07-03Temporarily remove MR diffs removal migrationSean McGivern
We will re-add this with a more efficient bulk scheduling method.
2018-06-29Add pipeline stages position clean-up migrationGrzegorz Bizon
2018-06-28Schedule workers to delete non-latest diffs in post-migrationOswaldo Ferreira
2018-06-18Bring CE-EE parity to migrations/remove_soft_removed_objects_spec.rbRobert Speicher
2018-06-14Deny repository disk access in development and testJacob Vosmaer (GitLab)
2018-06-07Refactor schema_spec.rb for CE-EE parity and simplicityRobert Speicher
2018-06-05Migrate jobs in object_storage_upload queueJan Provaznik
2018-06-05Merge branch 'master' into 'rd-44364-deprecate-support-for-dsa-keys'Douwe Maan
# Conflicts: # db/schema.rb
2018-06-05Add migration to disable the usage of DSA keysRubén Dávila
Additionally the current application setting is also updated to disable the usage of DSA keys.
2018-06-04Fix specs. Rename migration file name which was conflicted with background ↵Shinya Maeda
migration's.
2018-06-04Add background migrations to arhive legacy tracesShinya Maeda
2018-05-30Take two for MR metrics population background migrationOswaldo Ferreira
2018-05-28Add spec for fill_file_store migrationShinya Maeda
2018-05-15Add a unique and not null constraint on the project_features.project_id columnStan Hu
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.
2018-05-09Merge branch 'master' into 'fix-project-mirror-data-schema'Douwe Maan
# Conflicts: # db/schema.rb
2018-05-08Remove orphaned builds without project / pipeline referenceGrzegorz Bizon
2018-05-08Add database foreign key between pipelines and buildsGrzegorz Bizon
2018-05-08Adds not null constraint to ProjectMirrorData's foreign_key project_idTiago Botelho
2018-05-07Cleanup pipeline build stage background migrationGrzegorz Bizon
2018-05-04Backports every CE related change from ee-44542 to CETiago Botelho
2018-05-01Use stages position column to track stage indexGrzegorz Bizon
2018-04-25Merge branch 'master' into 'backstage/gb/migrate-pipeline-stages-index'Grzegorz Bizon
# Conflicts: # db/schema.rb
2018-04-25Cleanup after adding MR diff's commit_count (try 2)Jan Provaznik
* processes any pending records which are not migrated yet * bumps import_export version because of new commits_count attribute * removes commits_count fallback method
2018-04-24Rename stage index column name to priority columnGrzegorz Bizon
2018-04-24Schedule pipeline stages index background migrationGrzegorz Bizon
2018-04-21Fix missing namespace for some internal usersRubén Dávila
2018-04-06Ignore current RSpec/FactoriesInMigrationSpecs offensesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-05Merge branch 'fix/gb/reschedule-pipeline-stages-migration' into 'master'Kamil Trzciński
Reschedule pipeline stages migration to run it again See merge request gitlab-org/gitlab-ce!18191
2018-04-05Merge branch 'dm-internal-user-namespace' into 'master'Sean McGivern
Ensure internal users (ghost, support bot) get assigned a namespace See merge request gitlab-org/gitlab-ce!18194
2018-04-05Update entities in pipeline stages migration testGrzegorz Bizon
2018-04-05Update column directly to prevent triggering before_save callbackDouwe Maan
2018-04-05Reschedule pipeline stages migration to run it againGrzegorz Bizon
2018-04-05Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan
'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
2018-03-27Merge branch '40781-os-to-ce' into 'master'Sean McGivern
Bring Object Storage to CE Closes #4171, #4163, #3370, #2841, and #29203 See merge request gitlab-org/gitlab-ce!17358