Commit Graph

91 Commits

Author SHA1 Message Date
GitLab Bot 43a25d93eb Add latest changes from gitlab-org/gitlab@16-0-stable-ee 2023-05-17 16:05:49 +00:00
GitLab Bot 71786ddc8e Add latest changes from gitlab-org/gitlab@15-9-stable-ee 2023-02-20 13:49:51 +00:00
GitLab Bot 0c872e02b2 Add latest changes from gitlab-org/gitlab@15-7-stable-ee 2022-12-20 14:22:11 +00:00
GitLab Bot 7021455bd1 Add latest changes from gitlab-org/gitlab@15-6-stable-ee 2022-11-17 11:33:21 +00:00
GitLab Bot b39512ed75 Add latest changes from gitlab-org/gitlab@15-3-stable-ee 2022-08-18 08:17:02 +00:00
GitLab Bot 0ea3fcec39 Add latest changes from gitlab-org/gitlab@15-1-stable-ee 2022-06-20 11:10:13 +00:00
GitLab Bot 36a59d088e Add latest changes from gitlab-org/gitlab@15-0-stable-ee 2022-05-19 07:33:21 +00:00
GitLab Bot 3cccd102ba Add latest changes from gitlab-org/gitlab@14-10-stable-ee 2022-04-20 10:00:54 +00:00
GitLab Bot 60e9124532 Add latest changes from gitlab-org/gitlab@14-9-stable-ee 2022-03-23 11:08:56 +00:00
GitLab Bot 41fe97390c Add latest changes from gitlab-org/gitlab@14-9-stable-ee 2022-03-18 20:02:30 +00:00
GitLab Bot a7b3560714 Add latest changes from gitlab-org/gitlab@14-8-stable-ee 2022-02-18 09:45:46 +00:00
GitLab Bot edaa33dee2 Add latest changes from gitlab-org/gitlab@14-7-stable-ee 2022-01-20 09:16:11 +00:00
GitLab Bot 311b0269b4 Add latest changes from gitlab-org/gitlab@14-5-stable-ee 2021-11-18 13:16:36 +00:00
GitLab Bot 0653e08efd Add latest changes from gitlab-org/gitlab@14-3-stable-ee 2021-09-20 13:18:24 +00:00
GitLab Bot b76ae63846 Add latest changes from gitlab-org/gitlab@14-2-stable-ee 2021-08-19 09:08:42 +00:00
GitLab Bot 4555e1b21c Add latest changes from gitlab-org/gitlab@13-12-stable-ee 2021-05-19 15:44:42 +00:00
GitLab Bot 85dc423f70 Add latest changes from gitlab-org/gitlab@13-4-stable-ee 2020-09-19 01:45:44 +00:00
GitLab Bot 77237c5a6b Add latest changes from gitlab-org/gitlab@master 2020-03-05 00:07:49 +00:00
GitLab Bot e4ea43b2b8 Add latest changes from gitlab-org/gitlab@master 2020-01-27 21:08:47 +00:00
GitLab Bot 96f3246b9c Add latest changes from gitlab-org/gitlab@master 2019-11-21 00:06:02 +00:00
GitLab Bot c792263edf Add latest changes from gitlab-org/gitlab@master 2019-09-23 18:06:14 +00:00
Dinesh Panda 736b5908da Avoid calling freeze on already frozen strings in lib 2019-09-10 08:11:43 +00:00
Frederic Van Espen 31dfc31aaa Merge branch 'master' into incremental-backups 2019-03-07 11:14:27 +01:00
Pepijn Van Eeckhoudt 1b3ffdf250 Add SSE-C key configuration option for Amazon S3 remote backups 2019-01-09 16:39:20 +00:00
Frederic Van Espen 3bb3f7ddd0 fix code style 2018-12-27 13:43:45 +01:00
Frederic Van Espen 7a58eb2e16 Allow to override part of the backup filename 2018-12-26 15:33:11 +01:00
Michael Kozono d2d85c31fe Avoid extra storage bucket perm and query
Specifically, the `ListAllMyBuckets` permission.

This works if you know the directory exists.

See more:

* https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23981
* https://stackoverflow.com/a/12288581/1992201
2018-12-21 10:34:05 -08:00
gfyoung c858f70d07 Enable frozen string for lib/gitlab/*.rb 2018-10-22 07:00:50 +00:00
Balasankar "Balu" C 91ef6989d1
Add installation type to backup information file 2018-10-05 19:34:22 +05:30
gfyoung 3836d69119 Enable frozen string in lib/api and lib/backup
Partially addresses #47424.

Had to make changes to spec files because
stubbing methods on frozen objects is a mess
in RSpec and leads to failures:

https://github.com/rspec/rspec-mocks/issues/1190
2018-09-29 21:04:50 -07:00
Jacob Vosmaer (GitLab) a0808df0b6 Find and mark more Git disk access locations 2018-06-05 15:51:14 +00:00
Stan Hu e6fca03bbd Fix backup creation and restore for specific Rake tasks 2018-05-24 14:58:25 +00:00
Balasankar "Balu" C 5a8cf78d51 Move conditional to a separate method 2018-01-15 23:52:00 +05:30
Balasankar "Balu" C ad25ef1f0d List available backups for restore 2018-01-15 20:33:35 +05:30
Maxim Rydkin 1833328b30 Decrease ABC threshold to 54.28 2017-10-22 17:12:35 +00:00
Rémy Coutable 8b8bab118e Stub ENV in the backup task spec file
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-18 18:42:09 +02:00
Tiago Botelho 4c5acddaa7 Adds EE tag detection to remove_old in gitlab backup. 2017-09-21 13:00:58 +01:00
Tiago Botelho 0a60698892 Tighten up remove_old regex from gitlab backup manager. 2017-09-20 12:11:14 +01:00
Rémy Coutable c946ee1282
Enable the Layout/SpaceBeforeBlockBraces cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-09 11:52:22 +02:00
Markus Koller d27dec80ce
Support custom directory in gitlab:backup:create task 2017-07-27 13:24:19 +02:00
Achilleas Pipinellis e4d9be0e6b Fix rubocop 2017-05-23 11:17:25 +02:00
Achilleas Pipinellis 450e2cd879 Add missing regex to backup manager
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-05-23 10:23:04 +02:00
Rémy Coutable b5526a2d13 Merge branch 'gl-version-backup-file' into 'master'
Add GitLab version to backup file name

See merge request !10901
2017-04-26 18:22:33 +00:00
Maxim Rydkin 6a541c7905 Decrease ABC threshold to 57.08 2017-04-26 10:54:11 +00:00
Achilleas Pipinellis 43f73107ca Expose GitLab version in backup file
Instead of doing hacks like http://stackoverflow.com/a/26082612/974710
2017-04-25 11:36:52 +02:00
Jon Keys 7a7ec1ac0f Add storage class configuration option for Amazon S3 remote backups 2017-02-28 16:30:58 -05:00
Douwe Maan 87c9df29ce Don’t exclude some file in lib from rubocop 2017-02-23 09:32:42 -06:00
Kamil Trzcinski 732a821d4f Fix specs 2017-01-31 22:50:40 +00:00
Adam Niedzielski 82692ea214 Restore backup correctly when "BACKUP" environment variable is passed 2017-01-09 18:38:53 +01:00
Sean McGivern 2fc1e643a7 Fix Backup::Manager#remove_old 2016-12-07 13:27:44 +00:00