Skip to content

Commit 666214e

Browse files
committed
add: exit 2 on CD when db is not filles
1 parent dec0cf1 commit 666214e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,6 @@ jobs:
5555
docker-compose -f docker-compose-populate.yml up -d
5656
sleep 25
5757
./populate_db.sh
58+
./query_all_db.sh
5859
docker-compose -f docker-compose-populate.yml down
5960
docker-compose up -d

query_all_db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
cd yml_to_graphql
2-
GRAPHQL_SERVER="http://localhost:8080" YML_DB_PATH="../db/database" node queryAll.js
2+
GRAPHQL_SERVER="http://localhost:8086" YML_DB_PATH="../db/database" node queryAll.js
33
cd ..

yml_to_graphql

0 commit comments

Comments
 (0)