commit | 55378e7480442b8cee46d215a85e194c56b38f36 | [log] [tgz] |
---|---|---|
author | Hesam Rahimi <hesam.rahimi@huawei.com> | Mon Jun 07 20:02:32 2021 +0000 |
committer | KAPIL SINGAL <ks220y@att.com> | Tue Jun 22 16:50:48 2021 +0000 |
tree | 991ff17070697c5cfef7306b3f195ed1b258a236 | |
parent | b20349a92894af9b948c8bf2b5c67c5bd86f9da5 [diff] |
Effort to reduce image layer and size Removing few ENV version variable and those should be read from pom properties (maven-resource-plugin filtering true) Combined Dockerfile and Standalone.Dockerfile Adding Docker build arg AAF which will decide whether to add aaa-app-config.xml in docker image or not for standalone Updated docker-maven-plugin to 0.34.0 to have noCache true Removing start-it-container execution as it's being tested by CSIT Replacing maven-exec-plugin with maven-antrun-plugin Updating latest base docker images versions Updating parent version to 2.1.7 Issue-ID: CCSDK-3226 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com> Change-Id: I68f8f4780804a2014b73b5eeb9dba29d1896a602 Former-commit-id: 866ddebbcac80c38c79c46bb37373123a0c678f0
This source repository contains the directed graphs to support the SDNC controller, as well as the code to create the SDNC docker containers.
The following command will do a local build and create all SDNC docker containers:
mvn clean install -P docker -Ddocker.pull.registry=nexus3.onap.org:10001
To do a local build of only the SDNC controller docker image:
cd installation/sdnc mvn clean install -P docker -Ddocker.pull.registry=nexus3.onap.org:10001
To perform local CSIT testing, first create a local docker build of the SDNC controller images following the steps above.
Important note: CSIT testing is still based on Python2. So, before running the CSIT locally, be sure that your local environment is using the python2 version of 'python' and 'pip'
Once you have a local SDNC image build and python2 is installed, you can run a local CSIT test by running the following commands:
cd csit ./run-project-csit.sh