Make branch generic

This commit is contained in:
Matt Marcha 2025-05-07 15:45:19 -10:00
parent 190c211b66
commit 195110a665
4 changed files with 7 additions and 6 deletions

View file

@ -1,4 +1,4 @@
ODOO_VERSION=17.0 COMMAND=
COMMAND=-d odoo
PG_VERSION=14.12 #Moved to 14.15 in Odoo 18 PG_VERSION=14.12 #Moved to 14.15 in Odoo 18
ENTERPRISE_PATH=/local/path/to/enterprise/modules ENTERPRISE_PATH=/local/path/to/enterprise/modules
OPENUPGRADE_PATH=/home/user/openupgrade/15

View file

@ -5,5 +5,6 @@ RUN apt update
RUN apt install -y git RUN apt install -y git
RUN pip3 install --ignore-installed git+https://github.com/OCA/openupgradelib.git@master RUN pip3 install --ignore-installed git+https://github.com/OCA/openupgradelib.git@master
RUN pip3 install lxml_html_clean RUN pip3 install lxml_html_clean
RUN export OPENUPGRADE_TARGET_VERSION=16.0 # Uncomment if target version is higher than 15
# RUN export OPENUPGRADE_TARGET_VERSION=17.0
USER odoo USER odoo

View file

@ -6,7 +6,7 @@ server_wide_modules = base,web,openupgrade_framework
admin_passwd = odoo admin_passwd = odoo
; csv_internal_sep = , ; csv_internal_sep = ,
; db_maxconn = 64 ; db_maxconn = 64
db_name = fenua15 ; db_name = odoo
db_user = odoo db_user = odoo
db_password = odoo db_password = odoo
; db_template = template1 ; db_template = template1

View file

@ -9,7 +9,7 @@ services:
- odoo-web:/var/lib/odoo - odoo-web:/var/lib/odoo
- ./config:/etc/odoo - ./config:/etc/odoo
- ./modules:/mnt/extra-addons - ./modules:/mnt/extra-addons
- /home/matt/Dev/src/openupgrade/15:/mnt/openupgrade - ${OPENUPGRADE_PATH}:/mnt/openupgrade
command: "odoo ${COMMAND}" command: "odoo ${COMMAND}"
db: db:
image: postgres:12.20 image: postgres:12.20