2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
module Gitlab
|
|
|
|
module Environment
|
|
|
|
def self.hostname
|
|
|
|
@hostname ||= ENV['HOSTNAME'] || Socket.gethostname
|
|
|
|
end
|
2022-11-25 23:54:43 +05:30
|
|
|
|
|
|
|
def self.qa_user_agent
|
|
|
|
ENV['GITLAB_QA_USER_AGENT']
|
|
|
|
end
|
2017-09-10 17:25:29 +05:30
|
|
|
end
|
|
|
|
end
|