mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07: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
15
test/utils/docker/cloudstack-simulator/run.sh
Executable file
15
test/utils/docker/cloudstack-simulator/run.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
until nc -z localhost 8096; do
|
||||
echo "waiting for port 8096..."
|
||||
sleep 3
|
||||
done
|
||||
|
||||
sleep 3
|
||||
if [ ! -e /var/www/html/admin.json ]
|
||||
then
|
||||
python /opt/cloudstack/tools/marvin/marvin/deployDataCenter.py -i /opt/zones.cfg
|
||||
export CLOUDSTACK_ENDPOINT=http://127.0.0.1:8096
|
||||
export CLOUDSTACK_KEY=""
|
||||
export CLOUDSTACK_SECRET=""
|
||||
cs listUsers account=admin | jq .user[0] > /var/www/html/admin.json
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue