| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
20171124104327_migrate_kubernetes_service_to_new_clusters_architectures.rb
|
|\
| |
| |
| |
| | |
Upgrade to Ruby 2.4.4
See merge request gitlab-org/gitlab-ce!19055
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Resolve "ActiveRecord::RecordInvalid: Validation failed: Build timeout needs to be at least 10 minutes"
Closes #46019
See merge request gitlab-org/gitlab-ce!18775
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'master'
Resolve "Add support for Jupyter in GitLab via Kubernetes"
Closes #46487
See merge request gitlab-org/gitlab-ce!19019
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| | | |
| | | |
| | | |
| | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
46487-add-support-for-jupyter-in-gitlab-via-kubernetes
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
| | | | |
| | | | |
| | | | |
| | | | | |
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Take two for MR metrics population background migration
See merge request gitlab-org/gitlab-ce!19097
|
| | |/ / /
| |/| | | |
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
Resolve "Squash and merge in GitLab Core (CE)"
Closes #34591
See merge request gitlab-org/gitlab-ce!18956
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Improve performance of GroupsController#show
See merge request gitlab-org/gitlab-ce!18973
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This index is added on `(target_project_id, iid)` and has a `WHERE state
= 'opened'` condition. Using this index we can drastically improve the
performance of the query used to count the total number of merge
requests in a group. Without this index the query would eventually
perform the following:
-> Index Scan using index_merge_requests_on_target_project_id_and_iid on merge_requests (cost=0.43..4.89 rows=7 width=4) (actual time=0.058..0.353 rows=6 loops=228)
Index Cond: (target_project_id = projects.id)
Filter: ((state)::text = 'opened'::text)
Rows Removed by Filter: 141
Buffers: shared hit=34351 dirtied=1
Out of the ~180 milliseconds the entire query would take, around 170
milliseconds was spent in just this segment. With the index in place,
the above segment is turned into the following:
-> Index Only Scan using yorick_test on merge_requests (cost=0.42..0.55 rows=7 width=4) (actual time=0.004..0.010 rows=6 loops=228)
Index Cond: (target_project_id = projects.id)
Heap Fetches: 419
Buffers: shared hit=1381
The index also reduces the total query time to roughly 10 milliseconds.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Add background migration to fill file stores from `NULL` to `1`
Closes #45337 and #45476
See merge request gitlab-org/gitlab-ce!18557
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ / |
|
|/ /
| |
| |
| |
| | |
We request Gitaly in a N+1 manner to build discussion diffs. Once the diffs are from different revisions, it's hard to make a single request to the service in order to build the whole response.
With this change we solve this problem and simplify a lot fetching this piece of info.
|
| | |
|
| |
| |
| |
| | |
EnsureMissingColumnsToProjectMirrorData
|
| |
| |
| |
| | |
added to the table
|
| |
| |
| |
| | |
exists
|
| | |
|
| |
| |
| |
| | |
Closes #46530.
|
| |
| |
| |
| | |
Closes #43706.
|
| |
| |
| |
| | |
Closes #32258.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
We use this to filter runner and will use this increasingly in future
instead of is_shared so it should be indexed
|
|\ \
| | |
| | |
| | | |
# Conflicts:
# db/schema.rb
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Add missing pipeline build foreign key to the schema
See merge request gitlab-org/gitlab-ce!18846
|
| | |/ |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
'master'
Add tmp index to ci_builds to optimize stages migration
Closes #46179
See merge request gitlab-org/gitlab-ce!18844
|
| | |/ |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Set `ci_runners.runner_type` not null
See merge request gitlab-org/gitlab-ce!18825
|
| | |/ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
15fcd9650f6a4a5832e2ed57419b11e30d3f606f (!18547) squashes old migrations
to a single one.
Old migrations had `rubocop:disable all` rule, but the new migration doesn't
have it, so the `downtime_check` fails.
This commit explicitly tells that the migration requires downtime.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
Add database foreign key between pipelines and builds
Closes #46035
See merge request gitlab-org/gitlab-ce!18822
|