Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config file for environment-specific settings #15

Open
x80486 opened this issue Oct 6, 2021 · 1 comment
Open

Config file for environment-specific settings #15

x80486 opened this issue Oct 6, 2021 · 1 comment

Comments

@x80486
Copy link

x80486 commented Oct 6, 2021

As of version 1.9, it's not possible to provide an external config file, or just augment the default one with a (preferable predefined) key in order to read environment-specific settings.

For instance, when doing callbacks, the hostname will usually change between different environments: test, qa, etc.

If the default config file defines a predefined key (e.g.: application) that we can use for such things, then it would be possible to place any values that we need, maintaining the same (YAML-like structure). Eventually, there has to be a way to read these within the simulations...so that's needed as well 🤣

Something like this:

application: # this is for us, the users ;)
  callbacks:
    - service: foo
      hostname: env.foo.tld
admin: https
host: 1.2.3.4

Actually, that's quite complicated, because the structure for the configuration is not known beforehand, so I'm not sure how to approach this one right away 🤔

@apisim
Copy link
Member

apisim commented Oct 8, 2021

Currently there isn't the concept of "environment"/"profile" and configuration values per environment/profile. Some more thinking will have to go into this as far as requirements first...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants