-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make minio local only; add a speedup; make headless prod only #92
Conversation
@@ -180,7 +182,7 @@ services: | |||
- production | |||
|
|||
# Headless browser for testing | |||
headless: | |||
scheduler_headless: |
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.
made service name match container name just for clarity; shouldnt change anything to my understanding
@@ -492,7 +495,7 @@ def nabu_orgs_release(context: OpExecutionContext): | |||
|
|||
|
|||
@asset(partitions_def=sources_partitions_def, deps=[nabu_orgs_release]) | |||
def nabu_orgs(context: OpExecutionContext): | |||
def nabu_orgs_prefix(context: OpExecutionContext): |
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.
added the word prefix to make it clear that the nabu prefix X
command is being ran
@@ -427,7 +430,7 @@ def nabu_prov_release(context): | |||
) | |||
|
|||
|
|||
@asset(partitions_def=sources_partitions_def, deps=[nabu_prov_release]) | |||
@asset(partitions_def=sources_partitions_def, deps=[gleaner]) |
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.
prov_clear clears the triplestore whereas prov_release generates a nq file but does not operate on the triplestore. Thus they can be done in parallel and are not dependent on each other
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.
assert ( | ||
len(Lines) > 0 | ||
), f"No sitemaps found in sitemap index {REMOTE_GLEANER_SITEMAP}" | ||
assert len(Lines) > 0, f"No sitemaps found in index {REMOTE_GLEANER_SITEMAP}" |
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.
made this shorter since my local ruff formatted is different from ruff in precommit for some reason and messes with this if it is too long
No description provided.