From 1732567ada856f9a419badbb642998875608cc5f Mon Sep 17 00:00:00 2001 From: amy wieliczka Date: Tue, 1 Oct 2024 13:01:35 -0700 Subject: [PATCH] Pass configured cache along to content_harvester --- dags/shared_tasks/content_harvest_operators.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dags/shared_tasks/content_harvest_operators.py b/dags/shared_tasks/content_harvest_operators.py index 7db7e331..dd3fd96c 100644 --- a/dags/shared_tasks/content_harvest_operators.py +++ b/dags/shared_tasks/content_harvest_operators.py @@ -81,6 +81,10 @@ def __init__(self, collection_id=None, with_content_urls_version=None, pages=Non "name": "CONTENT_ROOT", "value": "s3://rikolti-content" }, + { + "name": "CONTENT_COMPONENT_CACHE", + "value": os.environ.get("CONTENT_COMPONENT_CACHE") + }, { "name": "NUXEO_USER", "value": os.environ.get("NUXEO_USER") @@ -204,6 +208,7 @@ def __init__(self, collection_id, with_content_urls_version, pages, mapper_type, "MAPPED_DATA": mapped_data, "WITH_CONTENT_URL_DATA": with_content_url_data, "CONTENT_ROOT": content_root, + "CONTENT_COMPONENT_CACHE": os.environ.get("CONTENT_COMPONENT_CACHE"), "NUXEO_USER": os.environ.get("NUXEO_USER"), "NUXEO_PASS": os.environ.get("NUXEO_PASS") },