Skip to content

Commit

Permalink
Remove unecessary test.
Browse files Browse the repository at this point in the history
  • Loading branch information
antejavor committed Apr 24, 2024
1 parent 71f4210 commit f98f120
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 53 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/chart-validation.yml

This file was deleted.

25 changes: 15 additions & 10 deletions charts/memgraph/templates/tests/test-connection.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
apiVersion: v1
kind: Pod
apiVersion: batch/v1
kind: Job
metadata:
name: "{{ include "memgraph.fullname" . }}-test-connection"
labels:
name: "{{ .Release.Name }}-memgraph-test"
labels:
{{- include "memgraph.labels" . | nindent 4 }}
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
image: busybox
command: ['wget']
args: ['{{ include "memgraph.fullname" . }}:{{ .Values.service.port }}']
restartPolicy: Never
template:
spec:
containers:
- name: memgraph-test
image: memgraph/memgraph:2.16.0
command: ["/bin/sh", "-c"]
args:
- |
echo "RETURN 0;" | mgconsole --host {{ include "memgraph.fullname" . }} --port 7687
restartPolicy: Never
backoffLimit: 4

0 comments on commit f98f120

Please sign in to comment.