Skip to content

Commit

Permalink
fix: jq key for readiness check
Browse files Browse the repository at this point in the history
  • Loading branch information
olivercodes committed Aug 4, 2023
1 parent 149d9f0 commit 84ffa00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
name: test healthz endpoint
command: |
reponse=$(curl https://dev.twdps.io/teams/healthz/readiness)
if [[ $(echo $reponse | jq -r .status) != "ok" ]]; then
if [[ $(echo $reponse | jq -r .message) != "DB is available" ]]; then
echo "error: healthz not ok"
exit 1
fi
Expand Down

0 comments on commit 84ffa00

Please sign in to comment.