Skip to content

Commit

Permalink
Merge pull request #46 from sbidoul/support-latest-oca-ci
Browse files Browse the repository at this point in the history
Add ADDONS_DIR to ADDONS_PATH
  • Loading branch information
sbidoul authored Feb 26, 2022
2 parents 7cb0b3f + 2eaf4bd commit c5b2d21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/runboat/kubefiles/runboat-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ fi
# show what is installed (the venv in /opt/odoo-venv has been mounted)
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.
DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends $(oca_list_external_dependencies deb)

Expand Down

0 comments on commit c5b2d21

Please sign in to comment.