Skip to content

Commit dd2231e

Browse files
committed
minor update to Makefile
Signed-off-by: Nir Rozenbaum <[email protected]>
1 parent 8326110 commit dd2231e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ IMAGE_REGISTRY ?= $(STAGING_IMAGE_REGISTRY)/gateway-api-inference-extension
3333
IMAGE_NAME := epp
3434
IMAGE_REPO ?= $(IMAGE_REGISTRY)/$(IMAGE_NAME)
3535
IMAGE_TAG ?= $(IMAGE_REPO):$(GIT_TAG)
36-
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
36+
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
3737
E2E_MANIFEST_PATH ?= config/manifests/vllm/gpu-deployment.yaml
3838

3939
SYNCER_IMAGE_NAME := lora-syncer
@@ -92,7 +92,6 @@ generate: controller-gen code-generator manifests ## Generate code containing De
9292
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
9393
./hack/update-codegen.sh
9494

95-
PROJECT_DIR := $(shell dirname $(abspath $(lastword $(MAKEFILE_LIST))))
9695
# Use same code-generator version as k8s.io/api
9796
CODEGEN_VERSION := $(shell go list -m -f '{{.Version}}' k8s.io/api)
9897
CODEGEN = $(shell pwd)/bin/code-generator
@@ -130,7 +129,7 @@ test-integration: ## Run tests.
130129

131130
.PHONY: test-e2e
132131
test-e2e: ## Run end-to-end tests against an existing Kubernetes cluster. When using default configuration, the tests need at least 3 available GPUs.
133-
MANIFEST_PATH=$(ROOT_DIR)/$(E2E_MANIFEST_PATH) go test ./test/e2e/epp/ -v -ginkgo.v
132+
MANIFEST_PATH=$(PROJECT_DIR)/$(E2E_MANIFEST_PATH) go test ./test/e2e/epp/ -v -ginkgo.v
134133

135134
.PHONY: lint
136135
lint: golangci-lint ## Run golangci-lint linter

0 commit comments

Comments
 (0)