domino-py-iisas 1.0.19__py3-none-any.whl → 1.0.21__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- domino/VERSION +1 -1
- domino/custom_operators/k8s_operator.py +5 -3
- domino/schemas/shared_storage.py +5 -0
- {domino_py_iisas-1.0.19.dist-info → domino_py_iisas-1.0.21.dist-info}/METADATA +1 -1
- {domino_py_iisas-1.0.19.dist-info → domino_py_iisas-1.0.21.dist-info}/RECORD +9 -9
- {domino_py_iisas-1.0.19.dist-info → domino_py_iisas-1.0.21.dist-info}/WHEEL +1 -1
- {domino_py_iisas-1.0.19.dist-info → domino_py_iisas-1.0.21.dist-info}/entry_points.txt +0 -0
- {domino_py_iisas-1.0.19.dist-info → domino_py_iisas-1.0.21.dist-info}/licenses/LICENSE +0 -0
- {domino_py_iisas-1.0.19.dist-info → domino_py_iisas-1.0.21.dist-info}/top_level.txt +0 -0
domino/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.21
|
|
@@ -177,10 +177,10 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
|
|
|
177
177
|
|
|
178
178
|
if not self.workflow_shared_storage or self.workflow_shared_storage.mode.name == 'none':
|
|
179
179
|
return pod
|
|
180
|
-
if self.workflow_shared_storage.source.name in ["aws_s3", "gcs"]:
|
|
180
|
+
if self.workflow_shared_storage.source.name in ["aws_s3", "local", "gcs"]:
|
|
181
181
|
pod = self.add_shared_storage_sidecar(pod)
|
|
182
|
-
elif self.workflow_shared_storage.source.name == "local":
|
|
183
|
-
|
|
182
|
+
#elif self.workflow_shared_storage.source.name == "local":
|
|
183
|
+
# pod = self.add_local_shared_storage_volumes(pod)
|
|
184
184
|
return pod
|
|
185
185
|
|
|
186
186
|
|
|
@@ -225,6 +225,8 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
|
|
|
225
225
|
secret_key=storage_piece_secrets.get('AWS_SECRET_ACCESS_KEY'),
|
|
226
226
|
bucket=self.workflow_shared_storage.bucket,
|
|
227
227
|
)
|
|
228
|
+
elif self.workflow_shared_storage.source.name == 'local':
|
|
229
|
+
validated = True
|
|
228
230
|
return validated
|
|
229
231
|
|
|
230
232
|
def add_shared_storage_sidecar(self, pod: k8s.V1Pod) -> k8s.V1Pod:
|
domino/schemas/shared_storage.py
CHANGED
|
@@ -34,6 +34,11 @@ class WorkflowSharedStorage(BaseModel):
|
|
|
34
34
|
class LocalSharedStorage(WorkflowSharedStorage):
|
|
35
35
|
source: StorageSource = StorageSource.local
|
|
36
36
|
storage_piece_name: str = "LocalStoragePiece" # TODO to be implemented
|
|
37
|
+
base_folder: str = Field(
|
|
38
|
+
description="The base folder to be used as the root of the storage source.",
|
|
39
|
+
default="",
|
|
40
|
+
)
|
|
41
|
+
|
|
37
42
|
|
|
38
43
|
|
|
39
44
|
class AwsS3SharedStorage(WorkflowSharedStorage):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: domino-py-iisas
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.21
|
|
4
4
|
Summary: Fork of the original Python package for Domino.
|
|
5
5
|
Author-email: Stefan Dlugolinsky <stefan.dlugolinsky@savba.sk>, Luiz Tauffer <luiz@taufferconsulting.com>, Vinicius Vaz <vinicius@taufferconsulting.com>
|
|
6
6
|
License:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
domino/VERSION,sha256=
|
|
1
|
+
domino/VERSION,sha256=fBfSnMiKxIVLWqBN2PbctUMeBczVF6FVJ2nbmUhdPQw,7
|
|
2
2
|
domino/__init__.py,sha256=I3dmIBqKnlYjo-VFCDdA_7YUqsNT-i9QtQqXnV9pW4U,233
|
|
3
3
|
domino/base_piece.py,sha256=LZE08XqU63Zq_W7G9DuFk8ZEjKNhgSE7pumXBctW9BE,17610
|
|
4
4
|
domino/logger.py,sha256=08Km3_NmgYH3HrxJjZJWGSmOv7dE5E5xvo9_ZnKut_o,889
|
|
@@ -22,7 +22,7 @@ domino/client/legacy/fs_client.py,sha256=x5Mpc3hECJSXCNMSPTJMJ47k730MYouU6GAZIsV
|
|
|
22
22
|
domino/client/legacy/s3_client.py,sha256=N9aueHdpIsIGNvhv6ONSdGGRB4Jlnb5SC7AaxVLlfDs,2739
|
|
23
23
|
domino/custom_operators/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
domino/custom_operators/docker_operator.py,sha256=CaKG6Zk3ReLzWAA8CNkcZa-rx4uRGCqflXzvkkPr8WU,8925
|
|
25
|
-
domino/custom_operators/k8s_operator.py,sha256=
|
|
25
|
+
domino/custom_operators/k8s_operator.py,sha256=LYUozQCDclgVr_dURFhRUy4DHJ7ZflX9ZXXrJ9C3Fhc,26408
|
|
26
26
|
domino/custom_operators/python_operator.py,sha256=Dc5ltIliFBk6kPcaEROvuMZ0Cb3oG8tVK7WGa0yx7m8,3484
|
|
27
27
|
domino/custom_operators/worker_operator.py,sha256=aEd45nqdsUbmIzlJinBwOcTxF8MgjtaRgRXaANmKdbU,1335
|
|
28
28
|
domino/custom_operators/deprecated/base_operator.py,sha256=1IrwZcESeZFyqDTnu0DkgdCdlG03Do9SaSy4AmingfY,2001
|
|
@@ -42,7 +42,7 @@ domino/schemas/container_resources.py,sha256=FCqqWYf2qchJ1cMDBzk_x6pbZhwaOVstTY7
|
|
|
42
42
|
domino/schemas/deploy_mode.py,sha256=N3MFAnigL3kwqyQP0JpYATyOqVby4nldsCv7VQMZwwo,145
|
|
43
43
|
domino/schemas/display_result.py,sha256=j5GAQKk6RWeLPpOhvJHDhd81fqMpMxQpa0TAl4ZLmAk,277
|
|
44
44
|
domino/schemas/piece_metadata.py,sha256=GeeHRxUebTY_UCK2UJ0Ae72UI3fzZqMvTF7AQZfk8qQ,1481
|
|
45
|
-
domino/schemas/shared_storage.py,sha256=
|
|
45
|
+
domino/schemas/shared_storage.py,sha256=pjuwocQ65HCNUAPgRaLBcrA3yWt-bv0rhWasJD9quKo,1576
|
|
46
46
|
domino/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
47
|
domino/scripts/build_docker_images_pieces.py,sha256=Hu0qKQ7MSUkIAOVOOvWK61_HzecYi6wrUv5juW_nHws,5474
|
|
48
48
|
domino/scripts/load_piece.py,sha256=pOwbMEX_hFGkaRdKxN8X8XEMaDB7MR_rXiNPFa6qLlg,1402
|
|
@@ -63,9 +63,9 @@ domino/utils/__init__.py,sha256=7CET-zz6y1EBuBJQLgF3rXNhKOSj32Z3X_3mKUAirII,231
|
|
|
63
63
|
domino/utils/metadata_default.py,sha256=4tbmWoVuoRMxd2c2vkwKYLkTTDf1I0OooXB_P5DGWXM,455
|
|
64
64
|
domino/utils/piece_generator.py,sha256=Yww5PwH-EDLqNrnWAinCgpG5-uQSVi_3UbMw4HZCE-E,514
|
|
65
65
|
domino/utils/workflow_shared_storage.py,sha256=USt_Q6nRGrtbcgrWHjtEvBDMSGSDd3BwUrZVe0RItH0,272
|
|
66
|
-
domino_py_iisas-1.0.
|
|
67
|
-
domino_py_iisas-1.0.
|
|
68
|
-
domino_py_iisas-1.0.
|
|
69
|
-
domino_py_iisas-1.0.
|
|
70
|
-
domino_py_iisas-1.0.
|
|
71
|
-
domino_py_iisas-1.0.
|
|
66
|
+
domino_py_iisas-1.0.21.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
|
|
67
|
+
domino_py_iisas-1.0.21.dist-info/METADATA,sha256=kxueCKf6OZgh9IRaYz2zzkQ9bDF47M1OzRAtXOx036I,17096
|
|
68
|
+
domino_py_iisas-1.0.21.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
69
|
+
domino_py_iisas-1.0.21.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
|
|
70
|
+
domino_py_iisas-1.0.21.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
|
|
71
|
+
domino_py_iisas-1.0.21.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|