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

02_application_settings.rb « development « fixtures « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46da3205d8f88237a5059e2d78e4125d5a10f055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

puts "Creating the default ApplicationSetting record.".color(:green)
ApplicationSetting.create_from_defaults

# Details https://gitlab.com/gitlab-org/gitlab-foss/issues/46241
puts "Enable hashed storage for every new projects.".color(:green)
ApplicationSetting.current_without_cache.update!(hashed_storage_enabled: true)

puts "Generate CI JWT signing key".color(:green)
ApplicationSetting.current_without_cache.update!(ci_jwt_signing_key: OpenSSL::PKey::RSA.new(2048).to_pem)

print '.'