Skip to content

Commit

Permalink
Reorder monitor helm test (#8735)
Browse files Browse the repository at this point in the history
Reorder monitor helm test so that it runs after acceptance tests to ensure sufficient entities are created on reset networks first.

Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
steven-sheehy authored Jul 9, 2024
1 parent 88b1c6c commit a677dca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/hedera-mirror-rest/templates/monitor/tests/pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v1
kind: Pod
metadata:
annotations: {{- toYaml .Values.test.annotations | nindent 4 }}
annotations: {{- toYaml .Values.monitor.test.annotations | nindent 4 }}
labels: {{- include "hedera-mirror-rest-monitor.labels" . | nindent 4 }}
name: {{ include "hedera-mirror-rest.fullname" . }}-monitor-test
namespace: {{ include "hedera-mirror-rest.namespace" . }}
Expand Down
4 changes: 4 additions & 0 deletions charts/hedera-mirror-rest/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ monitor:
service:
type: ClusterIP
test:
annotations:
helm.sh/hook: test-success
helm.sh/hook-delete-policy: before-hook-creation,hook-succeeded
helm.sh/hook-weight: "20"
enabled: true
image:
pullPolicy: IfNotPresent
Expand Down

0 comments on commit a677dca

Please sign in to comment.