As k8s tests are not running in jenkins, the uninstall of a policy
component is not necessary, so the environment can be use without
having to start the whole deployment.
Issue-ID: POLICY-4626
Change-Id: Id36505cbed99a80d24c30827222945b4ca12cf12
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
python3 -m pip install -qq --upgrade --extra-index-url="https://nexus3.onap.org/repository/PyPi.staging/simple" 'robotframework-onap==0.6.0.*' --pre
echo "Uninstall docker-py and reinstall docker."
-python3 -m pip uninstall -y -qq docker-py
python3 -m pip uninstall -y -qq docker
python3 -m pip install -U -qq docker
-docker-py
ipaddr
netaddr
netifaces
mkdir -p ${ROBOT_LOG_DIR}
sudo microk8s helm install csit-robot robot --set robot="$ROBOT_FILE" --set "readiness={${READINESS_CONTAINERS[*]}}" --set robotLogDir=$ROBOT_LOG_DIR
print_robot_log
- uninstall_policy
fi
}