From c1a66aec7d480a7681258680b2c00869e84a8ab7 Mon Sep 17 00:00:00 2001 From: salonichf5 <146118978+salonichf5@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:05:03 -0700 Subject: [PATCH] add build to tests makefile --- tests/Makefile | 8 ++++++++ tests/README.md | 2 ++ 2 files changed, 10 insertions(+) diff --git a/tests/Makefile b/tests/Makefile index 3fa4426732..54ab6db605 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -32,6 +32,14 @@ help: Makefile ## Display this help create-kind-cluster: ## Create a kind cluster cd .. && make create-kind-cluster +.PHONY: build-images +build-images: ## Build NGF and NGINX images + cd .. && make PREFIX=$(PREFIX) TAG=$(TAG) build-images + +.PHONY: build-images-with-plus +build-images-with-plus: ## Build NGF and NGINX Plus images + cd .. && make PREFIX=$(PREFIX) TAG=$(TAG) build-images-with-plus + .PHONY: load-images load-images: ## Load NGF and NGINX images on configured kind cluster cd .. && make PREFIX=$(PREFIX) TAG=$(TAG) load-images diff --git a/tests/README.md b/tests/README.md index 15463ddca8..ce32b80507 100644 --- a/tests/README.md +++ b/tests/README.md @@ -38,6 +38,8 @@ make ```text add-local-ip-to-cluster Add local IP to the GKE cluster master-authorized-networks +build-images-with-plus Build NGF and NGINX Plus images +build-images Build NGF and NGINX images cleanup-gcp Cleanup all GCP resources cleanup-router Delete the GKE router cleanup-vm Delete the test GCP VM and delete the firewall rule