Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-cop | Rémy Coutable | 2017-08-09 | 1 | -2/+2 |
| | | | | Signed-off-by: Rémy Coutable <remy@rymai.me> | ||||
* | Rename ensure_dir_exist -> ensure_storage_path_exist | Gabriel Mazetto | 2017-08-01 | 1 | -1/+1 |
| | |||||
* | Rename more path_with_namespace -> full_path or disk_path | Gabriel Mazetto | 2017-08-01 | 1 | -3/+3 |
| | |||||
* | Rename path_with_namespace -> disk_path when dealing with the filesystem | Gabriel Mazetto | 2017-08-01 | 1 | -2/+2 |
| | |||||
* | Rename many path_with_namespace -> full_path | Gabriel Mazetto | 2017-08-01 | 1 | -3/+3 |
| | |||||
* | Protect backups from stale cache for repo exists | Michael Kozono | 2017-07-28 | 1 | -0/+1 |
| | |||||
* | Support custom directory in gitlab:backup:create task | Markus Koller | 2017-07-27 | 1 | -14/+28 |
| | |||||
* | fix typofix/backup-restore-resume | James Lopez | 2017-06-07 | 1 | -1/+1 |
| | |||||
* | fix wiki | James Lopez | 2017-06-07 | 1 | -1/+1 |
| | |||||
* | refactor code and spec | James Lopez | 2017-06-07 | 1 | -25/+21 |
| | |||||
* | fix backup task to ignore errors per project | James Lopez | 2017-06-07 | 1 | -26/+29 |
| | |||||
* | Fix data inconsistency issue for old artifacts by moving them to a currently ↵ | Kamil Trzcinski | 2017-06-01 | 1 | -1/+1 |
| | | | | used path | ||||
* | Fix rubocopfix-backup-raketask | Achilleas Pipinellis | 2017-05-23 | 1 | -1/+0 |
| | |||||
* | Add missing regex to backup manager | Achilleas Pipinellis | 2017-05-23 | 1 | -1/+6 |
| | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/10901/diffs introduced a new naming scheme for backups, but the code which cleans up old backups wasn't updated accordingly. In order to maintain backward compatibility, we need to account for 3 naming schemes. | ||||
* | Merge branch 'gl-version-backup-file' into 'master' | Rémy Coutable | 2017-04-26 | 1 | -1/+1 |
|\ | | | | | | | | | Add GitLab version to backup file name See merge request !10901 | ||||
| * | Expose GitLab version in backup file | Achilleas Pipinellis | 2017-04-25 | 1 | -1/+1 |
| | | | | | | | | Instead of doing hacks like http://stackoverflow.com/a/26082612/974710 | ||||
* | | Decrease ABC threshold to 57.08 | Maxim Rydkin | 2017-04-26 | 1 | -16/+19 |
|/ | |||||
* | Merge branch 'db-backup-ssl-support' into 'master' | Achilleas Pipinellis | 2017-04-24 | 1 | -5/+21 |
|\ | | | | | | | | | | | | | Database SSL support for backup script. Closes #1440 See merge request !9715 | ||||
| * | Database SSL support for backup script. | Guillaume | 2017-04-05 | 1 | -5/+21 |
| | | |||||
* | | Fix custom hooks restore | Jacob Vosmaer | 2017-03-29 | 1 | -1/+3 |
|/ | |||||
* | Merge branch '28447-hybrid-repository-storages' into 'master' | Sean McGivern | 2017-03-07 | 1 | -2/+3 |
|\ | | | | | | | | | Update storage settings to allow extra values per shard See merge request !9597 | ||||
| * | Update storage settings to allow extra values per shard28447-hybrid-repository-storages | Alejandro Rodríguez | 2017-03-03 | 1 | -2/+3 |
| | | | | | | | | | | | | | | This will be necessary when adding gitaly settings. This version doesn't make any functional changes, but allows us to include this breaking change in 9.0 and add the needed extra settings in the future with backwards compatibility | ||||
* | | Merge branch 'backup_storage_class' into 'master' | Rémy Coutable | 2017-03-06 | 1 | -1/+2 |
|\ \ | | | | | | | | | | | | | Add storage class configuration option for Amazon S3 remote backups See merge request !9599 | ||||
| * | | Add storage class configuration option for Amazon S3 remote backups | Jon Keys | 2017-02-28 | 1 | -1/+2 |
| |/ | |||||
* | | Remove remnants of git annex | Pawel Chojnacki | 2017-03-03 | 1 | -3/+2 |
|/ | |||||
* | Don’t exclude some file in lib from rubocop | Douwe Maan | 2017-02-23 | 5 | -56/+64 |
| | |||||
* | # This is a combination of 2 commits. | Drew Blessing | 2017-02-21 | 1 | -1/+16 |
| | | | | | | | | | | | | | | | | | | # This is the 1st commit message: Add `copy` backup strategy to combat file changed errors The backup Rake task used to stream data directly from the live data directory into the backup. Under many circumstances this worked OK. However, really active instances would experience a 'file changed as we read it' error - especially with data like the registry. This now copies the data first, then compresses it. It will take a bit more disk space while the backup is in progress, but it's a necessary thing. # The commit message #2 will be skipped: # Add env var | ||||
* | Use Namespace#full_path instead of Namespace#path | Dmitriy Zaporozhets | 2017-02-14 | 1 | -1/+1 |
| | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | ||||
* | Fix specs | Kamil Trzcinski | 2017-01-31 | 1 | -1/+1 |
| | |||||
* | Add GitLab Pages | Kamil Trzcinski | 2017-01-31 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | - The pages are created when build artifacts for `pages` job are uploaded - Pages serve the content under: http://group.pages.domain.com/project - Pages can be used to serve the group page, special project named as host: group.pages.domain.com - User can provide own 403 and 404 error pages by creating 403.html and 404.html in group page project - Pages can be explicitly removed from the project by clicking Remove Pages in Project Settings - The size of pages is limited by Application Setting: max pages size, which limits the maximum size of unpacked archive (default: 100MB) - The public/ is extracted from artifacts and content is served as static pages - Pages asynchronous worker use `dd` to limit the unpacked tar size - Pages needs to be explicitly enabled and domain needs to be specified in gitlab.yml - Pages are part of backups - Pages notify the deployment status using Commit Status API - Pages use a new sidekiq queue: pages - Pages use a separate nginx config which needs to be explicitly added | ||||
* | Restore backup correctly when "BACKUP" environment variable is passedrestore-backup-when-env-variable-is-passed | Adam Niedzielski | 2017-01-09 | 1 | -17/+27 |
| | |||||
* | Fix Backup::Manager#remove_old25399-backup-task-is-not-working-on-8-15-pre | Sean McGivern | 2016-12-07 | 1 | -9/+10 |
| | |||||
* | Add Human Readable Timestamp to backup tar file | David Gerő | 2016-11-30 | 1 | -7/+11 |
| | |||||
* | Backups do not fail anymore when using tar on annex and custom_hooks | tiagonbotelho | 2016-10-27 | 1 | -16/+76 |
| | | | | only. | ||||
* | lib/backup: fix broken permissions when creating repo dir | Dirk Hörner | 2016-08-30 | 1 | -1/+1 |
| | | | | | | This commit fixes a typo where the mode argument to FileUtils.mkdir() would be passed in decimal rather than octal format, yielding bad permissions. | ||||
* | Use `File::exist?` instead of `File::exists?` | bogdanvlviv | 2016-08-11 | 3 | -6/+6 |
| | | | | Since version ruby-2.2.0, method `File::exists?` is deprecated. | ||||
* | Fix backup restorefix-backup-restore | Stan Hu | 2016-07-25 | 1 | -2/+2 |
| | | | | | | Set permissions of backup dir to g+s Closes #20188 | ||||
* | Refactor repository paths handling to allow multiple git mount points | Alejandro Rodríguez | 2016-06-29 | 1 | -12/+14 |
| | |||||
* | Only create the backup directory if it is local | Stan Hu | 2016-06-10 | 1 | -3/+18 |
| | | | | Closes #12710 | ||||
* | Replace colorize gem with rainbow. | Connor Shea | 2016-06-03 | 3 | -30/+30 |
| | | | | | | | | | | | | | Colorize is a gem licensed under the GPLv2, so we can’t use it in GitLab without relicensing GitLab under the terms of the GPL. Rainbow is licensed under the MIT license and does the exact same thing as Colorize, so Rainbow was added in place of Colorize. The syntax is slightly different for Rainbow vs. Colorize, and was updated in accordance. The gem is still a dependency of Spinach, so it’s included in the development/test environments, but won’t be packaged with the actual product, and therefore doesn’t require we relicense the product. An attempt at relicensing Colorize was made, but didn’t succeed as the library owner never responded. Rainbow library: https://github.com/sickill/rainbow Relevant issue regarding licensing in GitLab's gems: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3775 | ||||
* | Create the specified remote directory during backuprs-create-remote-backup-folder | Robert Speicher | 2016-05-31 | 1 | -1/+1 |
| | | | | | | | This is idempotent, so there's no harm calling it if the directory already exists. Closes #12710 | ||||
* | Improve after reviewfix-registry-backups | Kamil Trzcinski | 2016-05-24 | 1 | -5/+5 |
| | |||||
* | Fix backups if registry is disabled | Kamil Trzcinski | 2016-05-23 | 1 | -2/+11 |
| | |||||
* | Added backup of container registry | Kamil Trzcinski | 2016-05-16 | 2 | -1/+14 |
| | |||||
* | Make sure there is a connection before using ActiveRecordbackup-database-timeout-fix | Jeroen Nijhof | 2016-02-08 | 1 | -0/+3 |
| | |||||
* | Backup LFS objects same as any upload. | Marin Jankovski | 2015-11-19 | 2 | -1/+14 |
| | |||||
* | USe reject.check_if_it_should_be_archived_in_backup | Marin Jankovski | 2015-11-18 | 1 | -1/+1 |
| | |||||
* | Check which folders and archives should be packed before passing to tar command. | Marin Jankovski | 2015-11-18 | 1 | -8/+6 |
| | |||||
* | Implement Build Artifacts | Kamil Trzcinski | 2015-11-10 | 2 | -1/+14 |
| | | | | | | | - Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile | ||||
* | Replace all usages of `git` command with configurable binary pathrs-git-bin-path | Robert Speicher | 2015-11-03 | 1 | -3/+3 |
| | | | | Closes #3311 |