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

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

Constant Summary collapse

GIT_LFS_VERSION =
'2.8.0'.freeze

Class Method Summary collapse

Class Method Details

.git_lfs_install_commandsObject



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

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