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

Defined in:
lib/gitlab/qa/scenario/cli_commands.rb

Constant Summary collapse

GIT_LFS_VERSION =
'2.8.0'

Class Method Summary collapse

Class Method Details

.git_lfs_install_commandsObject



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

def self.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'
  ].freeze
end