diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2023-05-08 08:46:14 +0100 |
---|---|---|
committer | adheli.tavares <adheli.tavares@est.tech> | 2023-05-10 13:32:52 +0100 |
commit | 30dcba6e37cae5a61a07c1bb8d2a6cac36d4e9cb (patch) | |
tree | a66b7de90201ecfc03cf2fc4b74e6c521ddaf59d /csit | |
parent | 9c177aecb35b3d0832959ea057f819998ab2eed3 (diff) |
Keep policy installation after running test.
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>
Diffstat (limited to 'csit')
-rwxr-xr-x | csit/resources/scripts/prepare-robot-env.sh | 1 | ||||
-rw-r--r-- | csit/resources/scripts/pylibs.txt | 1 | ||||
-rwxr-xr-x | csit/run-k8s-csit.sh | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/csit/resources/scripts/prepare-robot-env.sh b/csit/resources/scripts/prepare-robot-env.sh index 061da844..0e0778f1 100755 --- a/csit/resources/scripts/prepare-robot-env.sh +++ b/csit/resources/scripts/prepare-robot-env.sh @@ -45,7 +45,6 @@ rm -rf "${ROBOT_VENV}"/src/onap/testsuite 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 diff --git a/csit/resources/scripts/pylibs.txt b/csit/resources/scripts/pylibs.txt index a8d8c4e3..260b5bd1 100644 --- a/csit/resources/scripts/pylibs.txt +++ b/csit/resources/scripts/pylibs.txt @@ -1,4 +1,3 @@ -docker-py ipaddr netaddr netifaces diff --git a/csit/run-k8s-csit.sh b/csit/run-k8s-csit.sh index 496f4dcd..758617af 100755 --- a/csit/run-k8s-csit.sh +++ b/csit/run-k8s-csit.sh @@ -152,7 +152,6 @@ function start_csit() { 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 } |