designops-gateway / build (push) Failing after 20m0s
- merge openpencil/penpot/excalidraw/style-dictionary/storybook as native monorepo code (upstream .git removed; origins in okf/manifest.md) - add project-level okf/ (manifest + memory/rule/skill/decision/lesson) - add AGENTS.md (OKF annotation standard) + monorepo .gitignore - annotate 9 entry files with @module/@skill/@rule headers - add GitOps deploy bundle (infra/gitops/) + Gitea CI (.gitea/workflows/)
35 lines
659 B
Bash
Executable File
35 lines
659 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
HOST="${PENPOT_DB_HOST:-postgres}"
|
|
USER="${PENPOT_DB_USER:-penpot}"
|
|
PASSWORD="${PENPOT_DB_PASSWORD:-penpot}"
|
|
DB="${PENPOT_DB_NAME:-penpot}"
|
|
|
|
while [[ $# -gt 0 ]]; do
|
|
case "$1" in
|
|
--test)
|
|
DB="penpot_test"
|
|
shift
|
|
;;
|
|
--host|-h)
|
|
HOST="$2"
|
|
shift 2
|
|
;;
|
|
--user|-U)
|
|
USER="$2"
|
|
shift 2
|
|
;;
|
|
--db|-d)
|
|
DB="$2"
|
|
shift 2
|
|
;;
|
|
*)
|
|
break
|
|
;;
|
|
esac
|
|
done
|
|
|
|
export PGPASSWORD="$PASSWORD"
|
|
exec psql -h "$HOST" -U "$USER" -d "$DB" "$@"
|