Commit Graph

5 Commits

Author SHA1 Message Date
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 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 c86e1437eb Make fixture message more descriptive
+ use strip_heredoc to make the text in tests much more readable
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
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