summaryrefslogtreecommitdiff
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵redis-config-parserJacob Vosmaer2016-03-101-0/+121
|\ | | | | | | redis-config-parser
| * Merge branch 'rs-sprite-task' into 'master' Dmitriy Zaporozhets2016-03-091-0/+121
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `gemojione:sprite` Rake task This task will generate a standard and Retina sprite of all of the current Gemojione Emojis, with the accompanying SCSS map. It will not appear in `rake -T` output, and the dependent gems are not included in the Gemfile by default, because this task will only be needed occasionally. See merge request !3130
| | * Add a `gemojione:sprite` Rake taskRobert Speicher2016-03-091-0/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This task will generate a standard and Retina sprite of all of the current Gemojione Emojis, with the accompanying SCSS map. It will not appear in `rake -T` output, and the dependent gems are not included in the Gemfile by default, because this task will only be needed occasionally. [ci skip]
* | | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-03-091-28/+34
|\ \ \ | |/ / | | | | | | redis-config-parser
| * | Retry spinach testsKamil Trzcinski2016-03-091-28/+34
| |/
* | Parse config/resque.yml in one place onlyJacob Vosmaer2016-03-091-3/+3
|/
* Reduce progress bar noise during brakeman runPeter Suschlik2016-03-041-1/+1
|
* Merge branch 'mail-room-config-without-rails' into 'master' Douwe Maan2016-03-021-4/+6
|\ | | | | | | | | | | | | | | | | Don't load all of GitLab in mail_room Fixes #12731 cc @jacobvosmaer See merge request !3005
| * Fix `gitlab:incoming_email:check` task.Douwe Maan2016-02-291-4/+6
| |
* | Batch size >1000 does not pay offcomment-batch-sizeJacob Vosmaer2016-02-251-1/+1
|/ | | | | | | | | | | | | | We did a small experiment to see how a full scan of the Redis keys on gitlab.com speeds up as we increase the batch size. The values on the right are time in seconds for a full scan (no delete operations). count: 10); 284.500529021 count: 100); 86.21216934 count: 1_000); 60.931676195 count: 10_000); 60.96355610 count: 100_000); 62.378172541 It looks like 1,000 is a good number.
* Merge branch 'uploads-700' into 'master' revert-53176717Marin Jankovski2016-02-231-6/+7
|\ | | | | | | | | | | | | Restrict permissions on public/uploads Based on https://gitlab.com/gitlab-org/omnibus-gitlab/merge_requests/631 See merge request !2764
| * Simplify permissions creationuploads-700Achilleas Pipinellis2016-02-101-1/+1
| | | | | | | | [ci skip]
| * Restrict permissions on public/uploadsAchilleas Pipinellis2016-02-091-6/+7
| |
* | Improve readability of 'rake cache:clear' coderefactor-scanJacob Vosmaer2016-02-191-6/+5
| |
* | Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Jacob Vosmaer2016-02-181-1/+0
|\ \ | | | | | | | | | cache-clear
| * | Remove remaining sqlite method callAchilleas Pipinellis2016-02-171-1/+0
| | |
* | | Use SCAN during 'rake cache:clear'cache-clearJacob Vosmaer2016-02-181-4/+15
|/ / | | | | | | | | | | This allows 'rake cache:clear' to delete millions of keys without choking. It requires Redis 2.8.0 or newer but we needed that already anyway.
* | Remove sqlite check in raketaskremove_sqlite_checkAchilleas Pipinellis2016-02-101-18/+0
|/
* Prevent StateMachine warnings from outputting during a cron taskRobert Speicher2016-01-151-0/+3
| | | | | | [ci skip] Closes #5931
* Disable colorization if STDOUT is not a ttyRobert Speicher2016-01-121-0/+2
|
* Suggest prefacing find command with sudo when base permissions are wrongStan Hu2016-01-051-1/+1
| | | | Closes #5872
* Merge branch 'add_user_repo_integrity_rake_task' into 'master' Robert Speicher2015-12-151-4/+52
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add user repository integrity check rake task Corrupt repositories and stuck lock files can cause weird issues in GitLab. Often we know which user is having these problems and then we have to go hunt down which repository is causing it. Several times recently that involved me running queries in the rails console to get an array of projects and then writing a quick Ruby script to loop through and run `git fsck`. This last time I also had to check for the existence of `config.lock` and ref lock files. This rake task will eliminate all of those steps and allow an admin to simply specify a username. I also added the lock file checks to the existing `gitlab:repo:check` task which goes through all projects. See merge request !2080
| * [ci skip] Add user repository integrity check rake taskDrew Blessing2015-12-141-4/+52
| |
* | Merge branch 'ci-project-migrate' into 'master' Kamil Trzciński2015-12-141-6/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ci Project migrate - This doesn't migrate: allow_git_fetch, coverage_regex, timeout. Since this are project configuration settings I would propose to migrate them to `.gitlab-ci.yml`. - This requires offline migrations. - It simplifies database models making all CI objects to be attached to: Project. - It removes Ci::Project, but makes /ci/projects working by adding method: Project.find_by_ci_id for backward compatibility (badges, triggers). - We should add default `timeout` to Application Settings. - It misses specs. - It is based on ci-services-migrate for now. - It removes CI events. - It removes administrator CI projects overview. - It removes CI application settings. In 8.4 or 8.5 we can remove redundant tables and columns. See merge request !1987
| * | Migrate CI::Project to ProjectKamil Trzcinski2015-12-111-6/+0
| |/
* | Bump Redis requirement to 2.8 for Sidekiq 4 requirementsStan Hu2015-12-121-1/+1
|/ | | | | | Closes #3649 [ci skip]
* Split up spec:other even moreDouwe Maan2015-12-091-1/+19
|
* Fix rspec tag syntaxDouwe Maan2015-12-091-1/+1
|
* Split up specs moreDouwe Maan2015-12-091-1/+10
|
* Split up feature specs moreDouwe Maan2015-12-091-3/+23
|
* Update project repository size and commit count during import:repos taskStan Hu2015-12-081-0/+2
| | | | Closes #3848
* Merge branch 'sync-all-repos' into 'master' Douwe Maan2015-12-081-0/+17
|\ | | | | | | | | | | | | Sync all repos Scripts and documentation for moving repos, used on gitlab.com. See merge request !1439
| * Detect project and namespace changes in list:reposJacob Vosmaer2015-12-081-3/+4
| |
| * Merge branch 'master' into sync-all-reposJacob Vosmaer2015-12-0814-176/+158
| |\
| * | Add "rake gitlab:list_repos" taskJacob Vosmaer2015-09-251-0/+16
| | |
* | | Merge branch 'master' into rake-tasks-gitZeger-Jan van de Weg2015-12-071-11/+1
|\ \ \ | | |/ | |/|
| * | Remove usage of Coloredrs-update-colorizeRobert Speicher2015-11-241-11/+1
| | |
* | | Merge branch 'master' into rake-tasks-gitZeger-Jan van de Weg2015-11-244-0/+84
|\ \ \ | |/ /
| * | Backup LFS objects same as any upload.Marin Jankovski2015-11-191-0/+21
| | |
| * | Set higher flay value to avoid unnecessary refactoring for nowDmitriy Zaporozhets2015-11-171-1/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Set less strict flay option for nowDmitriy Zaporozhets2015-11-161-1/+1
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Add grape routing printDmitriy Zaporozhets2015-11-121-0/+8
| | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | Merge branch 'flay' into 'master' Dmitriy Zaporozhets2015-11-111-0/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Add flay: tool to find duplicate code Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1789
| | * | Add flay: tool to find duplicate codeflayDmitriy Zaporozhets2015-11-111-0/+9
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Merge branch 'flog' into 'master' Dmitriy Zaporozhets2015-11-111-0/+25
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | Add method complexity check to CI Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> See merge request !1783
| | * | Allow flog failure for nowDmitriy Zaporozhets2015-11-111-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| | * | Add method complexity check to CIflogDmitriy Zaporozhets2015-11-101-0/+24
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Implement Build ArtifactsKamil Trzcinski2015-11-101-0/+21
| |/ / | | | | | | | | | | | | | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* | | Merge branch 'master' into rake-tasks-gitZeger-Jan van de Weg2015-11-115-129/+17
|\ \ \ | |/ /
| * | Replace all usages of `git` command with configurable binary pathrs-git-bin-pathRobert Speicher2015-11-032-6/+6
| | | | | | | | | | | | Closes #3311