Rémy Coutable
4dbc309b9e
Set ENV['IN_MEMORY_APPLICATION_SETTINGS'] to 'true in spec/db/production/settings_spec.rb
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-16 10:48:53 +02:00
Rémy Coutable
ddccd24c13
Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Pawel Chojnacki
4679107fdc
Handle case where GITLAB_PROMETHEUS_METRICS_ENABLED is non boolean value by defaulting to false
2017-06-06 13:16:55 +02:00
Pawel Chojnacki
d26573c6e3
Make PrometheusTextFormat return proper output terminated with '\n'
...
remove file dangling after rebase
2017-06-02 19:48:39 +02:00
Pawel Chojnacki
6a67148ed3
Make production settings fixture use Gitlab::CurrentSettings.current_application_settings
...
small code formatting changes
2017-06-02 19:46:29 +02:00
Pawel Chojnacki
e21b1501ff
Allow enabling Prometheus metrics via ENV variable when db is seeded
2017-06-02 19:46:29 +02:00
Gabriel Mazetto
442735978c
Move rainbow monkey patch to String to spec_helper
2017-05-31 14:33:03 +02:00
Adam Niedzielski
a8177e03e5
Introduce "stub_env" test helper for safely stubbing environment variables
2017-01-09 18:19:48 +01:00
DJ Mountney
fb5f7733f1
Allow users to seed the initial runner registration token using an environment variable
...
This is useful for when runner is bundled with gitlab, like in a kubernetes stack, and we want the runner to be able to
register with gitlab as soon as they both come up.
2016-12-01 17:21:21 -08:00