summaryrefslogtreecommitdiff
path: root/spec/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'fix-backup-spec-regexp' into 'master'Douwe Maan2015-04-031-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve regexp to prevent false positives If a filename happened to contain "db" and enough "rwx" characters before, then this test would previously fail. For example: ``` drwxr-xr-x gitlab-runner/gitlab-runner 0 2015-04-02 07:46 uploads/tmp/cassidy.stokes8477/gitlabhq/36d972fa55d6b44810fc6fd843473adb/ ``` Adding a space before the "db" match string tightens up the regexp and reduces the chance of an unintended match. See merge request !489
| * Improve regexp to prevent false positivesStan Hu2015-04-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | If a filename happened to contain "db" and enough "rwx" characters before, then this test would previously fail. For example: ``` drwxr-xr-x gitlab-runner/gitlab-runner 0 2015-04-02 07:46 uploads/tmp/cassidy.stokes8477/gitlabhq/36d972fa55d6b44810fc6fd843473adb/ ``` Adding a space before the "db" match string tightens up the regexp and reduces the chance of unintended match.
* | ability to skip some items in backupbackup_skip_optionValery Sizov2015-04-021-0/+51
|/
* Don't use chmod_R for backup tarsVinnie Okada2015-03-281-1/+1
| | | | | When creating backup tar files, only change permissions on the `db`, `uploads`, and `repositories` directories, not their contents.
* Change permissions on backup filesVinnie Okada2015-03-171-7/+56
| | | | | Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files.
* Revert "Merge branch 'backup-permissions' into 'master'"Dmitriy Zaporozhets2015-03-161-43/+7
| | | | | This reverts commit c42262b43b009af990e5769840391862d64a1c2d, reversing changes made to c6586b1283a94c8f08bc669f4d8a9384b263073e.
* Change permissions on backup filesVinnie Okada2015-03-151-7/+43
| | | | | Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files.
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-122-6/+6
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Add rake task for google schema whitelisting.Marin Jankovski2014-12-041-0/+27
|
* Make backup version blocker test more robustJacob Vosmaer2014-02-281-1/+1
| | | | | Assuming that VERSION != VERSION.reverse is not robust. This will fail at e.g. version 6.6.6.
* Use VERSION contanst in backup specsJacob Vosmaer2014-02-281-1/+1
|
* Fix deprecation in specsAndrew Kumanyaev2014-01-151-1/+6
| | | From https://github.com/gitlabhq/gitlabhq/pull/6053
* Revert "Fix deprecation in specs"Dmitriy Zaporozhets2014-01-141-1/+1
| | | | This reverts commit 414ead57ee294618e73ef62f521b11d98fdce3a0.
* Fix deprecation in specsAndrew Kumanyaev2014-01-141-1/+1
| | | DEPRECATION: `expect { }.not_to raise_error(SpecificErrorClass)` is deprecated. Use `expect { }.not_to raise_error` (with no args) instead. Called from /home/travis/build/gitlabhq/gitlabhq/spec/tasks/gitlab/backup_rake_spec.rb:42:in `block (4 levels) in <top (required)>'.
* Fix typosJohannes Schleifenbaum2013-07-291-1/+1
|
* Replace old hashes with new 1.9 ruby hashes (rebase)Andrey Kumanyaev2013-05-051-5/+5
|
* Fix routing issues when navigating over tree, commits etcDmitriy Zaporozhets2012-12-251-0/+1
|
* Fixed testsDmitriy Zaporozhets2012-12-211-4/+4
|
* Stub for Dir.chdir as it is not neededHugo Duksis2012-11-201-0/+1
|
* tests for issue #1984Hugo Duksis2012-11-191-0/+45