git.iko.soy/typeable/bloodhound
on master help sign in
add makefile entries to use docker-compose ES5 containers
commit5f430a1fc3aa45ac13b3d15c7f8769ff40895c30 authorJose Duran <jose.daniel.duran.toro@gmail.com> dateFri 2 Aug 2019, 11:42 (7 years ago) parent9a239e9
1 file changed+22
Makefile+22
Makefile+22
@@ -82,3 +82,25 @@ module-touch:
8282
8383upload:
8484 stack upload --no-signature .
85+
86+# Create ES5 instance
87+
88+## Run test environment
89+compose-ES5:
90+ @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ up
91+
92+## Run test environment in detach mode
93+compose-ES5-detach-up:
94+ @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ up -d
95+
96+## Close test environment if run on detach mode
97+compose-ES5-detach-down:
98+ @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ down
99+
100+## build the docker compose images
101+compose-build:
102+ @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ build
103+
104+## Spawn bash shell in ES5 test container
105+ES5-shell:
106+ @LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ exec elasticsearch1 bash