aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-21 11:06:27 +0200
committerPaweł Wieczorek <p.wieczorek2@samsung.com>2020-07-27 12:46:58 +0000
commit6c4d32e5f5c2f68796c66819f2f3de1652a5f3c1 (patch)
treecd98fac1bb8778293f69f0f9b0b8213a0f3d388f /test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
parent18aaab4bd16d410815f81906227aa82a77171296 (diff)
Setup runner script for the simulator in HOT
This adds shell runner script and HOT setup to deploy and run it. Change-Id: I88b9b516f38dac789da1caa050192358829e9357 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml')
-rw-r--r--test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml b/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
index 73d9f090b..583c1a54f 100644
--- a/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
+++ b/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
@@ -8,8 +8,11 @@ packages:
- docker-ce
- docker-ce-cli
- containerd.io
+ - docker-compose
+ - python3-virtualenv
+ - python3-pip
# Docker's apt key needs to be injected early in the boot as 'apt' cloud-init
-# module doesn't support configuring key from file
+# module doesn't support configuring key from file
bootcmd:
- [curl, "https://download.docker.com/linux/ubuntu/gpg", -o, /run/docker.key]
- [apt-key, add, /run/docker.key]
@@ -17,3 +20,6 @@ apt:
sources:
docker:
source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu $RELEASE stable"
+runcmd:
+ - [pip3, install, tox]
+ - [bash, /root/mass-pnf-sim_run.sh]