Skip to content

Commit 08bf580

Browse files
author
Barkha Choithani
committed
Merge remote-tracking branch 'origin/develop' into feature/CLD-659
2 parents c2b50e5 + 68efbb8 commit 08bf580

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed

Jenkinsfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,7 @@ void resultNotification(message) {
115115

116116
void lint() {
117117
sh '''
118-
# Added to fix 'Context loading failed error'
119-
go get ./...
120-
echo Installing golangci-lint
121-
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.50.0
122-
make lint saveOutput=true path=./bin/
118+
make lint saveOutput=true
123119
'''
124120

125121
LINT_OUTPUT = sh(returnStdout: true, script: 'echo helm template lint output: ;cat helm-lint-output.txt ;echo all tests lint output: ;cat test-lint-output.txt').trim()
@@ -161,7 +157,7 @@ pipeline {
161157
timeStamp = sh(returnStdout: true, script: "date +%Y%m%d -d '-5 hours'").trim()
162158
dockerRegistry = 'ml-docker-dev.marklogic.com'
163159
dockerRepository = "${dockerRegistry}/marklogic/marklogic-server-centos"
164-
dockerVersion = "${ML_VERSION}-${timeStamp}-centos-1.0.0"
160+
dockerVersion = "${ML_VERSION}-${timeStamp}-centos-1.0.1"
165161
}
166162

167163
parameters {

charts/templates/NOTES.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{{- define "marklogic.fqdn" -}}
2+
{{- printf "%s-0.%s.%s.svc.cluster.local" (include "marklogic.fullname" .) (include "marklogic.headlessServiceName" .) .Release.Namespace }}
3+
{{- end}}
4+
5+
Thank you for installing {{ .Chart.Name }}.
6+
7+
Your release is named {{ .Release.Name }}.
8+
9+
FQDN is {{ include "marklogic.fqdn" . }}
10+
11+
Group {{ .Values.group.name }} is created on the MarkLogic cluster.
12+
13+
{{- if .Values.group.enableXdqpSsl }}
14+
xdqp-ssl-enabled is turned on for {{ .Values.group.name }} group.
15+
{{- else }}
16+
xdqp-ssl-enabled is turned off for {{ .Values.group.name }} group.
17+
{{- end }}
18+
19+
To get pods in the {{ .Release.Namespace }} namespace, try:
20+
21+
$ kubectl get pods --namespace={{ .Release.Namespace }}
22+
23+
To get all services in the {{ .Release.Namespace }} namespace, try:
24+
25+
$ kubectl get services --namespace={{ .Release.Namespace }}
26+
27+
To get admin credentials of the MarkLogic cluster, run:
28+
29+
$ kubectl get secret {{ include "marklogic.fullname" . }}-admin -o jsonpath='{.data.password}' | base64 --decode
30+
31+
To connect to the {{ .Chart.Name }} cluster, use port forwarding:
32+
33+
To access the whole cluster, forward the port to the service:
34+
35+
$ kubectl port-forward svc/{{ include "marklogic.fullname" . }} 8001:8001
36+
37+
To access first pod, forward the port to the pod using:
38+
39+
$ kubectl port-forward {{ include "marklogic.fullname" . }}-0 8001:8001
40+
41+
MarkLogic admin UI can be accessed at http://localhost:8001

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ lint:
7070
helm lint --with-subcharts charts/ $(if $(saveOutput),> helm-lint-output.txt,)
7171

7272
@echo "> Linting all tests....."
73-
$(if $(path),$(path),)golangci-lint run $(if $(saveOutput),> test-lint-output.txt,)
73+
golangci-lint run --timeout=2m $(if $(saveOutput),> test-lint-output.txt,)
7474

7575
## ---------- Testing Tasks ----------
7676

0 commit comments

Comments
 (0)