install-osm perform full installation of Charmed OSM from registry
start-robot start the Robot test container and leave you at prompt
update-install update Charmed OSM with new module container
+
+A typical use could be the following:
+
+Let's assume that we have different repos cloned in the folder workspace:
+
+ cd workspace
+ git clone https://osm.etsi.org/gerrit/osm/devops
+ git clone https://osm.etsi.org/gerrit/osm/NBI
+ git clone https://osm.etsi.org/gerrit/osm/LCM
+ git clone "https://osm.etsi.org/gerrit/osm/RO
+ git clone "https://osm.etsi.org/gerrit/osm/common
+ git clone "https://osm.etsi.org/gerrit/osm/IM
+ git clone "https://osm.etsi.org/gerrit/osm/N2VC
+
+First we install a light HTTP server to serve the artifacts:
+
+ devops/tools/local-build.sh --install-qhttpd
+
+Then we generate the artifacts (debian packages) for the different repos: common, IM, N2VC, RO, LCM, NBI
+
+ devops/tools/local-build.sh --module common,IM,N2VC,RO,LCM,NBI stage-2
+
+Then new docker images are generated locally with the tag "devel" (e.g.: opensourcemano/lcm:devel):
+
+ devops/tools/local-build.sh --module RO,LCM,NBI stage-3
+
+Finally, the deployment of OSM will have to be updated to use the new docker images.
+
EOF
}
function install_qhttpd() {
sudo snap install qhttp
- EXISTING_PID=$(ps auxw | grep "http.server 11480" | grep -v grep | awk '{print $2}')
+ EXISTING_PID=$(ps auxw | grep "http.server $HTTPPORT" | grep -v grep | awk '{print $2}')
if [ ! -z $EXISTING_PID ] ; then
kill $EXISTING_PID
fi