forked from opensearch-project/opensearch-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
27 lines (20 loc) · 921 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cluster.opendistro.build:
docker-compose --project-directory .ci/opendistro build;
cluster.opendistro.start:
docker-compose --project-directory .ci/opendistro up -d ;
sleep 20;
cluster.opendistro.stop:
docker-compose --project-directory .ci/opendistro down ;
cluster.opensearch.build:
docker-compose --project-directory .ci/opensearch build;
cluster.opensearch.start:
docker-compose --project-directory .ci/opensearch up -d ;
sleep 20;
cluster.opensearch.stop:
docker-compose --project-directory .ci/opensearch down ;
cluster.clean: ## Remove unused Docker volumes and networks
@printf "\033[2m→ Cleaning up Docker assets...\033[0m\n"
docker volume prune --force
docker network prune --force
docker system prune --volumes --force
.PHONY: cluster.opendistro.build cluster.opendistro.start cluster.opendistro.stop cluster.opensearch.build cluster.opensearch.start cluster.opensearch.stop cluster.clean