Skip to content

Commit

Permalink
Migrate docker compose to new format
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Aug 7, 2024
1 parent 4d59880 commit dfbe549
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ logs:

clean:
-docker rm -f $(NAME)
-IMAGE=$(REPO):$(TAG) ES_VER=$(KIBANA_VER_MINOR) docker-compose -f tests/docker-compose.yml down -v
-IMAGE=$(REPO):$(TAG) ES_VER=$(KIBANA_VER_MINOR) docker compose -f tests/compose.yml down -v

release: build push
2 changes: 0 additions & 2 deletions tests/docker-compose.yml → tests/compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "2"

services:
elasticsearch:
image: wodby/elasticsearch:$ES_VER
Expand Down
8 changes: 4 additions & 4 deletions tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ if [[ -n "${DEBUG}" ]]; then
set -x
fi

docker-compose up -d
docker-compose exec -T elasticsearch make check-ready wait_seconds=5 max_try=30 -f /usr/local/bin/actions.mk
docker-compose exec -T kibana make check-ready wait_seconds=5 max_try=30 -f /usr/local/bin/actions.mk
docker-compose down
docker compose up -d
docker compose exec -T elasticsearch make check-ready wait_seconds=5 max_try=30 -f /usr/local/bin/actions.mk
docker compose exec -T kibana make check-ready wait_seconds=5 max_try=30 -f /usr/local/bin/actions.mk
docker compose down

0 comments on commit dfbe549

Please sign in to comment.