Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / README.md
1 This source repository contains the directed graphs to support the
2 SDNC controller, as well as the code to create the SDNC docker containers.
3
4 # Local compilation
5
6 The following command will do a local build and create all SDNC
7 docker containers:
8
9 ```bash
10 mvn clean install -P docker -Ddocker.pull.registry=nexus3.onap.org:10001
11 ```
12
13 To do a local build of only the SDNC controller docker image:
14
15 ```bash
16 cd installation/sdnc
17 mvn clean install -P docker -Ddocker.pull.registry=nexus3.onap.org:10001
18 ```
19
20 # Local CSIT testing
21
22 To perform local CSIT testing, first create a local docker build
23 of the SDNC controller images following the steps above.  
24
25 Important note: CSIT testing is still based on Python2.  So, before
26 running the CSIT locally, be sure that your local environment is
27 using the python2 version of 'python' and 'pip'
28
29 Once you have a local SDNC image build and python2 is installed,
30 you can run a local CSIT test by running the following commands:
31
32 ```bash
33 cd csit
34 ./run-project-csit.sh
35 ```
36