domino-py-iisas 1.0.29__py3-none-any.whl → 1.0.30__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 +15 -7
- {domino_py_iisas-1.0.29.dist-info → domino_py_iisas-1.0.30.dist-info}/METADATA +1 -1
- {domino_py_iisas-1.0.29.dist-info → domino_py_iisas-1.0.30.dist-info}/RECORD +8 -8
- {domino_py_iisas-1.0.29.dist-info → domino_py_iisas-1.0.30.dist-info}/WHEEL +0 -0
- {domino_py_iisas-1.0.29.dist-info → domino_py_iisas-1.0.30.dist-info}/entry_points.txt +0 -0
- {domino_py_iisas-1.0.29.dist-info → domino_py_iisas-1.0.30.dist-info}/licenses/LICENSE +0 -0
- {domino_py_iisas-1.0.29.dist-info → domino_py_iisas-1.0.30.dist-info}/top_level.txt +0 -0
domino/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.30
|
|
@@ -178,19 +178,27 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
|
|
|
178
178
|
self.task_id_replaced = self.task_id.lower().replace("_", "-") # doing this because airflow doesn't allow underscores and upper case in mount names and max len is 63
|
|
179
179
|
self.shared_storage_base_mount_path = '/home/shared_storage'
|
|
180
180
|
|
|
181
|
+
self.logger.info("self.workflow_shared_storage:")
|
|
182
|
+
self.logger.info(self.workflow_shared_storage)
|
|
183
|
+
|
|
181
184
|
if not self.workflow_shared_storage or self.workflow_shared_storage.mode.name == 'none':
|
|
182
185
|
return pod
|
|
183
|
-
if self.workflow_shared_storage.source.name in ["aws_s3", "
|
|
186
|
+
if self.workflow_shared_storage.source.name in ["aws_s3", "gcs"]:
|
|
184
187
|
pod = self.add_shared_storage_sidecar(pod)
|
|
185
|
-
|
|
186
|
-
|
|
188
|
+
elif self.workflow_shared_storage.source.name == "local":
|
|
189
|
+
pod = self.add_local_shared_storage_volumes(pod)
|
|
187
190
|
return pod
|
|
188
191
|
|
|
189
192
|
|
|
190
193
|
def add_local_shared_storage_volumes(self, pod: k8s.V1Pod) -> k8s.V1Pod:
|
|
191
194
|
"""Adds local shared storage volumes to the pod."""
|
|
192
195
|
pod_cp = copy.deepcopy(pod)
|
|
196
|
+
self.logger.info("pod_cp.spec.containers:")
|
|
197
|
+
self.logger.info(pod_cp.spec.containers)
|
|
198
|
+
pod_cp.spec.containers[0].security_context=k8s.V1SecurityContext(privileged=True)
|
|
199
|
+
|
|
193
200
|
pod_cp.spec.volumes = pod.spec.volumes or []
|
|
201
|
+
|
|
194
202
|
pod_cp.spec.volumes.append(
|
|
195
203
|
k8s.V1Volume(
|
|
196
204
|
name=f'workflow-shared-storage-volume-{self.task_id_replaced}'[0:63], # max resource name in k8s is 63 chars
|
|
@@ -347,11 +355,11 @@ class DominoKubernetesPodOperator(KubernetesPodOperator):
|
|
|
347
355
|
)
|
|
348
356
|
pod_cp.spec.containers.append(sidecar_container)
|
|
349
357
|
|
|
350
|
-
self.logger.info("pod_cp:")
|
|
351
|
-
self.logger.info(pod_cp)
|
|
358
|
+
#self.logger.info("pod_cp:")
|
|
359
|
+
#self.logger.info(pod_cp)
|
|
352
360
|
|
|
353
|
-
self.logger.info("self:")
|
|
354
|
-
self.logger.info(self)
|
|
361
|
+
#self.logger.info("self:")
|
|
362
|
+
#self.logger.info(self)
|
|
355
363
|
|
|
356
364
|
return pod_cp
|
|
357
365
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: domino-py-iisas
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.30
|
|
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=QAZHb_Id5Otc86FJcmvfHx0FuCDL6qSBgAvPoaLGepI,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=rRGRuF7l8pypWqIllkZ3l6Cyzcf4PfjROUUYekZAPqk,27346
|
|
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
|
|
@@ -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.30.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
|
|
67
|
+
domino_py_iisas-1.0.30.dist-info/METADATA,sha256=KDSHaJ6U2ZHHqym7tF2UJV2C3tf2BQ229c9BINXZJ1I,17096
|
|
68
|
+
domino_py_iisas-1.0.30.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
69
|
+
domino_py_iisas-1.0.30.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
|
|
70
|
+
domino_py_iisas-1.0.30.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
|
|
71
|
+
domino_py_iisas-1.0.30.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|