RedHatQE / teflo

Teflo is a standalone orchestration software that controls the flow of a set of testing scenarios, allowing users to provision machines, deploy software, execute tests against them and manage generated artifacts and report results.
https://teflo.readthedocs.io/en/latest/
GNU General Public License v3.0
14 stars 16 forks source link

allow setting `included_sdf_iterate_method` through an environment variable #231

Closed jbpratt closed 2 years ago

jbpratt commented 2 years ago

Would it be possible to allow setting some (if not all default at least) teflo config settings as environment variables to override what lives in the teflo.cfg file? We want to sometimes run by_depth and sometimes by_level but updating the teflo.cfg file every time is a bit cumbersome.

dno-github commented 2 years ago

Jira ticket CCITCARBON-455 has been created for this issue. Url : https://issues.redhat.com/browse/CCITCARBON-455

rujutashinde commented 2 years ago

@jbpratt Teflo loads the teflo.cfg at the beginning of every run. For your use case you are looking at having one value in teflo.cfg and keep changing certain default section values before every run and these values should override teflo.cfg ?

jbpratt commented 2 years ago

Hi @rujutashinde , I've realized I don't need to change the settings like I assumed. The idea here was just that I would like to be able to override certain teflo.cfg settings with environment variables. Not needed anymore, thank you