fix(supabase): sheet-assets runner review LOWs (one destination, no anon key at build)

This commit is contained in:
bchanot committed 2026-11-02 00:34:03 +01:00
1 parent 8191e3a42c
commit bbc0627f8a
1 file changed
+4 -4
+4 -4
View File
@@ -24,8 +24,8 @@ try:
except Exception:
sys.exit(1)'; }
if [ "${SUPABASE_URL:-}" != "$SANDBOX_URL" ] || ! sandbox_key "$SERVICE" || ! sandbox_key "$ANON"; then
echo "sheet-assets-e2e: refused, nothing was run. Sandbox only: the sandbox gateway URL and sandbox-issued" >&2
echo "keys, set by pnpm db:sandbox sheet-assets-e2e where that runner exists; it never targets DEV." >&2
echo "sheet-assets-e2e: refused, nothing was run. Sandbox only: the sandbox gateway URL and keys naming" >&2
echo "the sandbox issuer, set by pnpm db:sandbox sheet-assets-e2e where that runner exists; it never targets DEV." >&2
exit 2
fi
@@ -34,8 +34,8 @@ SEED=supabase/seed/anatomical-sheets/equine/draft
BIN=target/release/upload-sheet-assets
FAIL=0
env -u SUPABASE_SERVICE_ROLE_KEY cargo build --release --locked -q -p faunosteo-core --features upload --bin upload-sheet-assets || exit 2
LOCAL=http://127.0.0.1:57800
env -u SUPABASE_SERVICE_ROLE_KEY -u SUPABASE_ANON_KEY cargo build --release --locked -q -p faunosteo-core --features upload --bin upload-sheet-assets || exit 2
LOCAL=$SANDBOX_URL
# expect <name> <expected exit> <url> <key> <args...>; output kept to grep, keys never echoed.
expect() {