Module: Gitlab::QA::Scenario::CLICommands

Included in:
Test::Integration::Geo, Test::Integration::ObjectStorage
Defined in:
lib/gitlab/qa/scenario/cli_commands.rb

Constant Summary collapse

GIT_LFS_VERSION =
'2.8.0'.freeze

Instance Method Summary collapse

Instance Method Details

#git_lfs_install_commandsObject



7
8
9
10
11
12
# File 'lib/gitlab/qa/scenario/cli_commands.rb', line 7

def git_lfs_install_commands
  @git_lfs_install_commands ||= [
    "cd /tmp ; curl -qsL https://github.com/git-lfs/git-lfs/releases/download/v#{GIT_LFS_VERSION}/git-lfs-linux-amd64-v#{GIT_LFS_VERSION}.tar.gz | tar xzvf -",
    'cp /tmp/git-lfs /usr/local/bin'
  ]
end