orchestrator-lso 1.0.1__py3-none-any.whl → 1.0.3__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.
lso/__init__.py CHANGED
@@ -13,7 +13,7 @@
13
13
 
14
14
  """LSO, an API for remotely running Ansible playbooks."""
15
15
 
16
- __version__ = "1.0.1"
16
+ __version__ = "1.0.3"
17
17
 
18
18
  import logging
19
19
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: orchestrator-lso
3
- Version: 1.0.1
3
+ Version: 1.0.3
4
4
  Summary: LSO, an API for remotely running Ansible playbooks.
5
5
  Author-email: GÉANT Orchestration and Automation Team <goat@geant.org>
6
6
  Requires-Python: >=3.11,<3.13
@@ -25,12 +25,13 @@ Classifier: License :: OSI Approved :: Apache Software License
25
25
  Classifier: Programming Language :: Python :: 3 :: Only
26
26
  Classifier: Programming Language :: Python :: 3.11
27
27
  Classifier: Programming Language :: Python :: 3.12
28
- Requires-Dist: ansible-runner~=2.3.4
29
- Requires-Dist: ansible~=9.3.0
30
- Requires-Dist: fastapi~=0.110.0
28
+ Requires-Dist: ansible-runner~=2.4.0
29
+ Requires-Dist: ansible~=10.1.0
30
+ Requires-Dist: fastapi~=0.112.1
31
31
  Requires-Dist: httpx~=0.27.0
32
32
  Requires-Dist: jsonschema~=4.21.1
33
- Requires-Dist: uvicorn[standard]~=0.28.0
33
+ Requires-Dist: uvicorn[standard]~=0.30.6
34
+ Requires-Dist: requests~=2.31.0
34
35
  Requires-Dist: types-setuptools ; extra == "dev"
35
36
  Requires-Dist: types-requests ; extra == "dev"
36
37
  Requires-Dist: toml ; extra == "dev"
@@ -41,6 +42,7 @@ Requires-Dist: sphinx ; extra == "doc"
41
42
  Requires-Dist: sphinx-rtd-theme ; extra == "doc"
42
43
  Requires-Dist: docutils ; extra == "doc"
43
44
  Requires-Dist: pytest ; extra == "test"
45
+ Requires-Dist: pytest-cov ; extra == "test"
44
46
  Requires-Dist: Faker ; extra == "test"
45
47
  Requires-Dist: responses ; extra == "test"
46
48
  Requires-Dist: mypy ; extra == "test"
@@ -53,7 +55,10 @@ Provides-Extra: dev
53
55
  Provides-Extra: doc
54
56
  Provides-Extra: test
55
57
 
56
- # Lightweight Service Orchestrator
58
+ ![Lightweight Service Orchestrator](./docs/LSO_banner.jpg)
59
+ [![Supported python versions](https://img.shields.io/pypi/pyversions/orchestrator-lso.svg?color=%2334D058)](https://pypi.org/project/orchestrator-lso)
60
+ [![Downloads](https://static.pepy.tech/badge/orchestrator-lso/month)](https://pepy.tech/project/orchestrator-lso)
61
+ [![codecov](https://codecov.io/github/workfloworchestrator/lso/graph/badge.svg?token=NVFHBBU3AR)](https://codecov.io/github/workfloworchestrator/lso)
57
62
 
58
63
  LSO: an API that allows for remotely executing Ansible playbooks.
59
64
 
@@ -74,18 +79,17 @@ To run LSO as a Docker container, build an image using the `Dockerfile.example`
74
79
  Use the Docker image to then spin up an environment. An example Docker compose file is presented below:
75
80
 
76
81
  ```yaml
77
- version: "3.5"
78
- services:
79
- lso:
80
- image: my-lso:latest
81
- environment:
82
- SETTINGS_FILENAME: /app/config.json
83
- ANSIBLE_ROLES_PATH: /app/lso/ansible_roles
84
- volumes:
85
- - "/home/user/config.json:/app/config.json:ro"
86
- - "/home/user/ansible_inventory:/opt/ansible_inventory:ro"
87
- - "~/.ssh/id_ed25519.pub:/root/.ssh/id_ed25519.pub:ro"
88
- - "~/.ssh/id_ed25519:/root/.ssh/id_ed25519:ro"
82
+ services:
83
+ lso:
84
+ image: my-lso:latest
85
+ environment:
86
+ SETTINGS_FILENAME: /app/config.json
87
+ ANSIBLE_ROLES_PATH: /app/lso/ansible_roles
88
+ volumes:
89
+ - "/home/user/config.json:/app/config.json:ro"
90
+ - "/home/user/ansible_inventory:/opt/ansible_inventory:ro"
91
+ - "~/.ssh/id_ed25519.pub:/root/.ssh/id_ed25519.pub:ro"
92
+ - "~/.ssh/id_ed25519:/root/.ssh/id_ed25519:ro"
89
93
  ```
90
94
 
91
95
  This will expose the API on port 8000. The container requires some more files to be mounted:
@@ -1,4 +1,4 @@
1
- lso/__init__.py,sha256=acntVIB9tCLK-shsDe4ob5w0RAY1EOZ1HW4Of8iopZY,1564
1
+ lso/__init__.py,sha256=vveEyutM6Gbg73OAo_oeAw418HED2t8du9PkXvRy4XI,1564
2
2
  lso/app.py,sha256=WDtlmjELIeFA437j-WPfqBQf6QT_l35LEABbEosHlqY,775
3
3
  lso/config.py,sha256=CB4Ydc8LxGaM24YrLMh59LxYFMOHGK03y4X9R-r_cAM,2436
4
4
  lso/environment.py,sha256=iZ3DmsSKAC5a7VNL-HfJOJZ0sQwUMf7ZzNGC34B2CG0,1771
@@ -6,7 +6,7 @@ lso/playbook.py,sha256=EuMdKtXjkcD-D-q5ytrKB0fXTT5IhOjnyEXiln0bdk0,4925
6
6
  lso/routes/__init__.py,sha256=1kRrth9zkFgmj6LChujieYJq5cjIETeTGXa1G70pduk,639
7
7
  lso/routes/default.py,sha256=a7STN1BJyFVizXUzmqKuADO0fpE1SHun-PzaZ-jx1wU,1438
8
8
  lso/routes/playbook.py,sha256=VwxCNRvIg-MTAXyHDHcFhAAY2vQQG77VVMJf_GjZsr4,3837
9
- orchestrator_lso-1.0.1.dist-info/LICENSE,sha256=CgFXf7XbZXJADozQIw2uUmmvU-zwAwXo4u7cgDfx3rE,10744
10
- orchestrator_lso-1.0.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
11
- orchestrator_lso-1.0.1.dist-info/METADATA,sha256=Is90092taHrjy2bZUief7iM05aEe35DVx4wSQjf1Uls,5034
12
- orchestrator_lso-1.0.1.dist-info/RECORD,,
9
+ orchestrator_lso-1.0.3.dist-info/LICENSE,sha256=CgFXf7XbZXJADozQIw2uUmmvU-zwAwXo4u7cgDfx3rE,10744
10
+ orchestrator_lso-1.0.3.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
11
+ orchestrator_lso-1.0.3.dist-info/METADATA,sha256=2GebmTzglr0F-H-k5lJnYqBkUy0nYMCax-pUjctCVb0,5521
12
+ orchestrator_lso-1.0.3.dist-info/RECORD,,