git.iko.soy/typeable/bloodhound
on master help sign in
add makefile entries to use docker-compose ES5 containers
5f430a1Jose Duran
Makefile+22
@@ -82,3 +82,25 @@ module-touch:
82
82
83upload:
83upload:
84 stack upload --no-signature .
84 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