From d5c153bfbe0f365b2fc328c74d00450d1db2e821 Mon Sep 17 00:00:00 2001 From: "Chinmay D. Pai" Date: Thu, 1 Oct 2020 16:38:35 +0530 Subject: [PATCH] ci: add tests for drop-site Signed-off-by: Chinmay D. Pai --- tests/docker-test.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/docker-test.sh b/tests/docker-test.sh index c09726bf..4a30e678 100755 --- a/tests/docker-test.sh +++ b/tests/docker-test.sh @@ -409,6 +409,20 @@ docker run \ --network frappebench00_default \ frappe/erpnext-worker:edge console pgsql.localhost +echo -e "\e[1m\e[4mCheck drop site: test.localhost (mariadb)\e[0m" +docker run \ + -e SITE_NAME=test.localhost \ + -v frappebench00_sites-vol:/home/frappe/frappe-bench/sites \ + --network frappebench00_default \ + frappe/erpnext-worker:edge drop + +echo -e "\e[1m\e[4mCheck drop site: pgsql.localhost (pgsql)\e[0m" +docker run \ + -e SITE_NAME=pgsql.localhost \ + -v frappebench00_sites-vol:/home/frappe/frappe-bench/sites \ + --network frappebench00_default \ + frappe/erpnext-worker:edge drop + echo -e "\e[1m\e[4mCheck bench --help\e[0m" docker run \ -v frappebench00_sites-vol:/home/frappe/frappe-bench/sites \