Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docker/snippets/ingestion/build_bundled_venvs_unified.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"""
Self-contained script to create bundled venvs for DataHub ingestion sources.
This script creates virtual environments with predictable names following the pattern:
<plugin-name>-default that are leveraged within acryl-executor to run ingestion jobs.
<plugin-name>-bundled that are leveraged within acryl-executor to run ingestion jobs.
"""

import os
Expand All @@ -12,12 +12,12 @@


def generate_venv_mappings(plugins: List[str]) -> List[Tuple[str, str]]:
"""Generate simple venv name mappings using <plugin-name>-default pattern."""
"""Generate simple venv name mappings using <plugin-name>-bundled pattern."""
venv_mappings = []

for plugin in plugins:
# Simple, predictable naming: <plugin-name>-default
venv_name = f"{plugin}-default"
# Simple, predictable naming: <plugin-name>-bundled
venv_name = f"{plugin}-bundled"
venv_mappings.append((plugin, venv_name))

return venv_mappings
Expand Down
2 changes: 1 addition & 1 deletion docker/snippets/ingestion/build_bundled_venvs_unified.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# Self-contained script to build bundled venvs for DataHub ingestion sources
# This script creates venvs with predictable names: <plugin-name>-default
# This script creates venvs with predictable names: <plugin-name>-bundled
# which are then leveraged within acryl-executor to run ingestion jobs.
set -euo pipefail

Expand Down
Loading