| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This was incorrectly set by a bug in:
https://gitlab.com/gitlab-org/gitlab-ce/issues/54924
Also adds a `batch_size` option to `update_column_in_batches`
|
|\
| |
| |
| |
| | |
Add a length limit of 128 char to the user name field
See merge request gitlab-org/gitlab-ce!26146
|
| |
| |
| |
| |
| | |
Truncate existing users names which exceed 128 characters
Include test for truncating users names
|
|/
|
|
|
|
|
| |
- rewords examples starting with 'should'
- rewords examples starting with 'it'
Note: I had to manually fixup "onlies" to "only"
|
|
|
|
| |
spec/migrations/schedule_sync_issuables_state_id_spec.rb
|
|\
| |
| |
| |
| |
| |
| | |
Migrate issuable states to integer patch 1 of 2
Closes #51789
See merge request gitlab-org/gitlab-ce!25107
|
| | |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Patch 1 that migrates issues/merge requests states from integer to string.
On this commit we are only adding the state_id column and syncing it with a backgroud migration.
On Patch 2 the code to use the new integer column will be deployed and the old column will be
removed.
|
| |/
|/|
| |
| |
| | |
- Creates a support/helper file and moves all the duplication defs
into it
|
| |
| |
| |
| | |
This will be further required for supporting multi-assignees MRs
|
|\ \
| | |
| | |
| | |
| | | |
[CE] Reduce differences with EE in a migration spec
See merge request gitlab-org/gitlab-ce!26162
|
| | |
| | |
| | |
| | | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This reverts commit c9ecc71ab91b0b55f9aba632f9e7b305191a458c, reversing
changes made to c3c8dbf8fa4090bb090071d320a31857eb709d3d.
|
|/
|
|
|
| |
This was incorrectly set by a bug in:
https://gitlab.com/gitlab-org/gitlab-ce/issues/54924
|
|\
| |
| |
| |
| |
| |
| | |
Fixes technical debt issues for cluster domain
Closes #57397
See merge request gitlab-org/gitlab-ce!25010
|
| |
| |
| |
| |
| |
| |
| | |
- Avoid using direct code on spec migration
- Removes milestone and point to issue, to avoid making fake promises
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57397
|
|/ |
|
|
|
|
|
|
|
|
|
| |
- Fixes multiple typos on AutoDevops script
- Add an alias to Clusters::Cluster#domain as base_domain, so it's more
descriptive
- Removes unnecessary memoization on qa specs
- Changes migration to a post migration to deal better with traffic on
big instances (like gitlab.com)
|
|
|
|
|
|
| |
Since cluster_projects table does not have a lot of records,
currently it has 11,638, it seems better to use a single sql statement
to update all the records
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes domain field to be on the Cluster page show, removing it from
Auto DevOps setting. Also injects the new environment variable
KUBE_INGRESS_BASE_DOMAIN into kubernetes#predefined_variables.
Migration to move the information from ProjectAutoDevops#domain
to Clusters::Cluster#domain. As well as necessary modifications to qa
selectors
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/52363
|
| |
|
| |
|
|
|
|
|
| |
Migrate jobs from `storage_migrator` to
`hashed_storage:hashed_storage_migrator`.
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| | |
Improvements for spec migration readme
See merge request gitlab-org/gitlab-ce!24440
|
| |
| |
| |
| |
| |
| |
| |
| | |
The document is now split in two sections:
- Testing an ActiveRecord migration
- Testing an non-ActiveRecord migration
Both sections have an example
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|\
| |
| |
| |
| |
| | |
fix/gb/encrypt-runners-tokens
* commit '83f0798e7dc588f0e4cb6816daadeef7dbfc8b81': (101 commits)
|
| |\
| | |
| | |
| | |
| | | |
Backport from gitlab-org/gitlab-ee!6878
See merge request gitlab-org/gitlab-ce!23391
|