From: Bartek Grzybowski Date: Wed, 24 Jun 2020 12:22:05 +0000 (+0200) Subject: Add Onap's docker registry address to the image names X-Git-Tag: 1.0.2~21 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=c5ab18d839ce4c79bc70ba5f9410a8b9ddd2d749;p=integration%2Fsimulators%2Fpnf-simulator.git Add Onap's docker registry address to the image names By default compose services leverage locally built images which is not the case in onboaring package so there was no chance it could work. Change-Id: Ide25355da0535272e341ee4c4e15ef6eabf048de Issue-ID: INT-1634 Signed-off-by: Bartek Grzybowski --- diff --git a/deployment/src/simulators_heat_template.yaml b/deployment/src/simulators_heat_template.yaml index ea4b44b..dd70bd0 100644 --- a/deployment/src/simulators_heat_template.yaml +++ b/deployment/src/simulators_heat_template.yaml @@ -96,12 +96,16 @@ resources: start_pnf_simulator () { docker login -u docker -p docker nexus3.onap.org:10003 cd ~/pnf-simulator/pnfsimulator + # Add registry address to Onap image; by default locally built one is used + sed -i 's/image: onap/image: nexus3.onap.org:10003\/onap/' docker-compose.yml docker-compose up -d } start_netconf_simulator () { docker login -u docker -p docker nexus3.onap.org:10003 cd ~/pnf-simulator/netconfsimulator + # Add registry address to Onap image; by default locally built one is used + sed -i 's/image: onap/image: nexus3.onap.org:10003\/onap/' docker-compose.yml docker-compose up -d }