Skip to content

Commit 2f1d704

Browse files
fix(tests): restore terminal color at end of error messages
1 parent 6a7a637 commit 2f1d704

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

charts/supabase/templates/test/analytics.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.analytics.fullname" . }}:{{ .Values.analytics.service.port }}/health \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.analytics.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.analytics.fullname" . }}\033[0m."; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.analytics.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/auth.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.auth.fullname" . }}:{{ .Values.auth.service.port }}/health \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.auth.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.auth.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.auth.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/db.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ spec:
1717
- -c
1818
- |
1919
pg_isready -h $(DB_HOST) -p $(DB_PORT) -U $(DB_USER) \
20-
|| { echo -e "\033[31mFailed to connect to the database."; exit 1; }
20+
|| { echo -e "\033[31mFailed to connect to the database.\033[0m"; exit 1; }
2121
2222
echo "Database is ready"
2323
env:

charts/supabase/templates/test/imgproxy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.imgproxy.fullname" . }}:{{ .Values.imgproxy.service.port }}/health \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.imgproxy.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.imgproxy.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.imgproxy.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/kong.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
curl -sL --fail \
3535
-o /dev/null \
3636
"http://${DASHBOARD_USERNAME}:${DASHBOARD_PASSWORD}@{{ include "supabase.kong.fullname" . }}:{{ .Values.kong.service.port }}" \
37-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.kong.fullname" . }}."; exit 1; }
37+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.kong.fullname" . }}.\033[0m"; exit 1; }
3838
3939
echo "Successfully connected."
4040
restartPolicy: Never

charts/supabase/templates/test/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.meta.fullname" . }}:{{ .Values.meta.service.port }}/health \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.meta.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.meta.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.meta.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/minio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
- |
2121
curl -sfo /dev/null \
2222
http://{{ include "supabase.minio.fullname" . }}:{{ .Values.minio.service.port }}/minio/health/live \
23-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.minio.fullname" . }}."; exit 1; }
23+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.minio.fullname" . }}.\033[0m"; exit 1; }
2424
2525
echo "Sevice {{ include "supabase.minio.fullname" . }} is healthy."
2626
restartPolicy: Never

charts/supabase/templates/test/realtime.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.realtime.fullname" . }}:{{ .Values.realtime.service.port }} \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.realtime.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.realtime.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.realtime.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/rest.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.rest.fullname" . }}:{{ .Values.rest.service.port }} \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.rest.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.rest.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.rest.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/storage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.storage.fullname" . }}:{{ .Values.storage.service.port }}/status \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.storage.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.storage.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.storage.fullname" . }} is healthy."
2727
restartPolicy: Never

charts/supabase/templates/test/studio.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
- |
2222
curl -sfo /dev/null \
2323
http://{{ include "supabase.studio.fullname" . }}:{{ .Values.studio.service.port }}/api/profile \
24-
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.studio.fullname" . }}."; exit 1; }
24+
|| { echo -e "\033[31mFailed to connect to the {{ include "supabase.studio.fullname" . }}.\033[0m"; exit 1; }
2525
2626
echo "Sevice {{ include "supabase.studio.fullname" . }} is healthy."
2727
restartPolicy: Never

0 commit comments

Comments
 (0)