Skip to content

Commit

Permalink
Give a dedicated cachedb dir for volume mount
Browse files Browse the repository at this point in the history
In order to extract the DB dump from the image we want this folder
to be standalone especially in the CI
By default this variable is set to /tmp/cachedb, it can be set before
launching the script
  • Loading branch information
yvaucher committed Sep 14, 2023
1 parent 9ce59a6 commit ca10ba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/runmigration
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
set -e

wait_postgres.sh
CACHE_DIR=/tmp
CACHE_DIR=${CACHE_DIR:=/tmp/cachedb}

echo $CACHE_DIR

Expand Down
2 changes: 1 addition & 1 deletion bin/runtests
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ set -e

wait_postgres.sh
LOCAL_SRC_DIR=/odoo/local-src
CACHE_DIR=/tmp
CACHE_DIR=${CACHE_DIR:=/tmp/cachedb}

if [ -z $1 ]; then
LOCAL_ADDONS=$(find ${LOCAL_SRC_DIR}/* -maxdepth 0 -type d -and -not -name server_environment_files -printf "%f\n" |
Expand Down

0 comments on commit ca10ba1

Please sign in to comment.