From 9e55e65ac5eb6ff645880ee253a33f6ab138b615 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 14 Aug 2025 11:54:52 -0600 Subject: Fix the broken build by running pg as a separate container. Improve shell scripts and remove /sparkles/restore endpoint - Add error handling and debugging to shell scripts with `set -e` and `DEBUG` flag - Ensure scripts run from project root with `cd "$(dirname "$0")/.."` - Remove `/sparkles/restore` endpoint from public routes and Envoy config - Add Postgres test container support for integration tests - Update CI configuration with newer Runway version and improved test setup - Simplify Makefile by removing redundant commands ------- :robot: Commit message generated by GitLab Duo --- bin/zed | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'bin/zed') diff --git a/bin/zed b/bin/zed index 77dc0d8..fbe7834 100755 --- a/bin/zed +++ b/bin/zed @@ -1,3 +1,13 @@ #!/bin/sh -go tool godotenv -f .env.local,.env go tool zed --insecure $@ +set -e +[ -n "$DEBUG" ] && set -x + +cd "$(dirname "$0")/.." + +if ! command -v zed >/dev/null 2>&1; then + echo "Install zed: https://github.com/authzed/zed" + exit 1 +fi + +./bin/tool godotenv -f .env.local,.env go tool zed --insecure $@ -- cgit v1.2.3