Skip to content

Commit

Permalink
allow overriding the docker compose command
Browse files Browse the repository at this point in the history
  • Loading branch information
pjenvey committed Aug 15, 2023
1 parent e7f1c87 commit e62a1f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ SHELL := /bin/sh
CARGO = cargo
LOAD_TEST_DIR := tests/load
POETRY := poetry --directory $(LOAD_TEST_DIR)
DOCKER_COMPOSE := docker compose
PYPROJECT_TOML := $(LOAD_TEST_DIR)/pyproject.toml
FLAKE8_CONFIG := $(LOAD_TEST_DIR)/.flake8
STAGE_SERVER_URL := "wss://autopush.stage.mozaws.net"
Expand Down Expand Up @@ -29,7 +30,7 @@ lint:

load:
SERVER_URL=$(STAGE_SERVER_URL) ENDPOINT_URL=$(STAGE_ENDPOINT_URL) \
docker compose \
$(DOCKER_COMPOSE) \
-f $(LOAD_TEST_DIR)/docker-compose.yml \
-p autopush-rs-load-tests \
up --scale locust_worker=1
Expand Down

0 comments on commit e62a1f9

Please sign in to comment.