Skip to content

Commit

Permalink
- Modified pr workflow to use test.env
Browse files Browse the repository at this point in the history
- Added test.env
- Added test.env inclusion in gitignore
  • Loading branch information
duggalsu committed Feb 28, 2024
1 parent 469d95e commit cd37c9d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<!DOCTYPE html>';
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ celerybeat-schedule
.env
.env.local
*.env
!test.env

# virtualenv
.venv/
Expand Down
7 changes: 7 additions & 0 deletions src/test.env
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit cd37c9d

Please sign in to comment.