Skip to content

Commit 67c62ca

Browse files
Add quest load tests per PR (#404)
1 parent 0a38c9f commit 67c62ca

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

.github/workflows/integration-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v3
1919
- name: Start compose
20-
run: docker-compose up --build --exit-code-from quest
20+
run: docker-compose up --build --exit-code-from quest-load
2121
- name: Stop compose
2222
if: always()
2323
run: docker-compose down

docker-compose.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,34 @@ services:
5858
delay: 20s
5959
max_attempts: 3
6060

61-
quest:
61+
quest-smoke:
6262
image: ghcr.io/parseablehq/quest:main
6363
command: ["smoke", "http://parseable:8000", "parseableadmin", "parseableadmin"]
6464
networks:
6565
- parseable-internal
6666
depends_on:
67-
- parseable
67+
parseable:
68+
condition: service_started
6869
deploy:
6970
restart_policy:
7071
condition: on-failure
7172
delay: 20s
7273
max_attempts: 3
74+
75+
quest-load:
76+
image: ghcr.io/parseablehq/quest:main
77+
command: ["load", "http://parseable:8000", "parseableadmin", "parseableadmin", "20"]
78+
networks:
79+
- parseable-internal
80+
depends_on:
81+
parseable:
82+
condition: service_started
83+
quest-smoke:
84+
condition: service_started
85+
deploy:
86+
restart_policy:
87+
condition: on-failure
88+
delay: 20s
89+
max_attempts: 3
90+
91+

0 commit comments

Comments
 (0)