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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tasks/gitlab/backup.rake')
-rw-r--r--lib/tasks/gitlab/backup.rake10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/backup.rake b/lib/tasks/gitlab/backup.rake
index 22e1d903c8d..4143200ece4 100644
--- a/lib/tasks/gitlab/backup.rake
+++ b/lib/tasks/gitlab/backup.rake
@@ -206,6 +206,16 @@ namespace :gitlab do
Tasks::Gitlab::Backup.restore_task('packages')
end
end
+
+ namespace :ci_secure_files do
+ task create: :gitlab_environment do
+ Tasks::Gitlab::Backup.create_task('ci_secure_files')
+ end
+
+ task restore: :gitlab_environment do
+ Tasks::Gitlab::Backup.restore_task('ci_secure_files')
+ end
+ end
end
# namespace end: backup
end