Skip to content

Commit

Permalink
chore(Makefile): update docker-compose commands to use 'docker compos…
Browse files Browse the repository at this point in the history
…e' instead of 'docker-compose' for consistency
  • Loading branch information
bounoable committed Jul 11, 2023
1 parent 3f20a19 commit 0d65a9b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,34 +22,34 @@ test-actions:

.PHONY: nats-test
nats-test:
@docker-compose -f .docker/nats-test.yml up --build --abort-on-container-exit --remove-orphans; \
docker-compose -f .docker/nats-test.yml down --remove-orphans
docker compose -f .docker/nats-test.yml up --build --abort-on-container-exit --remove-orphans; \
docker compose -f .docker/nats-test.yml down --remove-orphans

.PHONY: nats-bench
nats-bench:
@docker-compose -f .docker/nats-bench.yml up --build --abort-on-container-exit --remove-orphans; \
docker-compose -f .docker/nats-bench.yml down --remove-orphans
docker compose -f .docker/nats-bench.yml up --build --abort-on-container-exit --remove-orphans; \
docker compose -f .docker/nats-bench.yml down --remove-orphans

.PHONY: mongo-test
mongo-test:
@docker-compose -f .docker/mongo-test.yml up --build --abort-on-container-exit --remove-orphans; \
docker-compose -f .docker/mongo-test.yml down --remove-orphans
docker compose -f .docker/mongo-test.yml up --build --abort-on-container-exit --remove-orphans; \
docker compose -f .docker/mongo-test.yml down --remove-orphans

.PHONY: postgres-test
postgres-test:
@docker-compose -f .docker/postgres-test.yml up --build --abort-on-container-exit --remove-orphans; \
docker-compose -f .docker/postgres-test.yml down --remove-orphans
docker compose -f .docker/postgres-test.yml up --build --abort-on-container-exit --remove-orphans; \
docker compose -f .docker/postgres-test.yml down --remove-orphans

.PHONY: coverage
coverage:
@docker-compose -f .docker/coverage.yml up --build --abort-on-container-exit --remove-orphans; \
docker-compose -f .docker/coverage.yml down --remove-orphans; \
docker compose -f .docker/coverage.yml up --build --abort-on-container-exit --remove-orphans; \
docker compose -f .docker/coverage.yml down --remove-orphans; \
go tool cover -html=out/coverage.out

.PHONY: github-test
github-test:
@docker-compose -f .docker/github.yml up --build --abort-on-container-exit --remove-orphans && \
docker-compose -f .docker/github.yml down --remove-orphans; \
docker compose -f .docker/github.yml up --build --abort-on-container-exit --remove-orphans && \
docker compose -f .docker/github.yml down --remove-orphans; \

.PHONY: bench
bench:
Expand Down

0 comments on commit 0d65a9b

Please sign in to comment.