From 329587290ef5474676bf28f759d4b830c797dd2a Mon Sep 17 00:00:00 2001 From: Gerd Oberlechner Date: Wed, 11 Dec 2024 16:55:56 +0100 Subject: [PATCH] make include optional Signed-off-by: Gerd Oberlechner --- backend/Makefile | 2 +- frontend/Makefile | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/Makefile b/backend/Makefile index 6366f2f05..ce689a792 100644 --- a/backend/Makefile +++ b/backend/Makefile @@ -1,4 +1,4 @@ -include ../setup-env.mk +-include ../setup-env.mk ifndef COMMIT COMMIT := $(shell git rev-parse --short=7 HEAD) diff --git a/frontend/Makefile b/frontend/Makefile index f865f4c18..6cc2528c4 100644 --- a/frontend/Makefile +++ b/frontend/Makefile @@ -1,4 +1,4 @@ -include ../setup-env.mk +-include ../setup-env.mk ifndef COMMIT COMMIT := $(shell git rev-parse --short=7 HEAD) @@ -11,6 +11,10 @@ ARO_HCP_FRONTEND_IMAGE ?= $(ARO_HCP_BASE_IMAGE)/arohcpfrontend:$(COMMIT) frontend: go build -o aro-hcp-frontend . +info: + @echo "ARO_HCP_FRONTEND_IMAGE: ${ARO_HCP_FRONTEND_IMAGE}" + @echo "COMMIT: ${COMMIT}" + run: ./aro-hcp-frontend --use-cache --location ${LOCATION} \ --clusters-service-url http://localhost:8000 \