Page MenuHomePhabricator

Allow service-runner to read the location of the config file from a configuration variable
Closed, ResolvedPublic

Description

In the build and deploy pipeline, we need a flexible way of telling the service where it should read the configuration file without changing the execution command (cf. T211580: blubber template for nodejs should allow defining configuration files to copy to the container). To that end, service-runner should be able to get the file path from an environment variable, overriding the given command-line option, if any.

Event Timeline

mobrovac created this task.

PR #193 adds the APP_CONFIG_PATH environment variable which allows clients to override the given command-line option specifying the location of the configuration file.