domino-py-iisas 1.0.5__py3-none-any.whl → 1.0.6__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.5
1
+ 1.0.6
@@ -1,7 +1,7 @@
1
1
  # Configuration file for running Domino platform locally
2
2
 
3
3
  [airflow]
4
- AIRFLOW_APISERVER_PORT_HOST = 8080
4
+ AIRFLOW_API_SERVER_PORT_HOST = 8080
5
5
 
6
6
  [path]
7
7
  DOMINO_LOCAL_RUNNING_PATH = ""
@@ -4,6 +4,6 @@ COLOR_PALETTE = {
4
4
  "error": "rgb(176,109,109)"
5
5
  }
6
6
 
7
- DOMINO_HELM_PATH = 'domino/domino'
8
- DOMINO_HELM_VERSION = '0.1.6'
7
+ DOMINO_HELM_PATH = 'domino-iisas/domino'
8
+ DOMINO_HELM_VERSION = '0.2.0'
9
9
  DOMINO_HELM_REPOSITORY = 'https://iisas.github.io/domino/'
@@ -61,15 +61,15 @@ services:
61
61
  start_period: 30s
62
62
  restart: always
63
63
 
64
- airflow-apiserver:
64
+ airflow-api-server:
65
65
  <<: *airflow-common
66
- container_name: airflow-apiserver
66
+ container_name: airflow-api-server
67
67
  command: api-server
68
68
  environment:
69
69
  AIRFLOW__CORE__SIMPLE_AUTH_MANAGER_USERS: 'airflow:admin'
70
70
  AIRFLOW__CORE__SIMPLE_AUTH_MANAGER_PASSWORDS_FILE: '/opt/airflow/passwords.json'
71
71
  ports:
72
- - ${AIRFLOW_APISERVER_PORT_HOST:-8080}:8080
72
+ - ${AIRFLOW_API_SERVER_PORT_HOST:-8080}:8080
73
73
  healthcheck:
74
74
  test:
75
75
  [
@@ -183,7 +183,7 @@ def create_platform(install_airflow: bool = True, use_gpu: bool = False) -> None
183
183
  ),
184
184
  dict(
185
185
  containerPort=8080,
186
- hostPort=platform_config['airflow'].get('AIRFLOW_APISERVER_PORT_HOST', 8080),
186
+ hostPort=platform_config['airflow'].get('AIRFLOW_API_SERVER_PORT_HOST', 8080),
187
187
  listenAddress="0.0.0.0",
188
188
  protocol="TCP"
189
189
  )
@@ -435,7 +435,7 @@ def create_platform(install_airflow: bool = True, use_gpu: bool = False) -> None
435
435
  }
436
436
 
437
437
  # Update Helm repositories
438
- subprocess.run(["helm", "repo", "add", "domino", DOMINO_HELM_REPOSITORY])
438
+ subprocess.run(["helm", "repo", "add", "domino-iisas", DOMINO_HELM_REPOSITORY])
439
439
  subprocess.run(["helm", "repo", "add", "apache-airflow", "https://airflow.apache.org/"]) # ref: https://github.com/helm/helm/issues/8036
440
440
  subprocess.run(["helm", "repo", "update"])
441
441
 
@@ -450,7 +450,7 @@ def create_platform(install_airflow: bool = True, use_gpu: bool = False) -> None
450
450
  "-f", str(fp.name),
451
451
  "airflow",
452
452
  "apache-airflow/airflow",
453
- "--version", " 1.11.0",
453
+ "--version", " 1.18.0",
454
454
  ]
455
455
  subprocess.run(commands)
456
456
 
@@ -464,7 +464,7 @@ def create_platform(install_airflow: bool = True, use_gpu: bool = False) -> None
464
464
  commands = [
465
465
  "helm", "install",
466
466
  "-f", str(fp.name),
467
- "domino",
467
+ "domino-iisas",
468
468
  helm_domino_path
469
469
  ]
470
470
  subprocess.run(commands)
@@ -486,7 +486,7 @@ def create_platform(install_airflow: bool = True, use_gpu: bool = False) -> None
486
486
  commands = [
487
487
  "helm", "install",
488
488
  "-f", str(fp.name),
489
- "domino",
489
+ "domino-iisas",
490
490
  f"{tmp_dir}/domino",
491
491
  ]
492
492
  subprocess.run(commands)
@@ -705,6 +705,15 @@ def run_platform_compose(
705
705
  if platform_config['domino_db'].get('DOMINO_DB_HOST') in ['localhost', '0.0.0.0', '127.0.0.1']:
706
706
  os.environ['NETWORK_MODE'] = 'host'
707
707
 
708
+ os.environ['AIRFLOW_API_SERVER_PORT_HOST'] = str(platform_config['airflow'].get("AIRFLOW_API_SERVER_PORT_HOST", 8080))
709
+ os.environ['AIRFLOW_UID'] = str(platform_config['airflow'].get("AIRFLOW_UID", 1000))
710
+ os.environ['DOCKER_PROXY_PORT_HOST'] = str(platform_config['docker_proxy'].get("DOCKER_PROXY_PORT_HOST", 2376))
711
+ os.environ['DOMINO_FRONTEND_BASENAME'] = str(platform_config['domino_frontend'].get('DOMINO_FRONTEND_BASENAME', '/'))
712
+ os.environ['DOMINO_FRONTEND_PORT_HOST'] = str(platform_config['domino_frontend'].get('DOMINO_FRONTEND_PORT_HOST', 3000))
713
+ os.environ['DOMINO_REST_PORT_HOST'] = str(platform_config['domino_rest'].get('DOMINO_REST_PORT_HOST', 8000))
714
+ os.environ['FLOWER_PORT_HOST'] = str(platform_config['flower'].get('FLOWER_PORT_HOST', 5555))
715
+
716
+
708
717
  # Create local directories
709
718
  local_path = Path(".").resolve()
710
719
  domino_dir = local_path / "domino_data"
@@ -798,7 +807,7 @@ def run_platform_compose(
798
807
  if not airflow_worker_ready and "airflow-domino-worker" in line and "execute_command" in line:
799
808
  console.print(" \u2713 Airflow worker service started successfully!", style=f"bold {COLOR_PALETTE.get('success')}")
800
809
  airflow_worker_ready = True
801
- if not airflow_api_ready and "airflow-apiserver" in line and "health" in line and "200" in line:
810
+ if not airflow_api_ready and "airflow-api-server" in line and "health" in line and "200" in line:
802
811
  console.print(" \u2713 Airflow API Server service started successfully!", style=f"bold {COLOR_PALETTE.get('success')}")
803
812
  airflow_api_ready = True
804
813
  if not airflow_scheduler_ready and "airflow-domino-scheduler" in line and "launched" in line:
@@ -840,7 +849,7 @@ def run_platform_compose(
840
849
  console.print("Domino UI: http://{}:{}".format(os.environ.get('HOSTNAME', 'localhost'), os.environ.get('DOMINO_FRONTEND_PORT_HOST', 3000)))
841
850
  console.print("Domino REST API: http://{}:{}".format(os.environ.get('HOSTNAME', 'localhost'), os.environ.get('DOMINO_REST_PORT_HOST', 8000)))
842
851
  console.print("Domino REST API Docs: http://{}:{}/docs".format(os.environ.get('HOSTNAME', 'localhost'), os.environ.get('DOMINO_REST_PORT_HOST', 8000)))
843
- console.print("Airflow API Server: http://{}:{}".format(os.environ.get('HOSTNAME', 'localhost'), os.environ.get('AIRFLOW_APISERVER_PORT_HOST', 8080)))
852
+ console.print("Airflow API Server: http://{}:{}".format(os.environ.get('HOSTNAME', 'localhost'), os.environ.get('AIRFLOW_API_SERVER_PORT_HOST', 8080)))
844
853
  console.print("")
845
854
  console.print("To stop the platform, run:")
846
855
  console.print(" $ domino platform stop-compose")
@@ -894,7 +903,7 @@ def stop_platform_compose() -> None:
894
903
  "domino-docker-proxy",
895
904
  "airflow-domino-scheduler",
896
905
  "airflow-domino-worker",
897
- "airflow-apiserver",
906
+ "airflow-api-server",
898
907
  "airflow-triggerer",
899
908
  "airflow-redis",
900
909
  "airflow-postgres",
@@ -149,7 +149,7 @@ def create_docker_compose_file(
149
149
  services = {
150
150
  "postgres": airflow_postgres,
151
151
  "redis": airflow_redis,
152
- "airflow-apiserver": api_def[run_scope],
152
+ "airflow-api-server": api_def[run_scope],
153
153
  "airflow-scheduler": scheduler_def[run_scope],
154
154
  "airflow-init": airflow_init,
155
155
  **dependencies_services
@@ -31,7 +31,7 @@ airflow_common_env = {
31
31
  "AIRFLOW__LOGGING__BASE_LOG_FOLDER": f"{airflow_home_docker}/logs",
32
32
  "AIRFLOW__LOGGING__DAG_PROCESSOR_MANAGER_LOG_LOCATION": f"{airflow_home_docker}/logs/dag_processor_manager/dag_processor_manager.log",
33
33
  "AIRFLOW__SCHEDULER__CHILD_PROCESS_LOG_DIRECTORY": f"{airflow_home_docker}/logs/scheduler",
34
- "AIRFLOW_APISERVER_HOST": "http://localhost:8080",
34
+ "AIRFLOW_API_SERVER_HOST": "http://localhost:8080",
35
35
  # Default from original docker-compose.yaml
36
36
  "AIRFLOW__CORE__EXECUTOR": "CeleryExecutor",
37
37
  "AIRFLOW__CORE__SQL_ALCHEMY_CONN": "postgresql+psycopg2://airflow:airflow@postgres/airflow",
@@ -93,7 +93,7 @@ x_airflow_common_dev = {
93
93
  airflow_api = {
94
94
  **x_airflow_common,
95
95
  "environment": airflow_common_env,
96
- "container_name": "airflow-apiserver",
96
+ "container_name": "airflow-api-server",
97
97
  "command": "api-server",
98
98
  "ports": [
99
99
  "8081:8080"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: domino-py-iisas
3
- Version: 1.0.5
3
+ Version: 1.0.6
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:
@@ -252,4 +252,44 @@ Requires-Dist: apache-airflow-providers-cncf-kubernetes==10.7.0; extra == "full"
252
252
  Requires-Dist: apache-airflow-providers-docker==4.4.2; extra == "full"
253
253
  Dynamic: license-file
254
254
 
255
- This is a fork of the [Domino](https://github.com/Tauffer-Consulting/domino) project with added support of [Apache Airflow v3.0.6](https://github.com/apache/airflow/tree/3.0.6).
255
+ <br>
256
+ <p align="center">
257
+ <a href="https://iisas.github.io/domino-docs/docs/intro">
258
+ <img alt="Documentation" src="https://img.shields.io/badge/Documentation-docs?logo=readthedocs&logoColor=white&labelColor=gray&color=%231e4c94">
259
+ </a>
260
+ <a href="https://pypi.org/project/domino-py-iisas">
261
+ <img alt="PyPI" src="https://img.shields.io/pypi/v/domino-py-iisas?color=%231BA331&label=PyPI&logo=python&logoColor=%23F7F991">
262
+ </a>
263
+ <a href="https://artifacthub.io/packages/helm/domino-iisas/domino">
264
+ <img alt="ArtifactHub" src="https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/domino-iisas">
265
+ </a>
266
+ </p>
267
+ <br>
268
+
269
+ # Domino (IISAS Fork)
270
+
271
+ This repository is a **fork** of the original [Tauffer-Consulting/Domino](https://github.com/Tauffer-Consulting/domino) project,
272
+ enhanced with support for **[Apache Airflow v3.0.6](https://github.com/apache/airflow/tree/3.0.6)** and related platform improvements.
273
+
274
+ Please refer to the [original Domino README](https://github.com/Tauffer-Consulting/domino/blob/main/README.md) for detailed usage and background information.
275
+
276
+ ---
277
+
278
+ ### 🔗 Useful Links
279
+
280
+ - 📘 **Documentation:** [tauffer-consulting.github.io/domino-docs](https://tauffer-consulting.github.io/domino-docs/docs/intro)
281
+ - 🐍 **Python package (PyPI):** [domino-py-iisas](https://pypi.org/project/domino-py-iisas)
282
+ - ☸️ **Helm chart (ArtifactHub):** [Domino on ArtifactHub](https://artifacthub.io/packages/helm/domino-iisas/domino)
283
+
284
+ ---
285
+
286
+ ### 🧩 Summary of Additions
287
+ - Added compatibility with **Apache Airflow 3.0.6**
288
+ - Added **configurable subpaths and ports**
289
+ - Adjusted Helm and Python package publishing workflow
290
+
291
+ ---
292
+
293
+ ### ⚖️ License
294
+ This project inherits the license of the [original Domino project](https://github.com/Tauffer-Consulting/domino).
295
+
@@ -1,4 +1,4 @@
1
- domino/VERSION,sha256=jFS_q38a6b0acUjq5B57Co9K03JuDKxw-COi1F255gw,6
1
+ domino/VERSION,sha256=UcGNyGlIYb60emeJTmEESGQhRDU4n206J0cE2VZv-Ww,6
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
@@ -8,11 +8,11 @@ domino/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
8
  domino/cli/cli.py,sha256=efdDEFw08ieb4gcVTMMkaAyo7e-6OpLq34q5ExUM8vI,14372
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
- domino/cli/utils/config-domino-local.toml,sha256=VGwEBPygTzyaiGdt2B3QAOVs0MyjmwCN5VZbtwp1A8k,852
12
- domino/cli/utils/constants.py,sha256=lRIRQawTyOePcMoZYggtER3kFDv_Pzu5o66v7h_kQ-c,246
13
- domino/cli/utils/docker-compose.yaml,sha256=ysWa5x_jSY8TZzGaodgh6MJVvrK7SDeA4NrGhF4MSJU,12664
11
+ domino/cli/utils/config-domino-local.toml,sha256=0VaOJij0eQdRVHmpUi_Ee8pid_N0NnZF8y79u-Q63bo,853
12
+ domino/cli/utils/constants.py,sha256=8CbuNpXqCFCFjtcRt1X3_2i0udPerdUbIs4Z35AFRhc,252
13
+ domino/cli/utils/docker-compose.yaml,sha256=r2M5-Unp5MXvkCYLVy9Z4qXVN1onYlncTqlHHJaKJQc,12667
14
14
  domino/cli/utils/pieces_repository.py,sha256=5lkUZtY3PH5pSwenNDi2kGfxWLL4v2uWLNYI62Sd16Q,22760
15
- domino/cli/utils/platform.py,sha256=rYeCH0wQhn6HUG8j6o_YMKoCQYZldNo0yQVrJ_JdnD4,41979
15
+ domino/cli/utils/platform.py,sha256=GhKT86xDYIMUJ5Xwo16spR_5wCq4HHN_Ki3EgjKLmD0,42817
16
16
  domino/cli/utils/templates.py,sha256=b7YhxqblrWeFhxmYiFh_iqRcJxIUZgPiaWhOHeb0shY,1982
17
17
  domino/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
18
  domino/client/domino_backend_client.py,sha256=GuE4nZYt7Ke8vrnSa7o2VRAUYvy19RdyYwJD6WpoAik,2861
@@ -47,9 +47,9 @@ domino/scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
47
47
  domino/scripts/build_docker_images_pieces.py,sha256=SwxyBcNqfcGGB9d5Pwsht1VKOSfLaYRwjY5KZS_ZinM,5335
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
- domino/scripts/deprecated/create_docker_compose_file.py,sha256=Gh78HNG4K0xm73yYG-uOboGBWeFymxAiEIhqnGFtKcs,6731
50
+ domino/scripts/deprecated/create_docker_compose_file.py,sha256=RPpmVRtYUxmG5W78oayb3LYBkvcsEx-_FKK2uoJIOuo,6732
51
51
  domino/scripts/deprecated/deprecated_piece_dry_run.py,sha256=nZLnj6uaw4RU64imGIWUzR34U_av5dap-2DNjRszvWw,1959
52
- domino/scripts/deprecated/docker_compose_constants.py,sha256=z4LksRv-Ja0gKueDw6-WQGGWPGHPJm2_kCBFYseZ5l0,11816
52
+ domino/scripts/deprecated/docker_compose_constants.py,sha256=m4qJPoTkvP-Vx4_azvo3EB9wzovXNsp58rU-TO5ehsw,11818
53
53
  domino/scripts/deprecated/docker_compose_scripts.py,sha256=T9zIgfDOl2MxbT-mAfQLehsW_jxRshUn6SaZx2LvbDs,2560
54
54
  domino/scripts/deprecated/run_piece_bash.py,sha256=C5iA-qGfCI_3rPT41QnB-5ACX9IE96GD1qF0qf8yZTc,2219
55
55
  domino/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.5.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
67
- domino_py_iisas-1.0.5.dist-info/METADATA,sha256=sWbRQkyXxVp3vvacgOYe1CKRia8IdcjCILeFLJnVuyg,15476
68
- domino_py_iisas-1.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
- domino_py_iisas-1.0.5.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
70
- domino_py_iisas-1.0.5.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
71
- domino_py_iisas-1.0.5.dist-info/RECORD,,
66
+ domino_py_iisas-1.0.6.dist-info/licenses/LICENSE,sha256=ZOzivsSTOmVUr23IVL-IMv2nDRhWBp4hVxwYTNe4fBc,11353
67
+ domino_py_iisas-1.0.6.dist-info/METADATA,sha256=kks2Ta-i8LO3eBNZ93VhDKRAFSLGqGcjlGoR0V-96-o,17095
68
+ domino_py_iisas-1.0.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
69
+ domino_py_iisas-1.0.6.dist-info/entry_points.txt,sha256=EBX10akoWncqaYPjad7nTNFpge2bbooLSZJGPT-Ivzk,46
70
+ domino_py_iisas-1.0.6.dist-info/top_level.txt,sha256=Mo0jr96Ke1GnB5Qa_U9nSu_7yRSWsu5dvPJk8RFiwRw,7
71
+ domino_py_iisas-1.0.6.dist-info/RECORD,,