| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Cached markdown version is composed both from global and local
markdown version. This allows admins to bump version locally when
needed (e.g. when external URL is changed).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
In order to let users' sorting preferences transfer between devices, we
save the preference for issues and MRs (one preference for issues, one
for MRs) in the backend inside the UserPreference object
|
|
|
|
|
| |
Migrate jobs from `storage_migrator` to
`hashed_storage:hashed_storage_migrator`.
|
|\
| |
| |
| |
| |
| |
| | |
Container repository cleanup API
Closes #55978
See merge request gitlab-org/gitlab-ce!24303
|
| |
| |
| |
| |
| |
| | |
This includes a set of APIs to manipulate container registry.
This includes also an ability to delete tags based on requested
criteria, like keep-last-n, matching-name, older-than.
|
| |
| |
| |
| | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| |
| |
| |
| |
| |
| |
| | |
This is the 1st step for moving Auto DevOps domain into cluster
settings, whether is project or group.
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We still rely on the Dirty API for project rename (before/after) values,
but we don't access the dirty api from the service class anymore.
The previous value is now part of the initialization, which makes it
easier to test and the behavior is clearer.
The same was done with the `rename_repo` on the Storage classes, we now
provide before and after values as part of the method signature.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add migration and spec
commit 3cc12e1268a6865f524d8fab1804f018312fdf5a
Author: Shinya Maeda <shinya@gitlab.com>
Date: Tue Jan 8 19:34:31 2019 +0900
Add changelog to this change
commit 5006fc96e38db514956a35f53ae8ee536548a2e9
Author: Shinya Maeda <shinya@gitlab.com>
Date: Tue Jan 8 19:32:56 2019 +0900
Remove partial index from ci_builds artifact_file
ok
Update schema
commit 3c956bdc02b195bc67d0327bf3748a631ea5466d
Author: Shinya Maeda <shinya@gitlab.com>
Date: Mon Jan 7 21:41:27 2019 +0900
Add frozen_string_literal: true
commit 8c827cd616890160e6e8908843403a6f20c03236
Author: Shinya Maeda <shinya@gitlab.com>
Date: Mon Jan 7 21:40:06 2019 +0900
Set batch size 100
commit aeee559777d3bdeadfd2b9bb61d460f2dc1fa8a6
Author: Shinya Maeda <shinya@gitlab.com>
Date: Fri Jan 4 18:33:05 2019 +0900
Cleanup legacy artifact background migration
|
|\
| |
| |
| |
| |
| |
| | |
Only send one notification for failed remote mirror
Closes #56222
See merge request gitlab-org/gitlab-ce!24381
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Retries in Sidekiq and in the remote mirror scheduler can cause repeated
attempts in quick succession if the sync fails. Each failure will then
send an e-mail to all project maintainers, which can spam users
unnecessarily.
Modify the logic to send one notification the first time the mirror
fails by setting `error_notification_sent` to `true` and reset the
flag after a successful sync.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56222
|
|/
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've found some problems with the backgroung migration:
BackfillLegacyProjectRepositories
See https://gitlab.com/gitlab-org/gitlab-ce/issues/56061
The migration was disabled to run on production:
https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5906
So to overcome it's not being run anywhere, just remove it.
Whenever all problems in BackfillLegacyProjectRepositories are fixed
we'll create a new migration (with a different timestamp) to have it
run.
|
|\
| |
| |
| |
| | |
Backport of elastic-test-repos from EE
See merge request gitlab-org/gitlab-ce!24200
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for AddIndexesToCiBuildsAndPipelines
See merge request gitlab-org/gitlab-ce!24167
|
| |/
| |
| |
| | |
AddIndexesToCiBuildsAndPipelines
|
|/
|
|
|
|
|
|
|
|
|
| |
These are data columns that store runtime configuration
of build needed to execute it on runner and within pipeline.
The definition of this data is that once used, and when no longer
needed (due to retry capability) they can be freely removed.
They use `jsonb` on PostgreSQL, and `text` on MySQL (due to lacking
support for json datatype on old enough version).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix coding style
Improve coding style
Decouple UPDATE and DELETE operations of asset links
Rename links_attributes to assets:links
Rename exposed param and updated spec
|
|
|
|
|
|
| |
- Add Releases::Links model
- Expose it in release API
- Add integration tests
|
|\
| |
| |
| |
| |
| |
| | |
Specific CI indexes to avoid statement timeout.
Closes #50763
See merge request gitlab-org/gitlab-ce!23188
|
| |
| |
| |
| |
| | |
This is useful to distinguish any other indexes on the same columns but
with different conditions and/or sorting.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This adds specific indexes to speed up the query mentioned in
https://gitlab.com/gitlab-org/gitlab-ce/issues/50763 and to avoid
statement timeouts.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/50763.
|
|/
|
|
|
| |
Many changes were also made to tests that expected this to default to
false.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
Conflicts:
db/schema.rb
|
| |\
| | |
| | |
| | |
| | | |
ActiveRecord::Migration -> ActiveRecord::Migration[5.0] for ImportCommonMetricsNginxVts
See merge request gitlab-org/gitlab-ce!23910
|
| | | |
|
| |/
| |
| |
| |
| | |
Adds a background migration that will ensure all projects that
are on legacy storage have a row in `project_repositories`.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
into 'master'
Resolve "Enable Hashed Storage by default in development mode"
Closes #54719
See merge request gitlab-org/gitlab-ce!23889
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
Fix deprecation: Directly inheriting from ActiveRecord::Migration is deprecated.
See merge request gitlab-org/gitlab-ce!23884
|
| | |/ |
|
| |/ |
|
| | |
|
| |\
| | |
| | |
| | |
| | | |
Add name, author and sha to releases
See merge request gitlab-org/gitlab-ce!23763
|
| | |
| | |
| | |
| | |
| | |
| | | |
This commit adds a name to each release, defaulting it to tag name,
keeps track of the SHA when a new release is created and tracks the
current user as release author.
|
| |/ |
|
| |
| |
| |
| |
| | |
Extending from ActiveRecord::Migration is deprecated, but was still used
in a bunch of places.
|
| |\
| | |
| | |
| | |
| | | |
Remove unnecessary includes of ShellAdapter
See merge request gitlab-org/gitlab-ce!23607
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Determined by running the script:
```
included = `git grep --name-only ShellAdapter`.chomp.split("\n")
used = `git grep --name-only gitlab_shell`.chomp.split("\n")
included - used
```
|