Dmitriy Zaporozhets
b8f12d1917
Replace GITLAB with GitLab in rake task descriptions
2015-06-23 16:52:40 +02:00
Dmitriy Zaporozhets
12e0998635
Refactor rake tasks for tests
2015-06-23 16:48:52 +02:00
zenati
b0de6e9ae2
An in_namespace scope is already present
2015-06-09 13:42:01 +02:00
Dmitriy Zaporozhets
e063c8f3e2
Merge branch 'trigger_hooks_create_on_backup_restore' into 'master'
...
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
2015-06-04 14:46:24 +00:00
Marin Jankovski
a1be236c87
Trigger hooks-create on gitlab backup restore.
2015-06-03 16:24:37 +02:00
Marin Jankovski
7044d649a3
Add autocrlf back to installation docs, add a check for it.
2015-06-03 15:42:22 +02:00
Marin Jankovski
5f7d6c7d74
Remove gitlab:env:check task.
2015-06-03 11:26:57 +02:00
Robert Speicher
330c25385b
Update jasmine:ci task to use teaspoon
2015-05-28 18:22:33 -04:00
Fotis Gimian and Jeroen van Baarsen
d74673fd43
Ensure that the first added admin performs repository imports
2015-05-15 13:01:10 +02:00
Dmitriy Zaporozhets
ff13fb0ab5
Merge branch 'brakeman-level'
...
Conflicts:
lib/tasks/brakeman.rake
2015-05-12 13:21:11 +03:00
Jacob Vosmaer
cae978a9e8
We would like to pass 'brakeman -w2'
2015-05-11 18:11:09 +02:00
Jacob Vosmaer
0a47d8f3f4
Follow shell command guidelines in Brakeman task
...
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 .
2015-05-11 11:11:03 +02:00
Dmitriy Zaporozhets
6c32abc5f7
Merge branch 'rs-task_list' into 'master'
...
Use task_list gem for task lists
Task Lists can now be used in comments, and they'll render in previews. 👏
Closes internal https://dev.gitlab.org/gitlab/gitlabhq/issues/2271
See merge request !599
2015-05-08 09:39:48 +00:00
Robert Speicher
0a99e6e2fa
Remove 'jasmine' gem
...
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.
2015-05-06 15:31:24 -04:00
Dmitriy Zaporozhets
317ed1fa90
Revert "Allow to configure smtp and sendmail in gitlab.yml"
2015-05-06 17:39:18 +03:00
Jakub Jirutka
b4be7aed77
Allow to configure smtp and sendmail in gitlab.yml
2015-05-06 13:15:33 +02:00
jubianchi
3070b2cfc7
Add a rake task to automatically restart foreman when changes occur
2015-04-27 21:32:41 +02:00
tonic
2e34b7aab5
fix redis 3.0.0
2015-04-25 21:46:10 +08:00
Vinnie Okada
acd80bdc2d
Add new rake task
...
Add a task that checks repository integrity with `git fsck`.
2015-04-15 22:22:20 -06:00
Valery Sizov
67c83489ca
ability to skip some items in backup
2015-04-02 15:37:50 +03:00
Dmitriy Zaporozhets
3371e40bd4
Include brakeman in rake test
2015-03-29 18:55:18 -07:00
Andrew Tomaka
6c8b119263
Fix newline spacing after authorized_keys rebuild
2015-03-20 13:43:52 -04:00
Dmitriy Zaporozhets
14846c044a
Merge branch 'bugfix/block_ldap_users_cronjob' into 'master'
...
Fixed rake task gitlab:cleanup:block_removed_ldap_users
Maybe not the most elegant solution, but it works for us.
This closes issue gitlab-org/gitlab-ce#955.
See merge request !338
2015-03-19 21:09:25 +00:00
Dmitriy Zaporozhets
b617455d2d
Dont exit from brakeman rake task
2015-03-19 08:37:21 -07:00
Zeger-Jan van de Weg
67f55d9b25
Let the server fix unconfigured git
2015-03-16 16:28:20 +01:00
Dmitriy Zaporozhets
ae7e380632
Add active users to gitlab:check
2015-03-10 12:03:04 -07:00
Dmitriy Zaporozhets
be165b18d0
Add brakeman and jasmine
2015-03-02 18:22:37 -08:00
Dmitriy Zaporozhets
16e899ca8b
Add brakeman rake task and improve code security
2015-03-02 18:11:50 -08:00
Dmitriy Zaporozhets
cc877c53ab
Add rake task for brakeman
2015-03-02 17:41:05 -08:00
Daniel Steinborn
880fb9eac0
fixed rake task to block removed ldap users
2015-02-16 10:00:25 +01:00
Dmitriy Zaporozhets
655fbc6bdd
Dont load rubocop in prod env
2015-02-03 19:25:57 -08:00
Dmitriy Zaporozhets
84a5a548a5
Add rubocop to rake test and rake test_ci
2015-02-02 20:08:23 -08:00
Dmitriy Zaporozhets
b21565f18d
Fix semaphore spinach tags
2015-01-29 23:28:38 -08:00
Dmitriy Zaporozhets
23c31a0b12
Skip tricky test for semaphore
2015-01-29 23:06:43 -08:00
Dmitriy Zaporozhets
d960b9aea2
Merge branch 'master' into 'master'
...
print validation errors when gitlab-rake gitlab:import:repos fails for project
Currently, when gitlab-rake gitlab:import:repos is not able to import a project it justs prints "Failed trying to create project" to the console. There seems to be no way to find out what exactly has failed. Since the check uses validation, it should at least print the validation issues. That might be a bit cryptic, but may be better than leaving the user in the dark completely.
See merge request !147
2015-01-20 05:03:22 +00:00
Dmitriy Zaporozhets
c5ba87a2fb
Merge pull request #8096 from cirosantilli/regex-to-string
...
Replace regex methods by string ones since faster and more readable
2015-01-15 14:37:11 -08:00
Sytse Sijbrandij
f8b97b454b
Make view link come first so I don't have to mouse to the end of the email line.
2015-01-14 21:12:16 -08:00
Ciro Santilli
cd688a6011
Replace regex methods by string ones since faster
...
and more readable.
2014-12-28 23:53:27 +01:00
Marin Jankovski
18d9172edc
Use a different name of the method to check if sanitize is enabled in check task.
2014-12-22 10:03:52 +01:00
Robert Schilling
f7f56e4a0b
Merge pull request #8256 from cirosantilli/rm-unused-has_gitlab_shell3
...
Remove unused has_gitlab_shell3? method
2014-12-21 10:15:34 +01:00
Marin Jankovski
e5951cf4ae
Don't forget to splat.
2014-12-12 10:42:55 +01:00
Marin Jankovski
bd43cf0653
Use system where only return result is needed.
2014-12-12 10:17:07 +01:00
Marin Jankovski
cd4c65c159
Use shell invocation according to the shell commands guidelines.
2014-12-11 13:17:43 +01:00
Marin Jankovski
cdc62cffcb
Add rake task for google schema whitelisting.
2014-12-04 15:22:10 +01:00
Jacob Vosmaer
458f8c1f80
Explain why we create a StringIO
2014-11-20 15:54:39 +01:00
Jacob Vosmaer
7c54c63ac1
Add CRON=1 backup setting for quiet backups
2014-11-20 15:46:04 +01:00
Dmitriy Zaporozhets
f7bf892cca
Revert "gitlab shell works if multiple rubies installed"
...
This reverts commit 533f4cdf30 .
2014-11-18 17:14:36 +02:00
Ciro Santilli
533f4cdf30
gitlab shell works if multiple rubies installed
...
Before this it would fail because git hooks automatically prepend
things to the path, which can lead the wrong Ruby version to be called
in which dependencies are not installed.
To make sure that this is correct, the forked_merge_requests commented
out test that depends on this change was uncommented.
For that test to pass, it is also necessary to setup the mock server
on port 3001 under test_env.rb.
2014-11-18 11:38:23 +01:00
Jacob Vosmaer
dfcc59a92b
Merge pull request #8291 from MrMarvin/fix/ldap_cleanup_task
...
fixes the `block_removed_ldap_users` rake task
2014-11-12 13:40:36 +01:00
Valery Sizov
1a7e347635
Merge remote-tracking branch 'origin/master' into backup_restore_drop_sequences
...
Conflicts:
CHANGELOG
2014-11-12 13:14:13 +02:00