From cd37c9d0b2f703064811268d72188970fe5762de Mon Sep 17 00:00:00 2001 From: Aurora <5505558+duggalsu@users.noreply.github.com> Date: Wed, 28 Feb 2024 17:52:35 +0530 Subject: [PATCH] - Modified pr workflow to use test.env - Added test.env - Added test.env inclusion in gitignore --- .ci/docker-compose.yml | 2 +- .gitignore | 1 + src/test.env | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 src/test.env diff --git a/.ci/docker-compose.yml b/.ci/docker-compose.yml index b2ca46f8..19985cf8 100644 --- a/.ci/docker-compose.yml +++ b/.ci/docker-compose.yml @@ -4,7 +4,7 @@ services: context: ./../src dockerfile: Dockerfile.test target: test - env_file: ./../src/development.env + env_file: ./../src/test.env command: bash -c "python -c 'import time'; while ! curl store:9200 | grep -q 'You Know, for Search' && ! curl queue:15672 | grep -q ''; diff --git a/.gitignore b/.gitignore index 07f0742c..d970ef2f 100644 --- a/.gitignore +++ b/.gitignore @@ -93,6 +93,7 @@ celerybeat-schedule .env .env.local *.env +!test.env # virtualenv .venv/ diff --git a/src/test.env b/src/test.env new file mode 100644 index 00000000..e0b43acf --- /dev/null +++ b/src/test.env @@ -0,0 +1,7 @@ +MQ_USERNAME=admin +MQ_PASSWORD=Admin123 +MQ_HOST=rabbitmq +ES_HOST=es +ES_IMG_INDEX=imgsearch +ES_TXT_INDEX=txtsearch +ES_VID_INDEX=vidsearch