Module: Gitlab::QA::Runtime::Env

Extended by:
Env
Included in:
Env
Defined in:
lib/gitlab/qa/runtime/env.rb

Constant Summary collapse

VARIABLES =
%w(GITLAB_USERNAME
GITLAB_PASSWORD
GITLAB_URL
EE_LICENSE).freeze

Instance Method Summary collapse

Instance Method Details

#delegatedObject



16
17
18
# File 'lib/gitlab/qa/runtime/env.rb', line 16

def delegated
  VARIABLES.select { |name| ENV[name] }
end

#screenshots_dirObject



12
13
14
# File 'lib/gitlab/qa/runtime/env.rb', line 12

def screenshots_dir
  ENV['QA_SCREENSHOTS_DIR'] || '/tmp/gitlab-qa-screenshots'
end