Add frozen_string_literal to EE files now in CE
This commit is contained in:
parent
acd927fd59
commit
30e5b31eea
5 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Gitlab.ee do
|
Gitlab.ee do
|
||||||
begin
|
begin
|
||||||
public_key_file = File.read(Rails.root.join(".license_encryption_key.pub"))
|
public_key_file = File.read(Rails.root.join(".license_encryption_key.pub"))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# Be sure to restart your server when you modify this file.
|
# Be sure to restart your server when you modify this file.
|
||||||
|
|
||||||
require 'gitlab/current_settings'
|
require 'gitlab/current_settings'
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
Gitlab.ee do
|
Gitlab.ee do
|
||||||
if File.exist?(Rails.root.join('config/database_geo.yml'))
|
if File.exist?(Rails.root.join('config/database_geo.yml'))
|
||||||
Rails.application.configure do
|
Rails.application.configure do
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# We need to run this initializer after migrations are done so it doesn't fail on CI
|
# We need to run this initializer after migrations are done so it doesn't fail on CI
|
||||||
|
|
||||||
Gitlab.ee do
|
Gitlab.ee do
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
if ENV['ENABLE_SIDEKIQ_CLUSTER'] && Gitlab.ee?
|
if ENV['ENABLE_SIDEKIQ_CLUSTER'] && Gitlab.ee?
|
||||||
Thread.new do
|
Thread.new do
|
||||||
Thread.current.abort_on_exception = true
|
Thread.current.abort_on_exception = true
|
||||||
|
|
Loading…
Reference in a new issue