Skip to content
Snippets Groups Projects
Commit abe981b4 authored by Robert Marshall's avatar Robert Marshall
Browse files

Merge branch '418909_add_skip_restore_prompt' into 'master'

Add --skip-restore-prompt to backup-utility for restore process

See merge request https://gitlab.com/gitlab-org/build/CNG/-/merge_requests/1804



Merged-by: default avatarRobert Marshall <rmarshall@gitlab.com>
Approved-by: default avatarClemens Beck <cbeck@gitlab.com>
Approved-by: default avatarRobert Marshall <rmarshall@gitlab.com>
Co-authored-by: default avatarPhawin Khongkhasawan <lifez999@gmail.com>
parents 8679d310 13a99a60
No related merge requests found
......@@ -52,7 +52,8 @@ function usage()
--aws-kms-key-id Add KMS key id when S3 bucket is encrypted with a customer key.
--aws-s3-endpoint-url Specify an AWS S3 endpoint URL.
--aws-region Add AWS region (required for AWS STS regionalized endpoint).
--azure-config-file Path of the config file to configure Azure Block Storage access.
--azure-config-file Path of the config file to configure Azure Block Storage access.
--skip-restore-prompt Skip prompts during restore process
HEREDOC
}
......@@ -454,6 +455,10 @@ do
shift
shift
;;
--skip-restore-prompt)
export GITLAB_ASSUME_YES=1
shift
;;
*)
usage
echo "Unexpected parameter: $key"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment