Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-11-14 15:23:12 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-14 15:23:12 +0300
commit27d427e538fa9c7cb6ca39637660a63f24d7f2d8 (patch)
tree49a97c9eff362c01f02b9ab478607a1d3942a9de
parentf06c3272a6b8751cadfef262da0ea06991469708 (diff)
Add latest changes from gitlab-org/gitlab@16-6-stable-ee
-rw-r--r--config/settings.rb3
-rw-r--r--spec/fast_spec_helper.rb1
2 files changed, 1 insertions, 3 deletions
diff --git a/config/settings.rb b/config/settings.rb
index 3edbcc9b5ed..9abbbc11899 100644
--- a/config/settings.rb
+++ b/config/settings.rb
@@ -3,11 +3,10 @@
require_relative '../lib/gitlab_settings'
file = ENV.fetch('GITLAB_CONFIG') { Rails.root.join('config/gitlab.yml') }
-section = ENV.fetch('GITLAB_ENV') { Rails.env }
GITLAB_INSTANCE_UUID_NOT_SET = 'uuid-not-set'
-Settings = GitlabSettings.load(file, section) do
+Settings = GitlabSettings.load(file, Rails.env) do
def gitlab_on_standard_port?
on_standard_port?(gitlab)
end
diff --git a/spec/fast_spec_helper.rb b/spec/fast_spec_helper.rb
index d03f8b18b3e..7ffab4554cf 100644
--- a/spec/fast_spec_helper.rb
+++ b/spec/fast_spec_helper.rb
@@ -8,7 +8,6 @@ end
require_relative '../config/bundler_setup'
-ENV['GITLAB_ENV'] = 'test'
ENV['IN_MEMORY_APPLICATION_SETTINGS'] = 'true'
require './spec/deprecation_warnings'