Skip to content

Unified Backups: Detect Omnibus Ruby version in `gitlab-backup-cli`

What does this MR do and why?

This MR fixes using an incorrect Ruby interpreter for gitlab-backup-cli executable. We use a wrapper to identify if the GITLAB_BACKUP_CLI_CONFIG_FILE ENV variable is set, which means we are using Omnibus as the installation type for Gitlab. Otherwise, we use the system Ruby.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #443660 (closed)

Edited by Javiera Tapia

Merge request reports