Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
LOFAR2.0
SKA TANGO Grafana Exporter
Commits
d70206fa
Commit
d70206fa
authored
Nov 13, 2020
by
Matteo Di Carlo
Browse files
fix
parent
c5b0550d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d70206fa
...
...
@@ -5,9 +5,19 @@ BUILDDIRS = $(DIRS:%=build-%)
PUSHDIRS
=
$
(
DIRS:%
=
push-%
)
HELM_HOST
?=
https://nexus.engageska-portugal.pt
MINIKUBE
?=
true
INGRESS_HOST
?=
mid.integration.engageska-portugal.pt#tango.rest.mid.integration.engageska-portugal.pt
DASHBOARDS
?=
dashboard.json archiver.json state.json
DATABASEDS
?=
databaseds-tango-base-test
INGRESS_HOST
?=
mid.integration.engageska-portugal.pt##for the target namespace to monitor
DASHBOARDS
?=
dashboard.json archiver.json state.json##dashboard to template with
sed
DATABASEDS
?=
databaseds-tango-base-test##tango databaseds pod name
TANGO_HOST
=
?
$(DATABASEDS)
.integration-mid.svc.cluster.local:10000
TANGODB
?=
tango-base-tangodb.integration-mid.svc.cluster.local:3306## TANGO DB data
source
ARCHIVERDB
?=
archiver-hdbppdb-db.integration-mid.svc.cluster.local:3306## ARCHIVER DB data
source
ELASTIC
?=
192.168.93.94:9200## Elastic data
source
WEBJIVE
?=
webjive-webjive-test-mid## Webjive pod name
WEBJIVE_AUTH_URL
?=
http://
$(WEBJIVE)
.integration-mid.svc.cluster.local:8080/login##Webjive authentication url
TANGOGQL_URL
?=
http://
$(WEBJIVE)
.integration-mid.svc.cluster.local:5004/db
WEBJIVE_USER
?=
"mandatory"
## webjive username
WEBJIVE_PASS
?=
"mandatory"
## webjive password
.DEFAULT_GOAL
:=
help
...
...
@@ -33,8 +43,8 @@ help: ## show this help.
tpl_dashboards
:
##
tpl for dashboards
for
dash
in
$(DASHBOARDS)
;
do
\
sed
-i
.bak
's/INGRESS_HOST/
$(INGRESS_HOST)
/'
helm-chart/data/dashboards/
$$
dash
;
\
sed
-i
's/__DATABASEDS__/
$(DATABASEDS)
/'
helm-chart/data/dashboards/
$$
dash
;
\
sed
-i
.bak
's/INGRESS_HOST/
$(INGRESS_HOST)
/
g
'
helm-chart/data/dashboards/
$$
dash
;
\
sed
-i
's/__DATABASEDS__/
$(DATABASEDS)
/
g
'
helm-chart/data/dashboards/
$$
dash
;
\
done
publish-chart
:
##
publish chart on the
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment