-
Notifications
You must be signed in to change notification settings - Fork 493
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
tools: Block Generator - allow exporting to files #5656
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5656 +/- ##
==========================================
- Coverage 55.51% 55.50% -0.01%
==========================================
Files 473 473
Lines 66316 66316
==========================================
- Hits 36814 36811 -3
Misses 27005 27005
- Partials 2497 2500 +3 see 14 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@@ -46,18 +46,19 @@ func init() { | |||
RunnerCmd.Flags().StringVarP(&runnerArgs.Path, "scenario", "s", "", "Directory containing scenarios, or specific scenario file.") | |||
RunnerCmd.Flags().StringVarP(&runnerArgs.ConduitBinary, "conduit-binary", "i", "", "Path to conduit binary.") | |||
RunnerCmd.Flags().Uint64VarP(&runnerArgs.MetricsPort, "metrics-port", "p", 9999, "Port to start the metrics server at.") | |||
RunnerCmd.Flags().BoolVarP(&runnerArgs.FileExporterInsteadofPG, "file-exporter-instead-of-pg", "", false, "If set, use the runner will export blocks to files; otherwise, the postgres database is used.") |
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.
consider a "--template-override" option rather than baking in this custom template.
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.
Introduced the optional --template
flag: 2c267aa
Tools blockgen msgp export
closing in favor of: #5714 |
Block Generator in File Exporting Mode + README + Makefile + Remove Python Runner
The only functional change is to allow exporting blocks into conduit's data directory. This is useful for generating Conduit fixtures.
Non functional changes:
make
targets