Merge pull request #46 from sbidoul/support-latest-oca-ci
Add ADDONS_DIR to ADDONS_PATH
This commit is contained in:
commit
c5b2d215d7
1 changed files with 6 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ fi
|
||||||
# show what is installed (the venv in /opt/odoo-venv has been mounted)
|
# show what is installed (the venv in /opt/odoo-venv has been mounted)
|
||||||
pip list
|
pip list
|
||||||
|
|
||||||
|
# Add ADDONS_DIR to addons_path (because that oca_install_addons did,
|
||||||
|
# but $ODOO_RC is not on a persistent volume, so it is lost when we
|
||||||
|
# start in another container).
|
||||||
|
echo "addons_path=${ADDONS_PATH},${ADDONS_DIR}" >> ${ODOO_RC}
|
||||||
|
cat ${ODOO_RC}
|
||||||
|
|
||||||
# Install 'deb' external dependencies of all Odoo addons found in path.
|
# Install 'deb' external dependencies of all Odoo addons found in path.
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends $(oca_list_external_dependencies deb)
|
DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends $(oca_list_external_dependencies deb)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue