Skip to content

Commit

Permalink
feat: add graphql-server test
Browse files Browse the repository at this point in the history
  • Loading branch information
omidasadpour committed Jul 19, 2023
1 parent 9155551 commit dae04be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/lint-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,3 @@ jobs:
--set auth.enabled=false \
--set architecture=standalone \
--set image.tag=6.2-debian-11
- name: Run chart-testing (install)
run: |
ct install \
--debug \
--namespace default \
--target-branch ${{ github.event.repository.default_branch }}
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
apiVersion: v1
kind: Pod
metadata:
name: "{{ include "validator.fullname" . }}-test-connection"
labels: {{- include "validator.labels" . | nindent 4 }}
name: "{{ .Release.Name }}-graphql-server-http-check"
annotations:
"helm.sh/hook": test
spec:
containers:
- name: wget
- name: http-check
image: busybox
command: ['wget']
args: ['{{ include "validator.fullname" . }}-graphql-server:{{ .Values.endpoints.graphqlServer.service.port }}']
restartPolicy: Never
args: ['--spider', '--timeout=5', 'http://{{ include "validator.fullname" . }}-graphql-server:{{ .Values.endpoints.graphqlServer.service.port }}']
restartPolicy: Never

0 comments on commit dae04be

Please sign in to comment.