Skip to content

Commit 77c6467

Browse files
committed
fix: interpolate Bash args in Makefile
1 parent 3455df6 commit 77c6467

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

Makefile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ rollcage-test: ## build, test, and push container, then run local tests
136136
.PHONY: test
137137
test: test-deploy ## build, test, and push container, then run local tests
138138
@echo "+ $@"
139-
140139
make build push CONTAINER_NAME="$(CONTAINER_NAME_TESTING)" \
141140
&& \
142141
./netassert \
@@ -145,13 +144,13 @@ test: test-deploy ## build, test, and push container, then run local tests
145144
--ssh-options "-o StrictHostKeyChecking=no" \
146145
test/test-all.yaml \
147146
&& \
148-
make run-in-docker \
149-
CONTAINER_NAME=$(CONTAINER_NAME_TESTING) \
150-
ARGS='netassert \
151-
--image $(CONTAINER_NAME_TESTING) \
152-
--ssh-user $${SSH_USER:-root} \
153-
--ssh-options "-o StrictHostKeyChecking=no" \
154-
test/test-all.yaml'
147+
bash -c "make run-in-docker \
148+
CONTAINER_NAME=$(CONTAINER_NAME_TESTING) \
149+
ARGS='netassert \
150+
--image $(CONTAINER_NAME_TESTING) \
151+
--ssh-user $${SSH_USER:-root} \
152+
--ssh-options \"-o StrictHostKeyChecking=no\" \
153+
test/test-all.yaml'"
155154

156155
.PHONY: test-local
157156
test-local: ## test from the local machine

0 commit comments

Comments
 (0)