-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (47 loc) · 2.04 KB
/
Makefile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
HELM_CHARTS_TO_PUBLISH=ska-mid-itf-environments-test-equipment ska-mid-itf-environments-file-browser
JIVE ?= false# Enable jive
TARANTA ?= false# Enable Taranta
MINIKUBE ?= false ## Minikube or not
EXPOSE_All_DS ?= true ## Expose All Tango Services to the external network (enable Loadbalancer service)
SKA_TANGO_OPERATOR ?= true
EXPOSE_DATABASE_DS ?= true##
TANGO_DATABASE_DS ?= tango-databaseds## TANGO_DATABASE_DS name
TANGO_HOST ?= tango-databaseds:10000## TANGO_HOST connection to the Tango DS
TANGO_SERVER_PORT ?= 45450## TANGO_SERVER_PORT - fixed listening port for local server
CLUSTER_DOMAIN = miditf.internal.skao.int## Domain used for naming Tango Device Servers
INGRESS_HOST = k8s.$(CLUSTER_DOMAIN)## Tango host, cluster domain, what are all these things???
ITANGO_ENABLED ?= true## ITango enabled in ska-tango-base
PYTHON_RUNNER = poetry run python3 -m
PYTHON_LINE_LENGTH = 99
DOCS_SPHINXBUILD = poetry run python3 -msphinx
PYTHON_TEST_FILE = tests/unit/ tests/functional/
PYTHON_LINT_TARGET ?= tests/
K8S_CHART_PARAMS ?= --set global.minikube=$(MINIKUBE) \
--set global.exposeAllDS=$(EXPOSE_All_DS) \
--set global.exposeDatabaseDS=$(EXPOSE_DATABASE_DS) \
--set global.tango_host=$(TANGO_HOST) \
--set global.device_server_port=$(TANGO_SERVER_PORT) \
--set global.cluster_domain=$(CLUSTER_DOMAIN) \
--set global.labels.app=$(KUBE_APP) \
--set global.operator=$(SKA_TANGO_OPERATOR) \
--set ska-tango-base.display=$(DISPLAY) \
--set ska-tango-base.xauthority=$(XAUTHORITY) \
--set ska-tango-base.jive.enabled=$(JIVE) \
--set ska-tango-base.itango.enabled=$(ITANGO_ENABLED)
# include core make support
include .make/base.mk
# include makefile targets from the submodule
include .make/oci.mk
# include k8s support
include .make/k8s.mk
# include Helm Chart support
include .make/helm.mk
# Include Python support
include .make/python.mk
# include raw support
include .make/raw.mk
# include Xray uploads
include .make/xray.mk
include resources/makefiles/test-equipment.mk
include resources/makefiles/test-equipment-dev.mk
include resources/makefiles/file-browser.mk