2018-10-22 07:00:50 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-03 10:16:45 +00:00
|
|
|
module Gitlab
|
|
|
|
module Environment
|
|
|
|
def self.hostname
|
|
|
|
@hostname ||= ENV['HOSTNAME'] || Socket.gethostname
|
|
|
|
end
|
2022-10-03 12:08:27 +00:00
|
|
|
|
|
|
|
def self.qa_user_agent
|
|
|
|
ENV['GITLAB_QA_USER_AGENT']
|
|
|
|
end
|
2017-08-03 10:16:45 +00:00
|
|
|
end
|
|
|
|
end
|