diff options
Diffstat (limited to 'db/fixtures/production')
-rw-r--r-- | db/fixtures/production/010_settings.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/fixtures/production/010_settings.rb b/db/fixtures/production/010_settings.rb index 7626cdb0b9c..65f70a9e715 100644 --- a/db/fixtures/production/010_settings.rb +++ b/db/fixtures/production/010_settings.rb @@ -24,3 +24,7 @@ if ENV['GITLAB_PROMETHEUS_METRICS_ENABLED'].present? settings.prometheus_metrics_enabled = value save(settings, 'Prometheus metrics enabled flag') end + +settings = Gitlab::CurrentSettings.current_application_settings +settings.ci_jwt_signing_key = OpenSSL::PKey::RSA.new(2048).to_pem +save(settings, 'CI JWT signing key') |