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 Auto-generation tool #137

Closed
wants to merge 2 commits into from

Conversation

ykaravas
Copy link

@ykaravas ykaravas commented Jun 22, 2022

This pull request closes #136

Added configuration file autogeneration tool. I think there is still a lot that could be done here and there is potential for a lot more customization of tests/runs. The conversation is ongoing, however, this is a good spot to review and maybe even merge as it has basic functionality and is stable.

Moved configuration files around repo to their own directory, opencbdc-tx/config, for organizational purposes. Updated related scripts and docker yml files with new location of configs. This config dir houses an integration dir which holds integration test configs, unit dir, which holds unit test configs, a general dir, which holds the configs which were formerly in the project root dir and a tools dir which holds the config generator.

Created simple unit test for config generation as well which could be expanded a bit.

@ykaravas ykaravas force-pushed the config_file_updates branch 2 times, most recently from f5c2f4e to 4165df7 Compare June 22, 2022 01:48
@ykaravas
Copy link
Author

ykaravas commented Jun 22, 2022

By the way, i am not sure what is causing this or if it is normal, but when i run the atomizer docker (on trunk or on this branch) it seems to fail:

image

2pc docker, all unit tests and integration tests seem to run just fine though.

@ykaravas ykaravas force-pushed the config_file_updates branch 5 times, most recently from 99b71b7 to 4837cc6 Compare June 22, 2022 20:24
AlexRamRam and others added 2 commits June 22, 2022 16:38
And, assert in all state_machine commit() and commit_config() hooks that incoming log_idx is one higher than last committed index

Signed-off-by: Alexander Jung <[email protected]>
…I foresee much more expanded functionality in the future and a lot of potential. This will require some possible rework of some existing code, however, as well as integration tests to make use of this proposed functionality. Also reorganized config files into their own directory which seems neater. Also needed to fix docker stff. Might need to revert docker stuff. Not sure how that will affect others.

Signed-off-by: Yiannis Karavas <[email protected]>
@ykaravas ykaravas closed this Jun 22, 2022
@ykaravas ykaravas deleted the config_file_updates branch June 22, 2022 21:05
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

Successfully merging this pull request may close these issues.

Craft More Intricate Config Files
2 participants