Skip to content

Commit

Permalink
support local PG_OPTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Newberry committed Jun 4, 2024
1 parent 6a9e416 commit 7c27cf0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ops.yml
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@ dependencies:
- overmind
custom:
- bundle config --local path vendor/bundle
- bundle config set --local build.pg ${PG_OPTS}
- bundle
- ops deps start
- yarn
@@ -42,5 +43,8 @@ actions:
-H "X-Client-id: $DEFAULT_CLIENT_ID" | jq
load_secrets: true
options:
environment:
HOMEBREW_PREFIX: $(brew --prefix)
PG_OPTS: ${PG_OPTS:- --with-pg-lib=/usr/lib --with-opt-dir="${HOMEBREW_PREFIX:-/usr/local}/opt/libpq"}
exec:
load_secrets: true

0 comments on commit 7c27cf0

Please sign in to comment.