diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2023-02-17 15:14:07 +0000 |
---|---|---|
committer | Adheli Tavares <adheli.tavares@est.tech> | 2023-02-22 13:22:48 +0000 |
commit | 1f339f886d01c6d6ac5cfd6467850c61fee4f675 (patch) | |
tree | 9c59715170d07c951421f5cf8f4d7d939e289c8b /csit/db-migrator/plans/setup.sh | |
parent | a6664dc5c767210a78f140b9fa149c2a8261b428 (diff) |
Restructure of csit files to be used both by docker and k8s config
Issue-ID: POLICY-4125
Change-Id: Id63b3badb1b451b36e3226970dcafaa5a62d860f
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'csit/db-migrator/plans/setup.sh')
-rwxr-xr-x | csit/db-migrator/plans/setup.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/csit/db-migrator/plans/setup.sh b/csit/db-migrator/plans/setup.sh deleted file mode 100755 index 31d93111..00000000 --- a/csit/db-migrator/plans/setup.sh +++ /dev/null @@ -1,26 +0,0 @@ -echo "Uninstall docker-py and reinstall docker." -python3 -m pip uninstall -y docker-py -python3 -m pip uninstall -y docker -python3 -m pip install -U docker -python3 -m pip install -U robotframework-databaselibrary -python3 -m pip install psycopg2-binary - -sudo apt-get -y install libxml2-utils - -source "${SCRIPTS}"/get-versions.sh - -cd "${SCRIPTS}" -docker-compose -f "${SCRIPTS}"/compose-postgres.yml up -d - -sleep 15 -unset http_proxy https_proxy - -POSTGRES_IP=$(get-instance-ip.sh postgres) -POLICY_API_IP=$(get-instance-ip.sh policy-api) - -echo POSTGRES IP IS "${POSTGRES_IP}" -echo POLICY_API_IP IS "${POLICY_API_IP}" - -ROBOT_VARIABLES="" -ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POSTGRES_IP:${POSTGRES_IP}" -ROBOT_VARIABLES="${ROBOT_VARIABLES} -v POLICY_API_IP:${POLICY_API_IP}"
\ No newline at end of file |