Skip to content

Commit a127b25

Browse files
authored
add build recipe for creating e2e test images (#937)
Signed-off-by: Max Fisher <maxfisher@google.com> Signed-off-by: Max Fisher <112151114+maxfisher-g@users.noreply.github.com>
1 parent f87a17b commit a127b25

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ run:
130130
E2E_TEST_COMPOSE_ARGS := -p pa-e2e-testing -f ./configs/e2e/docker-compose.yml -f ./test/e2e/docker-compose.test.yml
131131

132132
.PHONY: e2e_test_start
133-
e2e_test_start:
133+
e2e_test_start: build_e2e_test_images
134134
docker-compose $(E2E_TEST_COMPOSE_ARGS) up -d
135135
@echo
136136
@echo "To see analysis results, go to http://localhost:9000/minio/package-analysis"
@@ -160,6 +160,13 @@ e2e_test_logs_scheduler:
160160
e2e_test_logs_analysis:
161161
docker-compose $(E2E_TEST_COMPOSE_ARGS) logs -f analysis
162162

163+
164+
.PHONY: build_e2e_test_images
165+
build_e2e_test_images: TAG=test
166+
build_e2e_test_images: sync_prod_sandboxes build_analysis_image build_scheduler_image
167+
168+
169+
163170
.PHONY: test_go
164171
test_go:
165172
go test -v ./...

0 commit comments

Comments
 (0)