summaryrefslogtreecommitdiff
path: root/spec/tasks/gitlab/backup_rake_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added backup of container registryKamil Trzcinski2016-05-161-5/+9
|
* Ensure uploads dir exists when running backup specstests/isolate-carrierwave-uploadsGrzegorz Bizon2016-03-301-0/+4
|
* Reload the schema before restoring a database backupDrew Blessing2016-03-211-18/+22
|
* Add lfs to backup specs.lfs_default_and_backupMarin Jankovski2015-11-191-5/+9
|
* Specs that failed before the fix.Marin Jankovski2015-11-181-1/+2
|
* Implement Build ArtifactsKamil Trzcinski2015-11-101-5/+9
| | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
* One more backup spec fixJacob Vosmaer2015-10-061-0/+1
| | | | Stop the 'uploads' part from actually running.
* Spec fixes for new backup contentsJacob Vosmaer2015-10-061-7/+7
|
* Fix rubocop warnings in spec/lib and spec/tasksGuilherme Garnier2015-10-031-1/+1
|
* Fix backup testsKamil Trzcinski2015-09-161-2/+2
|
* Fix: tasks/gitlab/backup_rake_spec.rbKamil Trzcinski2015-09-151-3/+3
|
* Cleanup CI backup => migrate with GitLabKamil Trzcinski2015-09-151-0/+4
|
* Use a separate backup test directory and nuke its contentsJacob Vosmaer2015-07-241-6/+4
|
* Create more backups during backup testsJacob Vosmaer2015-07-241-13/+11
| | | | I hope this makes the backup tests more reliable.
* Use a loop when enabling subtasksJacob Vosmaer2015-07-101-3/+3
|
* Remove rake task re-enabling into a methodJacob Vosmaer2015-07-091-6/+8
|
* More hacks to get the specs working againJacob Vosmaer2015-07-081-0/+3
|
* Add tests for custom backup archive file permissionsJacob Vosmaer2015-07-071-4/+27
|
* Fix rubocop issues after merge of recent masterDmitriy Zaporozhets2015-06-231-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Change `to_not` calls to `not_to`Robert Speicher2015-06-221-1/+1
| | | | Both work, but now we're consistent across the entire app.
* Update mock and stub syntax for specsRobert Speicher2015-06-221-17/+21
|
* 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-121-5/+5
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* 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