-
Notifications
You must be signed in to change notification settings - Fork 42
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
MM-61311: Version-controlled config samples #839
MM-61311: Version-controlled config samples #839
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, some non-blocking questions:
- What's needed for the tool to pick up a
.toml
vs a.json
? - What happens if both files are present?
- Should we surface (e.g. log) which config file is loaded at any given time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
After double-checking with @fmartingr:
One needs to pass its path as CLI flags. The flags are a bit eclectic:
By default it picks JSON. If the config flags are passed, those have priority.
Maybe that's a good idea. Were you thinking of logging the whole thing? Just the path? |
Thanks
👍
I think the path would be sufficient. |
Doing this in a future PR |
Summary
This is something I've been wanting to do for a long while: having a set of config files that can be used as starter packs for other workflows. We already use two sets internally, which are the ones that I've uploaded here: the config files for release testing of the tool itself, and the config files for the performance comparisons of Mattermost new releases.
Some questions you may have:
Ah! I've also added sample files in the
config/
directory for the coordinator and comparison files in TOML, which we were missing. This is unrelated to the original goal of the PR.Ticket Link
https://mattermost.atlassian.net/browse/MM-61311