domino-py-iisas 1.0.14__py3-none-any.whl → 1.0.16__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 CHANGED
@@ -1 +1 @@
1
- 1.0.14
1
+ 1.0.16
@@ -5,5 +5,5 @@ COLOR_PALETTE = {
5
5
  }
6
6
 
7
7
  DOMINO_HELM_PATH = 'domino-iisas/domino'
8
- DOMINO_HELM_VERSION = '0.2.0'
9
- DOMINO_HELM_REPOSITORY = 'https://iisas.github.io/domino/'
8
+ DOMINO_HELM_VERSION = '0.3.1'
9
+ DOMINO_HELM_REPOSITORY = 'https://iisas.github.io/domino/'
@@ -10,9 +10,13 @@ from rich.console import Console
10
10
 
11
11
  console = Console()
12
12
 
13
+ def create_docker_client():
14
+ return docker.from_env(
15
+ timeout = int(os.environ.get("DOCKER_CLIENT_TIMEOUT", 60))
16
+ )
13
17
 
14
18
  def publish_image(source_image_name: str):
15
- client = docker.from_env()
19
+ client = create_docker_client()
16
20
  print(f"Publishing docker image: {source_image_name}")
17
21
  print(Style.RESET_ALL + Style.DIM, end='')
18
22
  try:
@@ -33,7 +37,7 @@ def build_image_from_tmp_dockerfile(
33
37
  path: str = ".",
34
38
  dockerfile: str = "Dockerfile-tmp"
35
39
  ):
36
- client = docker.from_env()
40
+ client = create_docker_client()
37
41
  try:
38
42
  os.environ["DOCKER_BUILDKIT"] = "1"
39
43
  print(Fore.BLUE + f"Building docker image: {source_image_name}")
domino/task.py CHANGED
@@ -116,7 +116,7 @@ class Task(object):
116
116
  workflow_shared_storage=self.workflow_shared_storage,
117
117
  container_resources=self.container_resources,
118
118
  # ----------------- Kubernetes -----------------
119
- namespace='default',
119
+ namespace='airflow',
120
120
  image=self.piece.get("source_image"),
121
121
  image_pull_policy='IfNotPresent',
122
122
  name=f"airflow-worker-pod-{self.task_id}",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: domino-py-iisas
3
- Version: 1.0.14
3
+ Version: 1.0.16
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,15 +1,15 @@
1
- domino/VERSION,sha256=TafAeNpokhr_A1hH48JIPDGBG9QBJMyLwCllTViWDCk,6
1
+ domino/VERSION,sha256=vdTdd5NzpmD4fYABrHO08MqItocUhu7gn646R5NOyzI,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
5
- domino/task.py,sha256=VNGo969ZOvevuDCexp8U3IN4lN1iX3vf5hs7rvnKd2o,6774
5
+ domino/task.py,sha256=ezTkVE98cOABDfRCgHw3h83fmgTNLHRhYJhwYqsl_WI,6774
6
6
  domino/actions/github_actions.py,sha256=sDXJYh4D93MiaWJq6BquARAInq5Zt887lXrPwceLwHE,2291
7
7
  domino/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  domino/cli/cli.py,sha256=lP-ApzSVT1rSF2BvxG3PD7zvOgAvrMsPyvpafgLs7_Y,15045
9
9
  domino/cli/tests/test_create_piece.py,sha256=DQuJDG8kVEtDHxQjh4uttbkp21vtsmsBPvZhAV8vvjs,3305
10
10
  domino/cli/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  domino/cli/utils/config-domino-local.toml,sha256=9Mu2GBHeYNLxt9o3be_7Hzl-li2USNCM3mZ0BwiAnyw,1083
12
- domino/cli/utils/constants.py,sha256=8CbuNpXqCFCFjtcRt1X3_2i0udPerdUbIs4Z35AFRhc,252
12
+ domino/cli/utils/constants.py,sha256=jPmJR0S7PB7eJkiV2P0ImvdQjDBsM23AQP0cR-QeAd0,253
13
13
  domino/cli/utils/docker-compose.yaml,sha256=7_xi4OMdTXj9Uf1hSSEnbpHHgWgxcyqQfve67aZpM0w,12667
14
14
  domino/cli/utils/pieces_repository.py,sha256=5lkUZtY3PH5pSwenNDi2kGfxWLL4v2uWLNYI62Sd16Q,22760
15
15
  domino/cli/utils/platform.py,sha256=OV_YHfmfznC8JJuywyO6Ni5fyl5abQjEtyjhsP_cMCs,48330
@@ -44,7 +44,7 @@ domino/schemas/display_result.py,sha256=j5GAQKk6RWeLPpOhvJHDhd81fqMpMxQpa0TAl4ZL
44
44
  domino/schemas/piece_metadata.py,sha256=GeeHRxUebTY_UCK2UJ0Ae72UI3fzZqMvTF7AQZfk8qQ,1481
45
45
  domino/schemas/shared_storage.py,sha256=fI7zjtPePD_dQ0pc_BC0FcKcPXtMu-LqhXfSFyPozRs,1434
46
46
  domino/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
- domino/scripts/build_docker_images_pieces.py,sha256=SwxyBcNqfcGGB9d5Pwsht1VKOSfLaYRwjY5KZS_ZinM,5335
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
49
49
  domino/scripts/run_piece_docker.py,sha256=2DcfnjhkgzwR9hqVOHOxxbVgWE-hDo9UZeYnH1T9mI8,1550
50
50
  domino/scripts/deprecated/create_docker_compose_file.py,sha256=RPpmVRtYUxmG5W78oayb3LYBkvcsEx-_FKK2uoJIOuo,6732
@@ -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.14.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
67
- domino_py_iisas-1.0.14.dist-info/METADATA,sha256=730RqlEQuWorDUSdGcLyOMOZWQL51wxX0qcjaSfSb5s,17096
68
- domino_py_iisas-1.0.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
- domino_py_iisas-1.0.14.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
70
- domino_py_iisas-1.0.14.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
71
- domino_py_iisas-1.0.14.dist-info/RECORD,,
66
+ domino_py_iisas-1.0.16.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
67
+ domino_py_iisas-1.0.16.dist-info/METADATA,sha256=G8emVlogAbYuWRRzpVJT6WFha7sTWQEoUIfjKHSA6oE,17096
68
+ domino_py_iisas-1.0.16.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
69
+ domino_py_iisas-1.0.16.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
70
+ domino_py_iisas-1.0.16.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
71
+ domino_py_iisas-1.0.16.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.9.0)
2
+ Generator: setuptools (80.10.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5