Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Don't allow to specify a repo or version when installing Workhorseremove-gitlab-workhorse-version-option-from-install-task | Rémy Coutable | 2016-12-01 | 1 | -26/+0 |
| | | | | | | The task will use the canonical repo and the required version. Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Merge branch '23718/backup-rake-task-human-readable' into 'master' | Douwe Maan | 2016-12-01 | 1 | -0/+31 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23718/backup rake task human readable ## What does this MR do? Add the human readable format to the backup tar file. From `1477317140_gitlab_backup.tar` to `1477317140_2016_10_24_gitlab_backup.tar`. ## Are there points in the code the reviewer needs to double check? ## Why was this MR needed? #23718 issue ## Screenshots (if relevant) ## Does this MR meet the acceptance criteria? - [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG.md) entry added - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) - [x] API support added - Tests - [x] Added for this feature/bug - [x] All builds are passing - [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html) - [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides) - [x] Branch has no merge conflicts with `master` (if it does - rebase it please) - [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits) ## What are the relevant issue numbers? 23718 See merge request !7188 | ||||
| * | Add Human Readable Timestamp to backup tar file | David Gerő | 2016-11-30 | 1 | -0/+31 |
| | | |||||
* | | Move task helpers to a module22719-provide-a-new-gitlab-workhorse-install-rake-task-similar-to-gitlab-shell-install | Rémy Coutable | 2016-11-30 | 5 | -56/+55 |
| | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | | Add #run_command! to task helpers to raise a TaskFailedError if status is not 0 | Rémy Coutable | 2016-11-30 | 2 | -15/+15 |
| | | | | | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | | New `gitlab:workhorse:install` rake task | Rémy Coutable | 2016-11-30 | 2 | -0/+204 |
|/ | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Introduce better credential and error checking to `rake gitlab:ldap:check` | Drew Blessing | 2016-11-08 | 1 | -0/+51 |
| | | | | | | | It was previously possible for invalid credential errors to go unnoticed in this task. Users would believe everything was configured correctly and then sign in would fail with 'invalid credentials'. This adds a specific bind check, plus catches errors connecting to the server. Also, specs :) | ||||
* | Add Rake task to create/repair GitLab Shell hooks symlinks | Drew Blessing | 2016-11-01 | 1 | -0/+26 |
| | |||||
* | Backups do not fail anymore when using tar on annex and custom_hooks | tiagonbotelho | 2016-10-27 | 1 | -1/+73 |
| | | | | only. | ||||
* | fixes build with cache:clear issue | tiagonbotelho | 2016-10-24 | 1 | -0/+1 |
| | |||||
* | Add a new gitlab:users:clear_all_authentication_tokens task | Rémy Coutable | 2016-10-11 | 1 | -0/+38 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Use `File::exist?` instead of `File::exists?` | bogdanvlviv | 2016-08-11 | 1 | -1/+1 |
| | | | | Since version ruby-2.2.0, method `File::exists?` is deprecated. | ||||
* | adds second batch of tests changed to active tenseactive-tense-test-coverage | tiagonbotelho | 2016-08-09 | 2 | -11/+11 |
| | |||||
* | Enable Style/EmptyLines cop, remove redundant onesrubocop/enable-cops-for-empty-lines | Grzegorz Bizon | 2016-07-01 | 1 | -1/+0 |
| | |||||
* | Refactor repository paths handling to allow multiple git mount points | Alejandro Rodríguez | 2016-06-29 | 1 | -45/+85 |
| | |||||
* | Switch the gitlab:db:configure task to use tables.any? instead of looking ↵ | DJ Mountney | 2016-05-25 | 1 | -3/+3 |
| | | | | specifically for the schema_migrations table | ||||
* | Add tests for the gitlab:db:configure rake task | DJ Mountney | 2016-05-25 | 1 | -0/+62 |
| | |||||
* | Fix backups if registry is disabled | Kamil Trzcinski | 2016-05-23 | 1 | -0/+18 |
| | |||||
* | Added backup of container registry | Kamil Trzcinski | 2016-05-16 | 1 | -5/+9 |
| | |||||
* | Ensure uploads dir exists when running backup specstests/isolate-carrierwave-uploads | Grzegorz Bizon | 2016-03-30 | 1 | -0/+4 |
| | |||||
* | Reload the schema before restoring a database backup | Drew Blessing | 2016-03-21 | 1 | -18/+22 |
| | |||||
* | Add lfs to backup specs.lfs_default_and_backup | Marin Jankovski | 2015-11-19 | 1 | -5/+9 |
| | |||||
* | Specs that failed before the fix. | Marin Jankovski | 2015-11-18 | 1 | -1/+2 |
| | |||||
* | Implement Build Artifacts | Kamil Trzcinski | 2015-11-10 | 1 | -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 fix | Jacob Vosmaer | 2015-10-06 | 1 | -0/+1 |
| | | | | Stop the 'uploads' part from actually running. | ||||
* | Spec fixes for new backup contents | Jacob Vosmaer | 2015-10-06 | 1 | -7/+7 |
| | |||||
* | Fix rubocop warnings in spec/lib and spec/tasks | Guilherme Garnier | 2015-10-03 | 1 | -1/+1 |
| | |||||
* | Fix backup tests | Kamil Trzcinski | 2015-09-16 | 1 | -2/+2 |
| | |||||
* | Fix: tasks/gitlab/backup_rake_spec.rb | Kamil Trzcinski | 2015-09-15 | 1 | -3/+3 |
| | |||||
* | Cleanup CI backup => migrate with GitLab | Kamil Trzcinski | 2015-09-15 | 1 | -0/+4 |
| | |||||
* | Use a separate backup test directory and nuke its contents | Jacob Vosmaer | 2015-07-24 | 1 | -6/+4 |
| | |||||
* | Create more backups during backup tests | Jacob Vosmaer | 2015-07-24 | 1 | -13/+11 |
| | | | | I hope this makes the backup tests more reliable. | ||||
* | Use a loop when enabling subtasks | Jacob Vosmaer | 2015-07-10 | 1 | -3/+3 |
| | |||||
* | Remove rake task re-enabling into a method | Jacob Vosmaer | 2015-07-09 | 1 | -6/+8 |
| | |||||
* | More hacks to get the specs working again | Jacob Vosmaer | 2015-07-08 | 1 | -0/+3 |
| | |||||
* | Add tests for custom backup archive file permissions | Jacob Vosmaer | 2015-07-07 | 1 | -4/+27 |
| | |||||
* | Fix rubocop issues after merge of recent master | Dmitriy Zaporozhets | 2015-06-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Change `to_not` calls to `not_to` | Robert Speicher | 2015-06-22 | 2 | -2/+2 |
| | | | | Both work, but now we're consistent across the entire app. | ||||
* | Update mock and stub syntax for specs | Robert Speicher | 2015-06-22 | 1 | -17/+21 |
| | |||||
* | Merge branch 'fix-backup-spec-regexp' into 'master' | Douwe Maan | 2015-04-03 | 1 | -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 positives | Stan Hu | 2015-04-02 | 1 | -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_option | Valery Sizov | 2015-04-02 | 1 | -0/+51 |
|/ | |||||
* | Don't use chmod_R for backup tars | Vinnie Okada | 2015-03-28 | 1 | -1/+1 |
| | | | | | When creating backup tar files, only change permissions on the `db`, `uploads`, and `repositories` directories, not their contents. | ||||
* | Change permissions on backup files | Vinnie Okada | 2015-03-17 | 1 | -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 Zaporozhets | 2015-03-16 | 1 | -43/+7 |
| | | | | | This reverts commit c42262b43b009af990e5769840391862d64a1c2d, reversing changes made to c6586b1283a94c8f08bc669f4d8a9384b263073e. | ||||
* | Change permissions on backup files | Vinnie Okada | 2015-03-15 | 1 | -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 syntax | Jeroen van Baarsen | 2015-02-12 | 2 | -6/+6 |
| | | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | ||||
* | Add rake task for google schema whitelisting. | Marin Jankovski | 2014-12-04 | 1 | -0/+27 |
| | |||||
* | Make backup version blocker test more robust | Jacob Vosmaer | 2014-02-28 | 1 | -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 specs | Jacob Vosmaer | 2014-02-28 | 1 | -1/+1 |
| |