mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-25 16:06:43 +00:00
automated integration tests for cloudstack (#20552)
This commit is contained in:
31
test/utils/docker/cloudstack-simulator/README.rst
Normal file
31
test/utils/docker/cloudstack-simulator/README.rst
Normal file
@@ -0,0 +1,31 @@
|
||||
CloudStack Simulator as Docker Image
|
||||
====================================
|
||||
|
||||
The purpose of this docker image is to run automated integration tests for the CloudStack modules in Ansible.
|
||||
|
||||
Setup
|
||||
-----
|
||||
|
||||
The docker image runs the CloudStack simulator and contains two zones for the different network setups: `basic` and `advanced` networking.
|
||||
|
||||
- CloudStack Zone: Sandbox-simulator-advanced
|
||||
- Zone: Sandbox-simulator-basic
|
||||
|
||||
Build
|
||||
-----
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
docker build -t ansible/cloudstack-simulator .
|
||||
|
||||
Run
|
||||
---
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
docker run --name cloudstack-simulator -d -p 8888:8888 ansible/cloudstack-simulator
|
||||
|
||||
|
||||
.. Note::
|
||||
|
||||
It may take some time until the zones are deployed. The web server will respond with HTTP 503 on port 8888 unless the zones are fully deployed.
|
||||
Reference in New Issue
Block a user