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-06-01Fix data inconsistency issue for old artifacts by moving them to a currently ↵Kamil Trzcinski
used path
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-04-24Merge branch 'db-backup-ssl-support' into 'master' Achilleas Pipinellis
Database SSL support for backup script. Closes #1440 See merge request !9715
2017-04-05Database SSL support for backup script.Guillaume
2017-03-29Fix custom hooks restoreJacob Vosmaer
2017-03-07Merge branch '28447-hybrid-repository-storages' into 'master' Sean McGivern
Update storage settings to allow extra values per shard See merge request !9597
2017-03-06Merge branch 'backup_storage_class' into 'master' Rémy Coutable
Add storage class configuration option for Amazon S3 remote backups See merge request !9599
2017-03-03Remove remnants of git annexPawel Chojnacki
2017-03-03Update storage settings to allow extra values per shardAlejandro Rodríguez
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
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-22# This is a combination of 2 commits.Drew Blessing
# 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
2017-02-14Use Namespace#full_path instead of Namespace#pathDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2017-02-01Fix specsKamil Trzcinski
2017-02-01Add GitLab PagesKamil Trzcinski
- 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
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-10-27Backups do not fail anymore when using tar on annex and custom_hookstiagonbotelho
only.
2016-08-30lib/backup: fix broken permissions when creating repo dirDirk Hörner
This commit fixes a typo where the mode argument to FileUtils.mkdir() would be passed in decimal rather than octal format, yielding bad permissions.
2016-08-11Use `File::exist?` instead of `File::exists?`bogdanvlviv
Since version ruby-2.2.0, method `File::exists?` is deprecated.
2016-07-25Fix backup restoreStan Hu
Set permissions of backup dir to g+s Closes #20188
2016-06-30Refactor repository paths handling to allow multiple git mount pointsAlejandro Rodríguez
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-11-04Replace all usages of `git` command with configurable binary pathRobert Speicher
Closes #3311
2015-11-02Explicitly require backup/filesRobert Speicher
2015-10-16Do no rely on basename of builds, uploadsJacob Vosmaer
2015-10-06Remove superfluous mkdir -pJacob Vosmaer
2015-10-06Remove unused variableJacob Vosmaer
2015-10-06Keep old path: db/database.sql.gzJacob Vosmaer
Documentation elsewhere refers to this internal path, let's keep it.
2015-10-06Remove old "files" tarball explicitlyJacob Vosmaer
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-18add pg_schema to backup configValery Sizov
2015-09-16Fix backup testsKamil Trzcinski