orchestrator-lso 1.0.2__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.2"
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.2
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,12 @@ 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
34
  Requires-Dist: requests~=2.31.0
35
35
  Requires-Dist: types-setuptools ; extra == "dev"
36
36
  Requires-Dist: types-requests ; extra == "dev"
@@ -42,6 +42,7 @@ Requires-Dist: sphinx ; extra == "doc"
42
42
  Requires-Dist: sphinx-rtd-theme ; extra == "doc"
43
43
  Requires-Dist: docutils ; extra == "doc"
44
44
  Requires-Dist: pytest ; extra == "test"
45
+ Requires-Dist: pytest-cov ; extra == "test"
45
46
  Requires-Dist: Faker ; extra == "test"
46
47
  Requires-Dist: responses ; extra == "test"
47
48
  Requires-Dist: mypy ; extra == "test"
@@ -54,7 +55,10 @@ Provides-Extra: dev
54
55
  Provides-Extra: doc
55
56
  Provides-Extra: test
56
57
 
57
- # 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)
58
62
 
59
63
  LSO: an API that allows for remotely executing Ansible playbooks.
60
64
 
@@ -75,18 +79,17 @@ To run LSO as a Docker container, build an image using the `Dockerfile.example`
75
79
  Use the Docker image to then spin up an environment. An example Docker compose file is presented below:
76
80
 
77
81
  ```yaml
78
- version: "3.5"
79
- services:
80
- lso:
81
- image: my-lso:latest
82
- environment:
83
- SETTINGS_FILENAME: /app/config.json
84
- ANSIBLE_ROLES_PATH: /app/lso/ansible_roles
85
- volumes:
86
- - "/home/user/config.json:/app/config.json:ro"
87
- - "/home/user/ansible_inventory:/opt/ansible_inventory:ro"
88
- - "~/.ssh/id_ed25519.pub:/root/.ssh/id_ed25519.pub:ro"
89
- - "~/.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"
90
93
  ```
91
94
 
92
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=i8iH7Iw8THP7l44JtI8Sw6H1qCbxr7KLaw4MqMXE0lA,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.2.dist-info/LICENSE,sha256=CgFXf7XbZXJADozQIw2uUmmvU-zwAwXo4u7cgDfx3rE,10744
10
- orchestrator_lso-1.0.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
11
- orchestrator_lso-1.0.2.dist-info/METADATA,sha256=Tj3m7eAxWZYz6_dQjmqUfOxczqOOlX_GH9qyWhvOK38,5066
12
- orchestrator_lso-1.0.2.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,,