mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-16 22:44:54 +00:00
automated integration tests for cloudstack (#20552)
This commit is contained in:
parent
b58cf0d23a
commit
aaf4f04574
92 changed files with 1248 additions and 193 deletions
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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue