-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ak-entrypoint-light in light version, and add the minimal tooling…
… for running the test and coverage
- Loading branch information
1 parent
c28edad
commit f7f78c5
Showing
3 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
|
||
# When using docky open the bedrock entrypoint is not run | ||
# and so the PG variable are not initialized with the odoo variable | ||
# to have a working postgresql-client working without setting odoo and PG variable | ||
# it simplier to use native PG variable and map them to odoo | ||
# So in docker-compose.yml only set the PG variable and it will work | ||
|
||
export DB_HOST=${PGHOST} | ||
export DB_PORT=${PGPORT:-5432} | ||
export DB_USER=${PGUSER} | ||
export DB_PASSWORD=${PGPASSWORD} | ||
export DB_NAME=${PGDATABASE} | ||
|
||
/usr/local/bin/entrypoint.sh "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters