mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
Merge pull request #1725 from icedream/fix/entrypoint-corrupts-config
Fix backup config stripping for when AWS & GCS backups are disabled
This commit is contained in:
commit
40ef00ada4
@ -859,7 +859,7 @@ gitlab_configure_backups() {
|
||||
GITLAB_BACKUP_ARCHIVE_PERMISSIONS
|
||||
gitlab_configure_backups_schedule
|
||||
if [[ ${AWS_BACKUPS} != true && ${GCS_BACKUPS} != true ]]; then
|
||||
exec_as_git sed -i "/upload:/,/#end-gcs/d" ${GITLAB_CONFIG}
|
||||
exec_as_git sed -i "/\s\+upload:/,/#end-gcs/d" ${GITLAB_CONFIG}
|
||||
return 0
|
||||
fi
|
||||
if [[ ${AWS_BACKUPS} == true && ${GCS_BACKUPS} == true ]]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user