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

Make minio local only; add a speedup; make headless prod only #92

Merged
merged 3 commits into from
Feb 6, 2025

Conversation

C-Loftus
Copy link
Member

@C-Loftus C-Loftus commented Feb 6, 2025

No description provided.

@@ -180,7 +182,7 @@ services:
- production

# Headless browser for testing
headless:
scheduler_headless:
Copy link
Member Author

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):
Copy link
Member Author

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])
Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

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

graph looks like this now

image

@C-Loftus C-Loftus requested a review from webb-ben February 6, 2025 18:47
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}"
Copy link
Member Author

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

@C-Loftus C-Loftus merged commit d9db156 into main Feb 6, 2025
4 checks passed
@C-Loftus C-Loftus deleted the moreSpeedups branch February 6, 2025 18:59
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.

2 participants