You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If the bitops.config.yaml file is missing from an process folder, then it will error with the below error. Though this error does have enough information to explain what is needed, it looks messy and should be updated to use the same error catching as the rest of the application.
To Reproduce
Steps to reproduce the behavior:
Run Bitops (KitchenSink) against a Operations Repo that doesn't contain and bitops.config.yaml files
Expected behavior
A clear and concise description of what needs to be updated / added
Screenshots
~#~#~#~CONVERTING:
PLUGIN CONFIGURATION FILE PATH: [/tmp/tmp_dl4gm1w/Dev/cloudformation/bitops.config.yaml]
PLUGIN SCHEMA FILE PATH: [/opt/bitops/scripts/plugins/cloudformation/bitops.schema.yaml]
2022-10-03 17:48:19,645 root ERROR REQUIRED FILE NOT FOUND: [/tmp/tmp_dl4gm1w/Dev/cloudformation/bitops.config.yaml]
Traceback (most recent call last):
File "/opt/bitops/scripts/plugins.py", line 47, in <module>
Deploy_Plugins()
File "/opt/bitops/scripts/plugins/deploy_plugins.py", line 186, in Deploy_Plugins
cli_config_list, options_config_list = Get_Config_List(opsrepo_config_file, plugin_schema_file)
File "/opt/bitops/scripts/plugins/utilities.py", line 186, in Get_Config_List
config = DefaultMunch.fromDict(config_yaml, None)
UnboundLocalError: local variable 'config_yaml' referenced before assignment
System info
BitOps image tag used: KitchenSink
Hardware: N/A
Tool: N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
If the
bitops.config.yaml
file is missing from an process folder, then it will error with the below error. Though this error does have enough information to explain what is needed, it looks messy and should be updated to use the same error catching as the rest of the application.To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what needs to be updated / added
Screenshots
System info
The text was updated successfully, but these errors were encountered: