Skip to content

Commit 95bd75b

Browse files
committed
Fix configs-integration-test command in Makefile
Shell variables don't persist from one Makefile line to the next, so we need to combine the commands into one line. Signed-off-by: Bryan Boreham <[email protected]>
1 parent 0a15a77 commit 95bd75b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ exes $(EXES) protos $(PROTO_GOS) lint test shell mod-check check-protos: build-i
9999
configs-integration-test: build-image/$(UPTODATE)
100100
@mkdir -p $(shell pwd)/.pkg
101101
@mkdir -p $(shell pwd)/.cache
102-
DB_CONTAINER="$$(docker run -d -e 'POSTGRES_DB=configs_test' postgres:9.6)"; \
103-
@echo
104-
@echo ">>>> Entering build container: $@"
105-
@$(SUDO) docker run $(RM) $(TTY) -i \
102+
@DB_CONTAINER="$$(docker run -d -e 'POSTGRES_DB=configs_test' postgres:9.6)"; \
103+
echo ; \
104+
echo ">>>> Entering build container: $@"; \
105+
$(SUDO) docker run $(RM) $(TTY) -i \
106106
-v $(shell pwd)/.cache:/go/cache \
107107
-v $(shell pwd)/.pkg:/go/pkg \
108108
-v $(shell pwd):/go/src/github.com/cortexproject/cortex \

0 commit comments

Comments
 (0)