fixup! fixup! [IMP] make modular port on host. default with 9069 and 9432 to avoid conflict on host that regularly expose 8069 and 5432

This commit is contained in:
Sylvain LE GAL 2022-05-03 22:52:53 +02:00
parent ce8b181fc7
commit 1966d9f70e
3 changed files with 5 additions and 4 deletions

View File

@ -10,7 +10,7 @@ from odoo_openupgrade_wizard.cli_docker_build import docker_build
from odoo_openupgrade_wizard.cli_get_code import get_code
from odoo_openupgrade_wizard.cli_init import init
from odoo_openupgrade_wizard.cli_run import run
from odoo_openupgrade_wizard.cli_test import test
from odoo_openupgrade_wizard.cli_test_dev import test_dev
from odoo_openupgrade_wizard.cli_upgrade import upgrade
from odoo_openupgrade_wizard.tools_system import ensure_folder_exists
@ -97,4 +97,4 @@ main.add_command(get_code)
main.add_command(docker_build)
main.add_command(run)
main.add_command(upgrade)
main.add_command(test)
main.add_command(test_dev)

View File

@ -6,7 +6,7 @@ import docker
@click.command()
@click.pass_context
def test(ctx):
def test_dev(ctx):
client = docker.Client()
container = client.create_container(
image="busybox:latest",

View File

@ -1,6 +1,7 @@
project_name: test-cli
host_odoo_xmlrpc_port: 8069
host_odoo_xmlrpc_port: 9069
host_postgres_port: 9432
odoo_versions: