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

DM-24324: Generate alert packets in the alert production pipeline #86

Merged
merged 1 commit into from May 14, 2020

Conversation

morriscb
Copy link
Contributor

@morriscb morriscb commented May 7, 2020

No description provided.

@@ -132,5 +132,7 @@ def _getConfigArguments(workspace):
# ApVerify will use the sqlite hooks for the Apdb.
args.extend(["--config", "diaPipe.apdb.db_url=sqlite:///" + workspace.dbLocation])
args.extend(["--config", "diaPipe.apdb.isolation_level=READ_UNCOMMITTED"])
# Put output alerts into the workspace.
args.extend(["--config", "diaPipe.alertPackager.alertWriteLocation=" + workspace.outputRepo + "/alerts"])
Copy link
Member

@kfindeisen kfindeisen May 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure I like having this command-line config override (see my comment in ap_association).

If the alert output is here to stay and it's not supposed to be part of the repository, please consider handling it the same way as workspace.dbLocation instead of putting it in the repository (or at least replacing workspace.outputRepo with workspace.workDir, if you don't want to edit Workspace). If nothing else, it will be more compatible with Gen 3.

Fix linting.

Change to workDir.
@morriscb morriscb merged commit 12372ab into master May 14, 2020
@kfindeisen kfindeisen deleted the tickets/DM-24324 branch December 10, 2020 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants