Skip to content

Commit 368badb

Browse files
committed
Making new env false by default so it will also have effect on runtime images
1 parent 60bba08 commit 368badb

File tree

7 files changed

+28
-14
lines changed

7 files changed

+28
-14
lines changed

runtimes/datascience/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

runtimes/minimal/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

runtimes/pytorch+llmcompressor/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

runtimes/pytorch/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

runtimes/rocm-pytorch/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

runtimes/rocm-tensorflow/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

runtimes/tensorflow/ubi9-python-3.12/utils/bootstrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@
4848
enable_pipeline_info = os.getenv("ELYRA_ENABLE_PIPELINE_INFO", "true").lower() == "true"
4949
# not only log File Operations output of NotebookFileOp, RFileOp, PythonFileOp to stdout so it appears
5050
# in runtime / container logs and also Airflow and KFP GUI logs, but also put output to S3 storage
51+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
5152
enable_generic_node_script_output_to_s3 = (
52-
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "true").lower() == "true"
53+
os.getenv("ELYRA_GENERIC_NODES_ENABLE_SCRIPT_OUTPUT_TO_S3", "false").lower() == "true"
5354
)
5455
# Set it to false to disable automatic package installation.
5556
# This is useful in airgapped environments where the image
5657
# already contains the required packages.
57-
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "true").lower() == "true"
58+
# NOTEBOOKS: Settings this to false so this will have effect both in Runtimes and Jupyter images
59+
install_packages = os.getenv("ELYRA_INSTALL_PACKAGES", "false").lower() == "true"
5860

5961
pipeline_name = None # global used in formatted logging
6062
operation_name = None # global used in formatted logging

0 commit comments

Comments
 (0)