Skip to content

Commit

Permalink
☀ projected k8s-manifests-github from b3c799c
Browse files Browse the repository at this point in the history
Source-holobranch: k8s-manifests-github
Source-commit: b3c799c
Source: b3c799c
  • Loading branch information
themightychris committed Dec 2, 2024
2 parents ed7d669 + b3c799c commit f329f79
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-analytics:4000/health
http://squadquest-supabase-supabase-analytics:4000/health \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-analytics."; exit 1; }
echo "Sevice squadquest-supabase-supabase-analytics is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
4 changes: 3 additions & 1 deletion squadquest-supabase/Job/squadquest-supabase-test-auth.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-auth:9999/health
http://squadquest-supabase-supabase-auth:9999/health \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-auth."; exit 1; }
echo "Sevice squadquest-supabase-supabase-auth is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
6 changes: 3 additions & 3 deletions squadquest-supabase/Job/squadquest-supabase-test-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ spec:
- command:
- /bin/sh
- '-c'
- >
pg_isready -h $(DB_HOST) -p $(DB_PORT) -U $(DB_USER) || $(echo
"\e[0;31mFailed to connect to the database." && exit 1)
- |
pg_isready -h $(DB_HOST) -p $(DB_PORT) -U $(DB_USER) \
|| { echo -e "\033[31mFailed to connect to the database."; exit 1; }
echo "Database is ready"
env:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-imgproxy:5001/health
http://squadquest-supabase-supabase-imgproxy:5001/health \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-imgproxy."; exit 1; }
echo "Sevice squadquest-supabase-supabase-imgproxy is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
3 changes: 2 additions & 1 deletion squadquest-supabase/Job/squadquest-supabase-test-kong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ spec:
curl -sL --fail \
-o /dev/null \
"http://${DASHBOARD_USERNAME}:${DASHBOARD_PASSWORD}@squadquest-supabase-supabase-kong:8000" \
|| ( echo -e "\e[0;31mFailed to get a valid response." && exit 1 )
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-kong."; exit 1; }
echo "Successfully connected."
env:
- name: DASHBOARD_USERNAME
Expand Down
4 changes: 3 additions & 1 deletion squadquest-supabase/Job/squadquest-supabase-test-meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-meta:8080/health
http://squadquest-supabase-supabase-meta:8080/health \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-meta."; exit 1; }
echo "Sevice squadquest-supabase-supabase-meta is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-realtime:4000
http://squadquest-supabase-supabase-realtime:4000 \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-realtime."; exit 1; }
echo "Sevice squadquest-supabase-supabase-realtime is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
4 changes: 3 additions & 1 deletion squadquest-supabase/Job/squadquest-supabase-test-rest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-rest:3000
http://squadquest-supabase-supabase-rest:3000 \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-rest."; exit 1; }
echo "Sevice squadquest-supabase-supabase-rest is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-storage:5000/status
http://squadquest-supabase-supabase-storage:5000/status \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-storage."; exit 1; }
echo "Sevice squadquest-supabase-supabase-storage is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down
4 changes: 3 additions & 1 deletion squadquest-supabase/Job/squadquest-supabase-test-studio.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ spec:
- '-c'
- |
curl -sfo /dev/null \
http://squadquest-supabase-supabase-studio:3000/api/profile
http://squadquest-supabase-supabase-studio:3000/api/profile \
|| { echo -e "\033[31mFailed to connect to the squadquest-supabase-supabase-studio."; exit 1; }
echo "Sevice squadquest-supabase-supabase-studio is healthy."
image: kdevup/curljq
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit f329f79

Please sign in to comment.