mirror of
https://github.com/typeable/bloodhound.git
synced 2024-08-16 11:50:34 +03:00
add makefile entries to use docker-compose ES5 containers
This commit is contained in:
parent
9a239e982a
commit
5f430a1fc3
22
Makefile
22
Makefile
@ -82,3 +82,25 @@ module-touch:
|
||||
|
||||
upload:
|
||||
stack upload --no-signature .
|
||||
|
||||
# Create ES5 instance
|
||||
|
||||
## Run test environment
|
||||
compose-ES5:
|
||||
@LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ up
|
||||
|
||||
## Run test environment in detach mode
|
||||
compose-ES5-detach-up:
|
||||
@LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ up -d
|
||||
|
||||
## Close test environment if run on detach mode
|
||||
compose-ES5-detach-down:
|
||||
@LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ down
|
||||
|
||||
## build the docker compose images
|
||||
compose-build:
|
||||
@LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ build
|
||||
|
||||
## Spawn bash shell in ES5 test container
|
||||
ES5-shell:
|
||||
@LOCAL_USER_ID=${LOCAL_USER_ID} docker-compose -f tests/ES5/docker-compose.yml --project-directory tests/ES5/ exec elasticsearch1 bash
|
||||
|
Loading…
Reference in New Issue
Block a user