From 4c6e4fc080c732420dead13d4d6eb2a55ddc3089 Mon Sep 17 00:00:00 2001 From: Bartek Grzybowski Date: Tue, 21 Jul 2020 14:22:05 +0200 Subject: Setup build env on instance Required to build simulator image Change-Id: If323b9cd8c76eaba3a16dc588382f1c86e15f1b1 Issue-ID: INT-1661 Signed-off-by: Bartek Grzybowski --- test/mocks/mass-pnf-sim/deployment/heat/cloud-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/mocks') 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] -- cgit 1.2.3-korg