Michael Kozono
3cbd8b1343
Add local project uploads cleanup task
2018-07-31 11:09:42 -07:00
Zeger-Jan van de Weg
4600265e00
Remove gitlab:user:check_repos task
...
While reviewing this branch it was noted that this task was broken.
Given the limited value this task brings, and given the fact that much
of the old behaviour has been moved to be automatically fixed, removing
was a good option.
Suggestion in:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20806#note_91261001
2018-07-31 14:31:51 +02:00
Zeger-Jan van de Weg
f1f7bfc06f
Remove git rake tasks
...
These tasks are happening through housekeeping right now, by default
ever 10th push. This removes the need for these tasks.
Side note, this removes one of my first contributions to GitLab, as back
than I introduced these tasks through: 54e6c0045b
Closes https://gitlab.com/gitlab-org/gitaly/issues/768
2018-07-31 14:31:50 +02:00
Douwe Maan
8bc7845fbf
Merge branch '48932-disable-saml-if-omniauth-is-disabled' into 'master'
...
Resolve "Disable SAML and Bitbucket if OmniAuth is disabled"
Closes #48932
See merge request gitlab-org/gitlab-ce!20608
2018-07-23 07:48:00 +00:00
Lin Jen-Shin
d0afab482f
Disable SAML if OmniAuth is disabled
...
We also try to unify the way we setup OmniAuth, and how we check
if it's enabled or not.
2018-07-20 18:54:46 +08:00
Zeger-Jan van de Weg
80c61639f3
Remove refs cleanup job
...
Introduced by f20eadcbbe , meant to remove
refs from Git using the wrong name. That never made it to a non-rc
release and can be safely removed now.
2018-07-19 14:47:11 +02:00
Mark Chao
a63bce1a4b
Resolve "Rename the `Master` role to `Maintainer`" Backend
2018-07-11 14:36:08 +00:00
Lin Jen-Shin
4ee08b77bc
Updates from `rubocop -a`
2018-07-09 21:13:08 +08:00
Grzegorz Bizon
90a99ff3aa
Add pipeline stages position clean-up migration
2018-06-29 13:57:52 +00:00
DJ Mountney
a9fcf96856
Fixes an issue where migrations instead of schema loading were run
...
If you called rake gitlab:db:drop_tables before running gitlab-ctl
reconfigure (or rake gitlab:db:configure)
2018-06-27 13:39:55 -07:00
Jacob Vosmaer
f376347f24
Find and mark more Git disk access locations, part 2
2018-06-12 14:33:37 +02:00
Gabriel Mazetto
36c3376475
Resolve "Hashed Storage: Make possible to migrate single project"
2018-06-07 15:40:44 +00:00
Jacob Vosmaer (GitLab)
a0808df0b6
Find and mark more Git disk access locations
2018-06-05 15:51:14 +00:00
Shinya Maeda
0d00d02e84
Directly refer application code from migration code
2018-06-04 14:14:20 +09:00
Gabriel Mazetto
8c5ce1b07c
Specs covering listing all gitlab:storage:* types
2018-05-29 02:53:21 +02:00
Gabriel Mazetto
d17b45adf5
assign helper full name to variable to reduce code length
2018-05-28 23:39:36 +02:00
Gabriel Mazetto
78d25079f5
Extracted auxiliary methods from storage.rake into specific RakeHelper
2018-05-28 23:39:35 +02:00
Rémy Coutable
cc570b6c44
Merge branch '46600-fix-gitlab-revision-when-not-in-git-repo' into 'master'
...
Resolve "gitlab 10.8 assumes that installation is a git working copy."
Closes #46600
See merge request gitlab-org/gitlab-ce!19125
2018-05-25 13:32:49 +00:00
Stan Hu
e6fca03bbd
Fix backup creation and restore for specific Rake tasks
2018-05-24 14:58:25 +00:00
Rémy Coutable
d50a80a282
Replace Gitlab::REVISION with Gitlab.revision and handle installations without a .git directory
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-24 10:14:01 +02:00
blackst0ne
a17bff2044
Clean up test.rake
2018-05-14 18:53:57 +11:00
Jacob Vosmaer (GitLab)
7da1b4cbf1
Add gitlab-pages admin ping rake task
2018-04-27 11:01:54 +00:00
Zeger-Jan van de Weg
ec4423665c
Gitlab::Shell works on shard name, not path
...
Direct disk access is done through Gitaly now, so the legacy path was
deprecated. This path was used in Gitlab::Shell however. This required
the refactoring in this commit.
Added is the removal of direct path access on the project model, as that
lookup wasn't needed anymore is most cases.
Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-04-25 13:36:22 +02:00
Zeger-Jan van de Weg
bbccd31057
Check Gitaly when running `rake dev:setup`
...
Before this change, trying to setup dev environment could be tried
without having at least one Gitaly running. Cloning the repositories
would fail, but not stop the setup.
Given this would lead to an inconsistent state, a check was added if we
could connect to the server.
Output when it fails:
```
$ rake dev:setup
Failed to connect to Gitaly...
Error: 14:Connect Failed
```
2018-04-19 10:40:28 +02:00
🙈 jacopo beschi 🙉
c6b1043e9d
Resolve "Make a Rubocop that forbids returning from a block"
2018-04-18 09:19:40 +00:00
Lin Jen-Shin
b3723fe28e
Use gitlab_environment because we need:
...
* ask_to_continue
* Gitlab::TaskAbortedByUserError
2018-04-03 23:00:09 +08:00
Micaël Bergeron
4f24a65e45
fix the rake task from being to strict about Group
2018-04-02 08:19:34 -04:00
Micaël Bergeron
316eb6ef60
apply feedback
2018-03-30 08:39:12 -04:00
Micaël Bergeron
ef10679418
fix rake migration task from ignoring Upload(store: nil)
2018-03-29 11:05:05 -04:00
Sean McGivern
835fe4d324
Merge branch '40781-os-to-ce' into 'master'
...
Bring Object Storage to CE
Closes #4171 , #4163 , #3370 , #2841 , and #29203
See merge request gitlab-org/gitlab-ce!17358
2018-03-27 08:20:03 +00:00
Sean McGivern
bb9d360c0a
Merge branch 'mark-legacy-git-access' into 'master'
...
Route path lookups through legacy_disk_path
See merge request gitlab-org/gitlab-ce!17743
2018-03-23 10:20:45 +00:00
Micaël Bergeron
764b5fdd16
Backport EE changes
2018-03-22 13:35:42 -04:00
Micaël Bergeron
9c6663ea07
Merge remote-tracking branch 'origin/master' into 40781-os-to-ce
2018-03-22 09:06:10 -04:00
Jacob Vosmaer
008a6a6ce6
Route path lookups through legacy_disk_path
2018-03-21 18:18:32 +01:00
Zeger-Jan van de Weg
77f0906e4c
Change Gitlab::Shell#add_namespace to #create_namespace
...
Prior to this change, this method was called add_namespace, which broke
the CRUD convention and made it harder to grep for what I was looking
for. Given the change was a find and replace kind of fix, this was
changed without opening an issue and on another feature branch.
If more dynamic calls are made to add_namespace, these could've been
missed which might lead to incorrect bahaviour. However, going through
the commit log it seems thats not the case.
2018-03-14 09:56:22 +01:00
Micaël Bergeron
f7b8ae3fe2
apply feedback
2018-03-09 10:31:31 -05:00
Gabriel Mazetto
9b5e4ecc55
Add rake task to cleanup any existing exclusive lease
2018-03-09 13:32:18 +00:00
Micaël Bergeron
6466739e2e
Merge remote-tracking branch 'origin/master' into 40781-os-to-ce
2018-03-08 10:55:47 -05:00
Sean McGivern
edbcde8877
[cherry-pick] '4862-verify-file-checksums'
...
See merge request gitlab-org/gitlab-ee!4753
2018-03-08 10:20:40 -05:00
Nick Thomas
4419d7ea1f
Implement foreground verification of CI artifacts
2018-03-07 17:28:15 +00:00
Shinya Maeda
335bc0fec0
Integrate two workers into one ArchiveTraceWorker with pipeline_background queue. This queue takes loqer precedence than pipeline_default.
2018-03-06 21:44:15 +09:00
Shinya Maeda
824af79d64
Fix rake task to use corrrect SQL
2018-03-06 21:43:19 +09:00
Shinya Maeda
c645d40a56
Use find_in_batches for rake task
2018-03-06 21:43:19 +09:00
Shinya Maeda
32c1501d69
Add rake task. Adopt the latest fix. Drop CreateTraceArtifactService
2018-03-06 21:43:19 +09:00
Nick Thomas
6f945f20b4
Foreground verification of uploads and LFS objects
2018-03-02 14:16:17 +00:00
Micaël Bergeron
a8df653fae
another round of fixes
2018-03-01 10:36:24 -05:00
Kamil Trzciński
a2f375e8f7
Merge remote-tracking branch 'origin/master' into object-storage-ee-to-ce-backport
2018-02-28 21:28:43 +01:00
Kamil Trzciński
729391fbfc
Merge commit '8af23def1d6' into object-storage-ee-to-ce-backport
2018-02-28 21:11:53 +01:00
Sean McGivern
a7dae52e9d
Merge branch '4163-move-uploads-to-object-storage' into 'master'
...
Move uploads to object storage
Closes #4163
See merge request gitlab-org/gitlab-ee!3867
2018-02-28 20:58:15 +01:00
Kamil Trzciński
45d2c31643
Merge commit '4b92efd90cedaa0aff218d11fdce279701128bea' into object-storage-ee-to-ce-backport
2018-02-28 20:46:53 +01:00