forked from stolostron/console-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configfile
36 lines (34 loc) · 1009 Bytes
/
Configfile
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
34
35
36
GIT_REMOTE_URL = $(shell git config --get remote.origin.url)
COMPONENT_NAME = $(shell cat COMPONENT_NAME)
DOCKER_SERVER ?=
DOCKER_USERNAME ?= token
DOCKER_IMAGE = $(COMPONENT_NAME)
IMAGE_DESCRIPTION =
IMAGE_NAME = $(COMPONENT_NAME)
IMAGE_REPO ?=
RELEASE_TAG ?= latest
RELEASE_TAG_RED_HAT ?=$(RELEASE_TAG)-rhel
SEMVERSION_RED_HAT ?=$(SEMVERSION)-rhel
HOST ?= 127.0.0.1
APP_PORT ?= 4000
CONTAINER_PORT ?= 4000
ARCH = $(shell uname -m)
DOCKER_FLAG =
MAX_IMAGE_SIZE=1000000000
UNIT_TESTS ?= TRUE
ifeq ($(ARCH), x86_64)
IMAGE_NAME_ARCH = $(IMAGE_NAME)-amd64
else
IMAGE_NAME_ARCH = $(IMAGE_NAME)-$(ARCH)
endif
MANIFEST_VERSION ?= v0.7.0
DEFAULT_S390X_IMAGE ?= ibmcom/pause-s390x:3.0
IMAGE_NAME_S390X ?= ${IMAGE_REPO}/${IMAGE_NAME}-s390x:${RELEASE_TAG}
#new additions for the UBI image
#Variables for redhat required labels
IMAGE_DISPLAY_NAME=Console API
IMAGE_MAINTAINER=acm-contact@redhat.com
IMAGE_VENDOR=Red Hat
IMAGE_VERSION=$(SEMVERSION)
IMAGE_SUMMARY=$(IMAGE_DESCRIPTION)
IMAGE_OPENSHIFT_TAGS=console api