mirror of
https://github.com/ansible/foreman-test-container
synced 2026-04-05 19:23:40 +00:00
No description
- Python 87.6%
- Dockerfile 6.3%
- Makefile 6.1%
| fixtures | ||
| .gitignore | ||
| azure-pipelines.yml | ||
| constraints.txt | ||
| COPYING | ||
| Dockerfile | ||
| foreman_stub.py | ||
| fqdn_sanitizer.py | ||
| Makefile | ||
| README.rst | ||
Foreman API v2 stub server
--------------------------
Prerequisites
=============
.. note::
Scripts in this folder require Python 3.6+ runtime.
Sanitizing
~~~~~~~~~~
.. code:: shell
$ ./fqdn_sanitizer.py fixtures/*.json
Running
=======
Start the stub:
.. code:: shell
$ ./flaskapp.py
In docker:
.. code:: shell
$ make
In docker (dev):
.. code:: shell
$ make dev