-
Notifications
You must be signed in to change notification settings - Fork 46
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
Enable global controls from the settings #99
Comments
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
* Make settings globally available * Load global controls from settings Contributes to #99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Contributes to chaostoolkit/chaostoolkit-lib#99 Signed-off-by: Sylvain Hellegouarch <sh@defuze.org>
Was really looking forward to this issue so gave it a try with Unfortunately seems that Is this the expected behaviour and if it is, is there a possible workaround like adding some of the Documentation should mention this imho as |
For secrets, this sounds like somewhat sensible behaviour as registering a global control means selecting the right secrets block could be tricky. For configuration it seems that it should be passed automatically around. |
Hello, The trick is that the configuration/secrets targets the experiment. The whole point of declaring controls outside of the experiment means the experiment isn't aware of them. For progressing this question, I'd like examples of scenarios where you declare them globally but configure them locally. Technically speaking global controls are loaded before the experiment and therefore before secrets and configs have been resolved. The idea is that global controls have access to the settings entirely (unlike experiments). Agreed on better docs. |
Sure let's take 2 different scenarios that we currently have:
Is this configuration specific to an experiment? Not really it's not! yet every experiment requires it to run this control.
while this piece of configuration is per experiment, all of our experiments require it so by having |
Thanks. The first example isn't too much of an issue I believe. If i recall well, you can set args on the control itself. Even on the global one. To be verified. The other one makes more sense indeed. I need to figure out how work around this elegantly. |
Hi @Lawouach ! Controls work like a charm! Thank you very much! |
Awesome. Glad to hear this works fine. Hope this will be useful! |
It would be valuable to allow controls to be declared and defined in the settings and applied globally no matter the experiment.
The text was updated successfully, but these errors were encountered: