aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-07-21 14:22:05 +0200
committerPaweł Wieczorek <p.wieczorek2@samsung.com>2020-07-27 12:46:58 +0000
commit4c6e4fc080c732420dead13d4d6eb2a55ddc3089 (patch)
tree9afc66c114cb0854a8e56f85c1049ab27b784396 /test/mocks/mass-pnf-sim
parent6c4d32e5f5c2f68796c66819f2f3de1652a5f3c1 (diff)
Setup build env on instance
Required to build simulator image Change-Id: If323b9cd8c76eaba3a16dc588382f1c86e15f1b1 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'test/mocks/mass-pnf-sim')
-rw-r--r--test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml5
1 files changed, 5 insertions, 0 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 583c1a54f..8203a8470 100644
--- a/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
+++ b/test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml
@@ -11,6 +11,8 @@ packages:
- docker-compose
- python3-virtualenv
- python3-pip
+ - maven
+ - openjdk-8-jdk-headless
# Docker's apt key needs to be injected early in the boot as 'apt' cloud-init
# module doesn't support configuring key from file
bootcmd:
@@ -22,4 +24,7 @@ apt:
source: "deb [arch=amd64] https://download.docker.com/linux/ubuntu $RELEASE stable"
runcmd:
- [pip3, install, tox]
+ - [mkdir, /root/.m2]
+ - [curl, "https://git.onap.org/oparent/plain/settings.xml", -o, /root/.m2/settings.xml]
+ - [update-java-alternatives, -s, java-1.8.0-openjdk-amd64]
- [bash, /root/mass-pnf-sim_run.sh]