generated from vshn/go-bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile.vars.mk
33 lines (25 loc) · 924 Bytes
/
Makefile.vars.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
## These are some common variables for Make
PROJECT_ROOT_DIR = .
## BUILD:go
BIN_FILENAME ?= provider-cloudscale
go_bin ?= $(PWD)/.work/bin
$(go_bin):
@mkdir -p $@
## BUILD:docker
DOCKER_CMD ?= docker
IMG_TAG ?= latest
CONTAINER_REGISTRY ?= ghcr.io
UPBOUND_CONTAINER_REGISTRY ?= xpkg.upbound.io
# Image URL to use all building/pushing image targets
LOCAL_PACKAGE_IMG = localhost:5000/$(ORG)/$(APP_NAME)/package:$(IMG_TAG)
## KIND:setup
# https://hub.docker.com/r/kindest/node/tags
KIND_NODE_VERSION ?= v1.28.9
KIND_IMAGE ?= docker.io/kindest/node:$(KIND_NODE_VERSION)
KIND_KUBECONFIG ?= $(kind_dir)/kind-kubeconfig-$(KIND_NODE_VERSION)
KIND_CLUSTER ?= $(APP_NAME)-$(KIND_NODE_VERSION)
# TEST:integration
ENVTEST_ADDITIONAL_FLAGS ?= --bin-dir "$(kind_dir)"
# See https://storage.googleapis.com/kubebuilder-tools/ for list of supported K8s versions
ENVTEST_K8S_VERSION = 1.23.x
INTEGRATION_TEST_DEBUG_OUTPUT ?= false