Skip to content

Commit 12bd16f

Browse files
fix: Makefile: create tmp dir if not exists for docker-run-benchmarks target (#151)
`tmp` is in gitignore so we can´t add it to the repo with a .gitkeep in it. Without this, a fresh clone of the repo will throw on `make docker-run-benchmark`.
1 parent abc75ae commit 12bd16f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,5 @@ docker-run-api:
136136
## docker-run-benchmark: Start the benchmarkoor service with docker-compose (CLIENT=name to limit, CONFIG=file to override config)
137137
CONFIG?=config.example.docker.yaml
138138
docker-run-benchmark:
139+
@mkdir -p tmp
139140
VERSION=$(VERSION) COMMIT=$(COMMIT) DATE=$(DATE) USER_UID=$(shell id -u) USER_GID=$(shell id -g) BENCHMARKOOR_CONFIG=$(CONFIG) docker compose run --rm --build benchmarkoor run --config /app/config.yaml $(if $(CLIENT),--limit-instance-client=$(CLIENT))

0 commit comments

Comments
 (0)