Skip to content

Commit

Permalink
add build recipe for creating e2e test images (#937)
Browse files Browse the repository at this point in the history
Signed-off-by: Max Fisher <[email protected]>
Signed-off-by: Max Fisher <[email protected]>
  • Loading branch information
maxfisher-g authored Oct 25, 2023
1 parent f87a17b commit a127b25
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ run:
E2E_TEST_COMPOSE_ARGS := -p pa-e2e-testing -f ./configs/e2e/docker-compose.yml -f ./test/e2e/docker-compose.test.yml

.PHONY: e2e_test_start
e2e_test_start:
e2e_test_start: build_e2e_test_images
docker-compose $(E2E_TEST_COMPOSE_ARGS) up -d
@echo
@echo "To see analysis results, go to http://localhost:9000/minio/package-analysis"
Expand Down Expand Up @@ -160,6 +160,13 @@ e2e_test_logs_scheduler:
e2e_test_logs_analysis:
docker-compose $(E2E_TEST_COMPOSE_ARGS) logs -f analysis


.PHONY: build_e2e_test_images
build_e2e_test_images: TAG=test
build_e2e_test_images: sync_prod_sandboxes build_analysis_image build_scheduler_image



.PHONY: test_go
test_go:
go test -v ./...
Expand Down

0 comments on commit a127b25

Please sign in to comment.