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 01:43:40 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-14 01:43:40 +0300
commitb2d3a8133b9ab8d72a486be43fc8c014e3cfe4fb (patch)
treecd0b7bd1d7847b9d0bb609682e85806fda2b532e
parent96d9bd364b5ca189869c943be50cb1eff42653fc (diff)
Add latest changes from gitlab-org/gitlab@16-5-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'