Skip to content

Commit

Permalink
Fixes to the deployment of the e2e tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccully committed Aug 14, 2024
1 parent d8aea06 commit 305638c
Showing 1 changed file with 13 additions and 23 deletions.
36 changes: 13 additions & 23 deletions banzai/tests/e2e-k8s.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,9 @@ spec:
readinessProbe:
exec:
command:
- redis-cli
- ping
- |
- grep
- "PONG"
- /bin/sh
- -c
- 'redis-cli ping | grep -q "PONG"'
initialDelaySeconds: 5
periodSeconds: 1
- name: banzai-fits-exchange
Expand Down Expand Up @@ -63,7 +61,7 @@ spec:
readOnly: false
env:
- name: DB_ADDRESS
value: "sqlite:////archive/engineering/test.db"
value: "sqlite:////archive/engineering/test.db?timeout=10"
- name: RETRY_DELAY
value: "0"
- name: TASK_HOST
Expand Down Expand Up @@ -105,13 +103,9 @@ spec:
readinessProbe:
exec:
command:
- celery
- -A
- banzai
- status
- |
- grep
- "banzai-celery-worker:.*OK"
- /bin/sh
- -c
- 'celery -A banzai status | grep -q @banzai-celery-worker:.*OK"'
initialDelaySeconds: 5
periodSeconds: 1
timeoutSeconds: 10
Expand All @@ -132,7 +126,7 @@ spec:
readOnly: false
env:
- name: DB_ADDRESS
value: "sqlite:////archive/engineering/test.db"
value: "sqlite:////archive/engineering/test.db?timeout=10"
- name: RETRY_DELAY
value: "0"
- name: TASK_HOST
Expand Down Expand Up @@ -173,13 +167,9 @@ spec:
readinessProbe:
exec:
command:
- celery
- -A
- banzai
- status
- |
- grep
- "banzai-celery-worker:.*OK"
- /bin/sh
- -c
- 'celery -A banzai status | grep -q "large-celery-worker:.*OK"'
initialDelaySeconds: 5
periodSeconds: 1
timeoutSeconds: 10
Expand All @@ -200,7 +190,7 @@ spec:
readOnly: false
env:
- name: DB_ADDRESS
value: "sqlite:////archive/engineering/test.db"
value: "sqlite:////archive/engineering/test.db?timeout=10"
- name: FITS_BROKER
value: "localhost"
- name: TASK_HOST
Expand All @@ -223,7 +213,7 @@ spec:
value: "e2e_large_task_queue"
command:
- banzai_run_realtime_pipeline
- "--db-address=sqlite:////archive/engineering/test.db"
- "--db-address='sqlite:////archive/engineering/test.db?timeout=10'"
- "--fpack"
- "--broker-url=localhost"
resources:
Expand Down

0 comments on commit 305638c

Please sign in to comment.