Skip to content

Commit

Permalink
Fixing test, the hyph test needs work leaving it for posterity
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Feb 1, 2024
1 parent 04a9867 commit 7767a87
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 56 deletions.
33 changes: 0 additions & 33 deletions charts/hypha/templates/tests/cellpose-test-configmap.yaml

This file was deleted.

46 changes: 23 additions & 23 deletions charts/hypha/templates/tests/test-hypha-connection.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
apiVersion: batch/v1
kind: Job
metadata:
name: "{{ .Release.Name }}-hypha-test"
labels:
app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
annotations:
"helm.sh/hook": test-success
spec:
template:
spec:
containers:
- name: hypha-test
image: python:3.8-slim
command: ["python", "/scripts/test-hypha.py"]
volumeMounts:
- name: test-script
mountPath: /scripts
restartPolicy: Never
volumes:
- name: test-script
configMap:
name: {{ .Release.Name }}-test-script
# apiVersion: batch/v1
# kind: Job
# metadata:
# name: "{{ .Release.Name }}-hypha-test"
# labels:
# app.kubernetes.io/managed-by: {{ .Release.Service | quote }}
# annotations:
# "helm.sh/hook": test-success
# spec:
# template:
# spec:
# containers:
# - name: hypha-test
# image: python:3.8-slim
# command: ["python", "/scripts/test-hypha.py"]
# volumeMounts:
# - name: test-script
# mountPath: /scripts
# restartPolicy: Never
# volumes:
# - name: test-script
# configMap:
# name: {{ .Release.Name }}-test-script

0 comments on commit 7767a87

Please sign in to comment.