Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Upgrade to Ruby 2.4.4sh-bump-ruby-2.4 | Stan Hu | 2018-05-29 | 1 | -1/+1 |
| | | | | | | | | | | | | Fixes that make this work: * A change in Ruby (https://github.com/ruby/ruby/commit/ce635262f53b760284d56bb1027baebaaec175d1) requires passing in the exact required length for OpenSSL keys and IVs. * Ensure the secrets.yml is generated before any prepended modules are loaded. This is done by renaming the `secret_token.rb` initializer to `01_secret_token.rb`, which is a bit ugly but involves the least impact on other files. | ||||
* | Remove disable_statement_timeoutadd-background-migration-to-fill-file-store | Shinya Maeda | 2018-05-28 | 1 | -2/+0 |
| | |||||
* | Rename FillFileStoreUpload to FillStoreUpload | Shinya Maeda | 2018-05-28 | 1 | -1/+2 |
| | |||||
* | Add spec for fill_file_store migration | Shinya Maeda | 2018-05-28 | 1 | -0/+0 |
| | |||||
* | Fix schema and refactoring migration file | Shinya Maeda | 2018-05-28 | 1 | -24/+26 |
| | |||||
* | Remove legacy artifacts file_store migration | Shinya Maeda | 2018-05-28 | 1 | -30/+6 |
| | |||||
* | Add background migration to fill file stores | Shinya Maeda | 2018-05-28 | 1 | -0/+95 |
| | |||||
* | Resolve "Deprecate Gemnasium project service" | Olivier Gonzalez | 2018-05-23 | 1 | -0/+15 |
| | |||||
* | Add a unique and not null constraint on the project_features.project_id column | Stan Hu | 2018-05-15 | 2 | -0/+64 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Backports every CE related change from ee-44542 to CE | Tiago Botelho | 2018-05-04 | 1 | -0/+38 |
| | |||||
* | Fix constants in backfill_runner_type_for_ci_runners_post_migrate.rb | Dylan Griffith | 2018-05-03 | 1 | -4/+4 |
| | |||||
* | Extract constants in ↵ | Dylan Griffith | 2018-05-03 | 1 | -2/+5 |
| | | | | 20180430143705_backfill_runner_type_for_ci_runners_post_migrate | ||||
* | Merge branch 'master' into feature/runner-per-group | Dylan Griffith | 2018-05-03 | 1 | -0/+29 |
|\ | |||||
| * | Update 20180420080616_schedule_stages_index_migration.rb | Grzegorz Bizon | 2018-04-27 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'master' into 'backstage/gb/migrate-pipeline-stages-index' | Grzegorz Bizon | 2018-04-25 | 1 | -0/+34 |
| |\ | | | | | | | | | | # Conflicts: # db/schema.rb | ||||
| * | | Update stages index migration batch size | Grzegorz Bizon | 2018-04-24 | 1 | -1/+1 |
| | | | |||||
| * | | Schedule pipeline stages index background migration | Grzegorz Bizon | 2018-04-24 | 1 | -0/+29 |
| | | | |||||
* | | | Start persisting runner_type when creating runners | Dylan Griffith | 2018-04-30 | 1 | -0/+20 |
| |/ |/| | |||||
* | | Introduce new ProjectCiCdSetting10244-add-project-ci-cd-settings | Yorick Peterse | 2018-04-16 | 1 | -0/+34 |
|/ | | | | | | | | | | | | | This model and the corresponding table will be used for storing settings specific to CI/CD, starting with the "group_runners_enabled" boolean. The model is called ProjectCiCdSetting and not ProjectCiCdSettings. The project exporter doesn't like plural model names as it uses "classify" which turns those into singular (so "ProjectCiCdSettings" becomes "ProjectCiCdSetting", producing an error if said class is undefined). The initial work in this commit was done by Dylan Griffith, with most of the migration work being done by Yorick Peterse. | ||||
* | Merge branch 'fix/gb/reschedule-pipeline-stages-migration' into 'master' | Kamil Trzciński | 2018-04-05 | 2 | -20/+38 |
|\ | | | | | | | | | Reschedule pipeline stages migration to run it again See merge request gitlab-org/gitlab-ce!18191 | ||||
| * | Reschedule pipeline stages migration to run it againfix/gb/reschedule-pipeline-stages-migration | Grzegorz Bizon | 2018-04-05 | 2 | -20/+38 |
| | | |||||
* | | Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵ | Douwe Maan | 2018-04-05 | 2 | -0/+46 |
|/ | | | | | | | | | | '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 | ||||
* | Add the RedirectRoute#path index setup_postgresql | Bob Van Landuyt | 2018-03-28 | 1 | -9/+9 |
| | |||||
* | Add index on lower path to redirect routes | Bob Van Landuyt | 2018-03-28 | 1 | -0/+38 |
| | | | | | This will speed up the LIKE query in RedirectRoute.matching_path_and_descendants | ||||
* | Remove `permanent` from `redirect_routes` | Bob Van Landuyt | 2018-03-28 | 1 | -0/+37 |
| | | | | | | This removes the column that was added in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/15670 since we will no longer be allowing _permanent_ redirects | ||||
* | Merge branch 'master' into 'latest-security-to-master-21-03-18' | James Lopez | 2018-03-22 | 1 | -5/+5 |
|\ | | | | | | | | | # Conflicts: # Gemfile # Gemfile.lock | ||||
| * | Shortcut concurrent foreign key creation if already exists.ab-43887-concurrent-migration-helpers | Andreas Brandl | 2018-03-20 | 1 | -5/+5 |
| | | | | | | | | Closes #43887. | ||||
* | | Merge branch 'fix/auth0-unsafe-login-10-6' into 'security-10-6' | James Lopez | 2018-03-21 | 1 | -0/+25 |
|/ | | | | | | [10.6] Fix GitLab Auth0 integration signs in the wrong user See merge request gitlab/gitlabhq!2354 | ||||
* | Fix concurrency issue with migration for user_interacted_projects table.ab-44205-user_interacted_projects-migration | Andreas Brandl | 2018-03-14 | 1 | -48/+94 |
| | | | | | | | | | | | | | | | The concurrency issue originates from inserts on `user_interacted_projects` from the app while running the post-deploy migration. This change comes with a strategy to lock the table while removing duplicates and creating the unique index (and similar for FK constraints). Also, we'll have a non-unique index until the post-deploy migration is finished to speed up queries during that time. Closes #44205. | ||||
* | Merge branch '43460-track-projects-a-user-contributed-to' into 'master' | Yorick Peterse | 2018-03-07 | 1 | -0/+124 |
|\ | | | | | | | | | | | | | Keep track of projects a user interacted with Closes #43460 See merge request gitlab-org/gitlab-ce!17327 | ||||
| * | Improve robustness of migration. | Andreas Brandl | 2018-03-06 | 1 | -6/+39 |
| | | |||||
| * | For MySQL, foreign keys are dependent on index. | Andreas Brandl | 2018-03-06 | 1 | -0/+6 |
| | | |||||
| * | Rename to UserInteractedProjects. | Andreas Brandl | 2018-03-06 | 1 | -12/+12 |
| | | | | | | | | | | | | This is to avoid a mix-up with the existing concept of 'user contributions'. See `User#contributed_projects` or `Event#contributions`. | ||||
| * | Improve migration robustness and speed. | Andreas Brandl | 2018-03-06 | 1 | -1/+9 |
| | | |||||
| * | Simpler migration strategy for MySQL. | Andreas Brandl | 2018-03-06 | 1 | -29/+58 |
| | | | | | | | | | | MySQL does not return the number of inserted rows (or at least not expose them through cmd_tuples). Let's do one-shot INSERT instead. | ||||
| * | Add post-migration to populate user_contributed_projects table. | Andreas Brandl | 2018-03-06 | 1 | -0/+48 |
| | | | | | | | | | | Trying to be a good citizen here, we spread the load building that table. Maybe not required, but at least good practice and no harm. | ||||
* | | Move update_head_pipeline_for_merge_request queue to pipeline_processing ↵ | Shinya Maeda | 2018-03-07 | 1 | -0/+15 |
| | | | | | | | | namespace | ||||
* | | Integrate two workers into one ArchiveTraceWorker with pipeline_background ↵ | Shinya Maeda | 2018-03-06 | 1 | -0/+13 |
|/ | | | | queue. This queue takes loqer precedence than pipeline_default. | ||||
* | Make project#namespace_id not nulldz-namespace-id-not-null | Dmitriy Zaporozhets | 2018-03-01 | 1 | -0/+29 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Merge branch 'backstage/gb/build-stages-catch-up-migration' into 'master' | Kamil Trzciński | 2018-02-27 | 3 | -0/+57 |
|\ | | | | | | | | | | | | | Fully migrate build stages again Closes #38756 See merge request gitlab-org/gitlab-ce!15741 | ||||
| * | Create index on id instead of stage_id in migration | Grzegorz Bizon | 2018-02-21 | 2 | -6/+6 |
| | | |||||
| * | Separate adding and removing index from stages migration | Grzegorz Bizon | 2018-02-20 | 3 | -5/+28 |
| | | |||||
| * | Add index before going through builds in a migration | Grzegorz Bizon | 2018-02-20 | 1 | -0/+5 |
| | | |||||
| * | Use a helper to schedule pipeline stages migration | Grzegorz Bizon | 2018-02-16 | 1 | -5/+6 |
| | | |||||
| * | Merge branch 'master' into 'backstage/gb/build-stages-catch-up-migration' | Grzegorz Bizon | 2018-02-15 | 1 | -1/+1 |
| |\ | | | | | | | | | | Conflicts: db/schema.rb | ||||
| * | | Recover from unique constraint violation in stages migration | Grzegorz Bizon | 2018-02-15 | 1 | -1/+1 |
| | | | |||||
| * | | Schedule pipeline stages migration every 5 minutes | Grzegorz Bizon | 2018-02-13 | 1 | -5/+13 |
| | | | | | | | | | | | | [ci skip] | ||||
| * | | Move pipeline stages background migration in time | Grzegorz Bizon | 2018-02-12 | 1 | -0/+0 |
| | | | |||||
| * | | Merge branch 'master' into backstage/gb/build-stages-catch-up-migration | Grzegorz Bizon | 2018-02-09 | 12 | -46/+605 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | * master: (1480 commits) Conflicts: db/schema.rb | ||||
| * | | | Reduce batch size of stages we schedule for a migration | Grzegorz Bizon | 2018-01-06 | 1 | -1/+1 |
| | | | |