summaryrefslogtreecommitdiff
path: root/lib/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upgrade-redis-required-check' into 'master'Marin Jankovski2015-09-071-3/+6
|\ | | | | | | | | | | | | | | | | | | Upgrade Redis requirement check to 2.4.0 per https://github.com/mperham/sidekiq/pull/957 Closes #2222 Closes #2445 See merge request !1251
| * Upgrade Redis requirement check to 2.4.0 per ↵Stan Hu2015-09-061-4/+7
| | | | | | | | | | | | | | | | https://github.com/mperham/sidekiq/pull/957 Closes #2222 Closes #2445
* | Use File.join to prevent extra slash in help message from appearing. Before:Stan Hu2015-09-061-2/+2
|/ | | | | | | ``` Try fixing it: sudo -u git -H /opt/gitlab/embedded/service/gitlab-shell//bin/create-hooks ```
* Fix `rake services:doc` generationStan Hu2015-09-031-3/+3
| | | | [ci skip]
* Drone CI serviceKirilll Zaitsev2015-09-021-0/+89
|
* Merge branch 'reply-by-email' into 'master'Robert Speicher2015-08-221-0/+169
|\ | | | | | | | | | | | | | | | | | | Reply by email Fixes #1360. It's far from done, but _it works_. See merge request !1173
| * Fix check task for development.Douwe Maan2015-08-211-2/+2
| |
| * Add development section to doc.Douwe Maan2015-08-211-2/+26
| |
| * Fix MailRoom running check.Douwe Maan2015-08-201-3/+3
| |
| * Add gitlab:reply_by_email:check rake task.Douwe Maan2015-08-201-0/+145
| |
* | Merge pull request #9535 from bbodenmiller/patch-3Jacob Vosmaer2015-08-211-0/+52
|\ \ | |/ |/| check upload dir permissions
| * check uploads dirBen Bodenmiller2015-08-161-0/+52
| | | | | | | | | | | | | | Detect issues with uploads dir, e.g. permission and ownership issues with the users uploads dir. This helps troubleshoot and correct gitlab-org/omnibus-gitlab#311. Fixes gitlabhq#7500, gitlabhq#7052. Related to gitlabhq#6281.
* | Merge branch 'remove-satellites'Dmitriy Zaporozhets2015-08-192-95/+0
|\ \ | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * \ Merge branch 'master' into remove-satellitesDmitriy Zaporozhets2015-08-171-1/+1
| |\ \ | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets2015-08-112-95/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
* | | | Fix gitlab:env:info rake task.fix-rake-infoDouwe Maan2015-08-171-2/+1
| |/ / |/| |
* | | Require Ruby 2.1.0 in `gitlab:app:check` taskRobert Speicher2015-08-151-1/+1
|/ / | | | | | | [ci skip]
* | Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets2015-08-112-0/+95
|/ | | | | | | This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge branch 'master' into drop-satellitesDmitriy Zaporozhets2015-08-044-79/+26
|\ | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * Merge branch 'fix-rake-check-hooks' into 'master'Jacob Vosmaer2015-07-301-4/+4
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that hooks directory exists before attempting to call realpath This MR checks that the hooks directories actually exist before attempting to resolve their `realpath`. Users who attempted to restore from source to an omnibus installation would get ugly errors when running `gitlab-rake gitlab:check`: ``` Errno::ENOENT: No such file or directory @ realpath_rec - /var/opt/gitlab/git-data/repositories/Wanda/www.git/hooks /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:488:in `realpath' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:488:in `block in check_repos_hooks_directory_is_link' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:52:in `block (2 levels) in find_each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:52:in `each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:52:in `block in find_each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:126:in `find_in_batches' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/relation/batches.rb:51:in `find_each' /opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activerecord-4.1.11/lib/active_record/querying.rb:9:in `find_each' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:482:in `check_repos_hooks_directory_is_link' /opt/gitlab/embedded/service/gitlab-rails/lib/tasks/gitlab/check.rake:343:in `block (3 levels) in <top (required)>' Tasks: TOP => gitlab:check => gitlab:gitlab_shell:check ``` Closes #2121 #2082 See merge request !1068
| | * Check that hooks directory exists before attempting to call realpathStan Hu2015-07-301-4/+4
| | | | | | | | | | | | Closes #2121
| * | Check that project was actually created rather than just validated in ↵Stan Hu2015-07-291-2/+2
| |/ | | | | | | | | | | | | | | | | import:repos task Add gitlab-shell to error message to give user a clue that something may be wrong there. Ran into this in #2082. User was told that repositories were created when they were not due to hooks symlink being wrong.
| * Add rake task 'gitlab:update_commit_count'Daniel Gerhardt2015-07-241-0/+20
| | | | | | | | | | | | | | | | | | | | | | Starting with migration `20150717130904` commit count is stored in the database. For existing projects it defaults to `0` and is updated to the correct value when commits are pushed. The newly introduced rake task updates the commit count for all projects which have not been updated yet. Refs !986, !989, #2040.
| * Remove docs and rake task for gmail actions to prevent problems with ↵changes_for_gmail_inbox_actionsMarin Jankovski2015-07-221-73/+0
| | | | | | | | registration.
* | Remove satellitesDmitriy Zaporozhets2015-07-152-95/+0
|/
* use teaspoon instead of jasmine for testing javascriptFrancesco Coda Zabetta2015-07-081-1/+1
|
* Use native Postgres database cleaning during backup restoreJacob Vosmaer2015-07-072-20/+0
| | | | | | We were using hacks to drop tables etc during a Postgres backup restore. With this change, we let pg_dump insert the DROP TABLE statements it needs at the start of the SQL dump.
* Use teaspoon instead of jasmine:ciDmitriy Zaporozhets2015-07-031-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove jasmine:ci task, execute teaspoon directly on CIrs-update-gitlab-ciRobert Speicher2015-06-281-12/+0
|
* Replace GITLAB with GitLab in rake task descriptionsDmitriy Zaporozhets2015-06-2319-37/+37
|
* Refactor rake tasks for testsDmitriy Zaporozhets2015-06-232-28/+24
|
* An `in_namespace` scope is already presentzenati2015-06-092-3/+3
|
* Merge branch 'trigger_hooks_create_on_backup_restore' into 'master'Dmitriy Zaporozhets2015-06-041-0/+3
|\ | | | | | | | | | | | | | | | | | | Trigger hooks create on backup restore Number of users migrating from installation from source to omnibus get this issue. This can be fixed with a bash one liner but we already have a script that creates hooks in gitlab-shell. Added to gitlab:shell:install task call to `bin/create-hooks`. This script is idempotent which means it will only rewrite hooks if something changed. Fixes https://dev.gitlab.org/gitlab/gitlabhq/issues/2208, https://github.com/gitlabhq/gitlabhq/issues/9101 and for the most part https://github.com/gitlabhq/gitlabhq/issues/8161 See merge request !762
| * Trigger hooks-create on gitlab backup restore.Marin Jankovski2015-06-031-0/+3
| |
* | Add autocrlf back to installation docs, add a check for it.Marin Jankovski2015-06-032-2/+33
| |
* | Remove gitlab:env:check task.remove_unecessary_rake_taskMarin Jankovski2015-06-031-54/+1
|/
* Update jasmine:ci task to use teaspoonRobert Speicher2015-05-281-1/+1
|
* Ensure that the first added admin performs repository importsFotis Gimian2015-05-151-1/+1
|
* Merge branch 'brakeman-level'Dmitriy Zaporozhets2015-05-121-0/+2
|\ | | | | | | | | Conflicts: lib/tasks/brakeman.rake
| * We would like to pass 'brakeman -w2'Jacob Vosmaer2015-05-111-0/+2
| |
* | Follow shell command guidelines in Brakeman taskJacob Vosmaer2015-05-111-1/+1
|/ | | | | | There is no real issue here because the shell command is completely static, but it is still nicer to just follow the guidelines in doc/development/shell_commands.md .
* Merge branch 'rs-task_list' into 'master'Dmitriy Zaporozhets2015-05-081-0/+12
|\ | | | | | | | | | | | | | | | | | | Use task_list gem for task lists Task Lists can now be used in comments, and they'll render in previews. :clap: Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271 See merge request !599
| * Remove 'jasmine' gemRobert Speicher2015-05-061-0/+12
| | | | | | | | | | | | jasmine-rails still requires it as a dependency, but for some reason running `rake jasmine:ci` produced test failures but `rake spec:javascript` didn't.
* | Revert "Allow to configure smtp and sendmail in gitlab.yml"Dmitriy Zaporozhets2015-05-061-1/+1
|/
* Allow to configure smtp and sendmail in gitlab.ymlJakub Jirutka2015-05-061-1/+1
|
* Add a rake task to automatically restart foreman when changes occurjubianchi2015-04-271-0/+5
|
* fix redis 3.0.0tonic2015-04-251-1/+2
|
* Add new rake taskVinnie Okada2015-04-151-0/+17
| | | | Add a task that checks repository integrity with `git fsck`.
* ability to skip some items in backupbackup_skip_optionValery Sizov2015-04-021-9/+24
|
* Include brakeman in rake testDmitriy Zaporozhets2015-03-291-0/+1
|