Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-10-22Decrease ABC threshold to 54.28Maxim Rydkin
2017-10-18Stub ENV in the backup task spec fileRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-21Adds EE tag detection to remove_old in gitlab backup.Tiago Botelho
2017-09-20Tighten up remove_old regex from gitlab backup manager.Tiago Botelho
2017-08-09Enable the Layout/SpaceBeforeBlockBraces copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27Support custom directory in gitlab:backup:create taskMarkus Koller
2017-05-23Fix rubocopAchilleas Pipinellis
2017-05-23Add missing regex to backup managerAchilleas Pipinellis
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.
2017-04-26Merge branch 'gl-version-backup-file' into 'master' Rémy Coutable
Add GitLab version to backup file name See merge request !10901
2017-04-26Decrease ABC threshold to 57.08Maxim Rydkin
2017-04-25Expose GitLab version in backup fileAchilleas Pipinellis
Instead of doing hacks like http://stackoverflow.com/a/26082612/974710
2017-03-01Add storage class configuration option for Amazon S3 remote backupsJon Keys
2017-02-23Don’t exclude some file in lib from rubocopDouwe Maan
2017-02-01Fix specsKamil Trzcinski
2017-01-09Restore backup correctly when "BACKUP" environment variable is passedAdam Niedzielski
2016-12-07Fix Backup::Manager#remove_oldSean McGivern
2016-11-30Add Human Readable Timestamp to backup tar fileDavid Gerő
2016-08-11Use `File::exist?` instead of `File::exists?`bogdanvlviv
Since version ruby-2.2.0, method `File::exists?` is deprecated.
2016-06-10Only create the backup directory if it is localStan Hu
Closes #12710
2016-06-03Replace colorize gem with rainbow.Connor Shea
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
2016-05-31Create the specified remote directory during backupRobert Speicher
This is idempotent, so there's no harm calling it if the directory already exists. Closes #12710
2016-05-25Improve after reviewKamil Trzcinski
2016-05-23Fix backups if registry is disabledKamil Trzcinski
2016-05-17Added backup of container registryKamil Trzcinski
2016-02-08Make sure there is a connection before using ActiveRecordJeroen Nijhof
2015-11-19Backup LFS objects same as any upload.Marin Jankovski
2015-11-18USe reject.Marin Jankovski
2015-11-18Check which folders and archives should be packed before passing to tar command.Marin Jankovski
2015-11-10Implement Build ArtifactsKamil Trzcinski
- Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
2015-10-06Keep old path: db/database.sql.gzJacob Vosmaer
Documentation elsewhere refers to this internal path, let's keep it.
2015-10-06Reduce disk IO during SQL backupJacob Vosmaer
By using light gzip compression we can save a lot of disk IO during the backup.
2015-10-06Use tar for intermediate backup storageJacob Vosmaer
During the backup we create an intermediate copy of two directories: builds and uploads. Instead of creating many small files with 'cp -r', we now use tar (and fast gzip) to create single intermediate files. This saves on disk IO and disk space while creating a backup.
2015-09-25Add support for AWS S3 Server-Side Encryption supportPaul Beattie
This adds support for AWS S3 SSE with S3 managed keys, this means the data is encrypted at rest and the encryption is handled transparently to the end user as well as in the AWS Console. This is optional and not required to make S3 uploads work.
2015-09-16Fix backup testsKamil Trzcinski
2015-08-03Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets
2015-07-29Set internal backup directory modes on createJacob Vosmaer
This sidesteps problems with running 'chmod' on some CIFS mounts.
2015-07-06Allow custom backup archive permissionsJacob Vosmaer
This change helps system administrators who want to replicate GitLab backup files without needing root permissions.
2015-06-09use gitlab not gitlabciJeroen Nijhof
2015-06-09update fog to 1.25.0 and add multipart upload supportJeroen Nijhof
2015-04-02ability to skip some items in backupValery Sizov
2015-03-28Don't use chmod_R for backup tarsVinnie Okada
When creating backup tar files, only change permissions on the `db`, `uploads`, and `repositories` directories, not their contents.
2015-03-25Change directory when removing old backupsVinnie Okada
2015-03-20Call chdir() with a blockVinnie Okada
2015-03-18Change permissions on backup filesVinnie Okada
Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files.
2015-03-17Revert "Merge branch 'backup-permissions' into 'master'"Dmitriy Zaporozhets
This reverts commit c42262b43b009af990e5769840391862d64a1c2d, reversing changes made to c6586b1283a94c8f08bc669f4d8a9384b263073e.
2015-03-15Change permissions on backup filesVinnie Okada
Use more restrictive permissions for backup tar files and for the db, uploads, and repositories directories inside the tar files.
2015-02-19Revert "Fix broken access control and refactor avatar upload"Dmitriy Zaporozhets
This reverts commit 7d5f86f6cbd187e75a6ba164ad6bfd036977dd07.
2015-02-16Fix broken access control and refactor avatar uploadHannes Rosenögger
This commit moves the note folder from /public/uploads/note to /uploads/note and changes the uploader accordingly. Now it's no longer possible to avoid the access control by modifing the url. The Avatar upload has been refactored to use an own uploader as well to cleanly seperate the two upload types.
2014-11-20Add CRON=1 backup setting for quiet backupsJacob Vosmaer
2014-10-01Fail harder in the backup scriptJacob Vosmaer
This change also shows the output of failed Git commands during the backup.