Rémy Taymans
82da4bb3ba
[FIX] estimate-workload: InvalidGitRepositoryError
...
For older Odoo version directories are named openerp.
2023-01-02 18:52:00 +01:00
Sylvain LE GAL
a56d9cdf0c
[REF] trivial refacgtoring avoid to compute odoo_folder for each key in data.keys()
2022-11-10 20:52:40 +01:00
Sylvain LE GAL
ee8fb9bd1a
[FIX] pull submodule : use str instead of Posix path
2022-11-10 20:23:58 +01:00
Rémy Taymans
2f5f1edaf0
Merge branch 'add-docker-odoo-16' into 'main'
...
[ADD] odoo 16.0 template
Closes #10
See merge request odoo-openupgrade-wizard/odoo-openupgrade-wizard!20
2022-10-13 20:02:05 +00:00
Rémy Taymans
95a6643d88
[ADD] odoo 16.0 template
2022-10-12 10:38:56 +02:00
Rémy Taymans
6d0d6f355e
[IMP] documentation about odoo.conf
...
Close #9
2022-10-11 16:01:08 +02:00
Rémy Taymans
f3c9d3b533
[FIX] odoo.cfg to odoo.conf
...
Close issue #8
2022-10-11 14:39:38 +02:00
Sylvain LE GAL
4634def83f
[IMP] use always the master branch of openupgradelib
2022-10-11 12:26:41 +02:00
Sylvain LE GAL
e63851cf9e
[ADD][WIP] copydb (pseudo click-odoo function
2022-10-11 12:26:41 +02:00
Sylvain LE GAL
bdc9b606ec
[IMP] Add postgresql custom configuration ; [ADD] extra setting into odoo_default_company key. (in config.yml file) ; [ADD] odoo_rpc_timeout extra settings ; [FIX] restore call to custom odoo.cfg file
2022-10-11 12:26:41 +02:00
Sylvain LE GAL
531978eb00
[ADD] repos url git log!
2022-07-12 00:55:36 +02:00
Sylvain LE GAL
d7a576890a
[IMP] prune postgres container
2022-07-11 16:46:08 +02:00
Sylvain LE GAL
c924103fa0
[IMP] add local_user_id in build call.
2022-07-11 15:15:22 +02:00
Sylvain LE GAL
11c43cf8b2
[IMP] description in config.yml file
2022-07-11 13:57:13 +02:00
Sylvain LE GAL
be74ce5bab
[REF] Set correct dockerfile, based on odoo/debian ones. (for 12 to 15)
2022-07-11 13:43:55 +02:00
Sylvain LE GAL
590f92a1c9
[REM] fucking inadapted docker images
2022-07-11 00:15:56 +02:00
Sylvain LE GAL
acb02fd9cc
wip de chez wip
2022-07-01 13:38:59 +02:00
Sylvain LE GAL
a964efd029
wip
2022-06-29 22:12:29 +02:00
Sylvain LE GAL
4500d9fe43
[REF] introduce exec_container command
2022-06-29 21:53:26 +02:00
Sylvain LE GAL
afcdeaa81d
ADD a lot of logger to try to understand why it works locally and not on the CI
2022-06-29 21:16:27 +02:00
Sylvain LE GAL
a9f7fa3568
improve log
2022-06-29 21:03:06 +02:00
Sylvain LE GAL
798e27ab16
[IMP] add logger in execute_sql_file
2022-06-29 20:13:08 +02:00
Sylvain LE GAL
819ef6a417
[FIX] par exemple, introduire des bugs, c'est pas gentils
2022-06-29 18:02:21 +02:00
Sylvain LE GAL
80bd469095
[FIX] replace hardcoded 1000 value by os.getuid()
2022-06-29 17:52:58 +02:00
Sylvain LE GAL
4427470a41
various
2022-06-29 17:46:58 +02:00
Sylvain LE GAL
1261dfaa2f
[REF] Add logger in test
2022-06-29 17:37:08 +02:00
Sylvain LE GAL
36db85e4b9
[ADD] Log if container fails during odoo execution
2022-06-29 17:17:17 +02:00
Sylvain LE GAL
424131e9b2
[REF] Remove bind fucking mounts (postgres) replaced by nice volumes
2022-06-29 16:28:48 +02:00
Sylvain LE GAL
7fca87bae7
[FIX] GREENIFY ALL THE TESTgit status!
2022-06-29 15:50:17 +02:00
Sylvain LE GAL
ae3619e766
[REF] replace click-odoo by calling shell command directly
2022-06-29 15:13:13 +02:00
Sylvain LE GAL
1ead68bef0
[REF] remove click-odoo that requires to import odoo that is a mess
2022-06-29 14:12:12 +02:00
Sylvain LE GAL
8035ba2871
[FIX] various test. Readd odoorpc in the requilrements.txt file to generate_module_analysis and add comments in the file
2022-06-29 11:25:29 +02:00
Sylvain LE GAL
01b2a94cb4
[FIX] do not crash if postgres container exists in a exited status
2022-06-29 10:58:27 +02:00
Sylvain LE GAL
db3d16e37c
[IMP] make cli_05_execute_script_python_test working
2022-06-29 10:34:58 +02:00
Sylvain LE GAL
b5419e5d19
[IMP] use LOCAL_USER_ID calling odoo-bedrock, so no need to create filestore and log folder with 777
2022-06-28 16:55:08 +02:00
Sylvain LE GAL
451be8c389
FIX pass execution_context
2022-06-28 01:22:24 +02:00
Sylvain LE GAL
b64c445cb4
[WIP]
2022-06-28 01:06:23 +02:00
Sylvain LE GAL
429b8013b9
le run, ça marche ! (bon bah pour toute les versions...)
2022-06-27 23:53:51 +02:00
Sylvain LE GAL
bac5d0d22e
wip
2022-06-27 21:59:57 +02:00
Sylvain LE GAL
bacca4f7c6
wip
2022-06-27 17:21:15 +02:00
Sylvain LE GAL
80e5e3ad87
[REF] Dockerfiles : switch from odoo/odoo to acsone/odoo-bedrock
2022-06-27 15:56:28 +02:00
Sylvain LE GAL
b37bfa8e31
[REF] create tools & cli folders
2022-06-27 01:57:31 +02:00
Sylvain LE GAL
f895b7d05a
[REF] move all templates present in python file into a 'templates' subfolder
2022-06-27 00:34:39 +02:00
Sylvain LE GAL
8836c2c656
[IMP] make resilient the call estimate-workload if some modules are unknown
2022-06-26 21:28:12 +02:00
Sylvain LE GAL
599ba9599c
[FIX] various fixes
2022-06-23 20:42:34 +02:00
Sylvain LE GAL
57377fe924
[REF] merge version and release concept and simplify version settings
2022-06-22 00:28:41 +02:00
Sylvain LE GAL
2135ebdde8
[IMP] Add option --jobs for 'get-code' command
2022-06-21 13:11:05 +02:00
Sylvain LE GAL
d23804f4b4
[IMP] allow to call run with a specific execution_context
2022-06-21 13:03:31 +02:00
LE GAL SYLVAIN
65faab03b6
Dev 4 finish openupgrade analyse
2022-06-20 21:57:44 +00:00
Sylvain LE GAL
6b50a0ed7f
[FIX] temporary disable a buggy function
2022-06-17 09:54:57 +02:00
Sylvain LE GAL
7238a82fcb
[IMP] search analysis_file.txt
2022-06-17 02:08:01 +02:00
Sylvain LE GAL
715b080abc
[FIX] pull postgres image if doesn't exist
2022-06-17 00:29:27 +02:00
Sylvain LE GAL
28aee38a81
[IMP] possibility to configure values for the estimate-workload configuration
2022-06-17 00:29:27 +02:00
Sylvain LE GAL
8699d4e8b6
[FIX] check _exclude_directories in relative_path to avoid to fail when testing. test is done in a 'tests' folder, that is a excluded directory
2022-06-16 22:13:41 +02:00
Sylvain LE GAL
0da6590d6f
[IMP] coverage of estimate-workload
2022-06-16 22:00:49 +02:00
Sylvain LE GAL
c1b5efa13f
[REF] Remove useless code (obsolete helper for odooRPC call
2022-06-16 21:02:42 +02:00
Sylvain LE GAL
31db502004
[ADD] test to see if image exist
2022-06-15 10:53:24 +02:00
Sylvain LE GAL
03fb7812b1
[WIP]
2022-06-03 12:32:27 +02:00
Sylvain LE GAL
63c25fd3a6
[IMP] make estimate-workload faster. Also don't crash at first module not found, and raise a global error mentionning all the module to recover
2022-06-02 14:04:14 +02:00
Sylvain LE GAL
44fd15b45c
[ADD] analyse-workload (2/2) WIP
2022-06-02 11:28:23 +02:00
Sylvain LE GAL
2a0b46ca60
[WIP] add estimate-workload command
2022-06-01 01:04:10 +02:00
Sylvain LE GAL
7df051acfa
[IMP] take into account Rémy remarks
2022-05-31 16:55:43 +02:00
Sylvain LE GAL
ecd03ba392
[REF][WIP] remove xml_rpc connexion to make CI green, and replace by click_odoo script
2022-05-31 16:40:03 +02:00
Sylvain LE GAL
c4ef08cf64
add doc
2022-05-30 15:00:46 +02:00
Sylvain LE GAL
9fc3302bc4
[FIX] minor problem on install-from-csv command
2022-05-16 13:32:59 +02:00
Sylvain LE GAL
0974d36aa9
[FIX] bad docker command displayed
2022-05-09 16:46:17 +02:00
Sylvain LE GAL
ac834c6525
[IMP] add test on generate-module-analysis
2022-05-06 21:15:25 +02:00
Sylvain LE GAL
c7bf8bffc3
[ADD] test for generate-module-analysis command
2022-05-06 20:59:16 +02:00
Sylvain LE GAL
8963b3ec59
[IMP] VICTORY ! odoo container 1 is communicating with odoo container 2 !
2022-05-06 16:08:45 +02:00
Sylvain LE GAL
633b7d8076
[REF] remove useless postgresql port 'postgres_host_port' arg
2022-05-06 15:25:55 +02:00
Sylvain LE GAL
11e6607802
[REF] refactor docker 'ports' args
2022-05-06 15:21:11 +02:00
Sylvain LE GAL
5a4f777fd4
[REF] refactor docker 'volumes' arg
2022-05-06 15:09:56 +02:00
Sylvain LE GAL
a0eb99fd48
coucou
2022-05-06 14:32:49 +02:00
Sylvain LE GAL
954d83e6b6
fixup! fixup! wip
2022-05-06 01:15:43 +02:00
Sylvain LE GAL
06d5501c49
fixup! wip
2022-05-06 00:43:00 +02:00
Sylvain LE GAL
e5813612ca
wip
2022-05-06 00:36:24 +02:00
Sylvain LE GAL
e044954432
[ADD] test for command execute-script-sql
2022-05-05 22:07:16 +02:00
Sylvain LE GAL
1028d74db2
[FIX] make all the containers working great together !
2022-05-05 18:59:21 +02:00
Sylvain LE GAL
3600c7e89c
wip
2022-05-05 13:49:48 +02:00
Sylvain LE GAL
74cfe7c989
wip
2022-05-05 13:19:31 +02:00
Sylvain LE GAL
ffa406ef20
WIp
2022-05-05 13:08:46 +02:00
Sylvain LE GAL
5d6905ebaa
[ADD] ensure_database function ; [IMP] tests with SQL request
2022-05-05 12:35:52 +02:00
Sylvain LE GAL
5ee20f8291
wip
2022-05-05 01:04:47 +02:00
Sylvain LE GAL
38c01e014b
wip
2022-05-05 00:48:44 +02:00
Sylvain LE GAL
d3fa0a257c
[TRY] add huge sleep
2022-05-05 00:05:18 +02:00
Sylvain LE GAL
89d981dd87
[ADD] Add command to create database
2022-05-04 23:53:57 +02:00
Sylvain LE GAL
70d60e9661
TEST alternative to localhost
2022-05-04 22:06:00 +02:00
Sylvain LE GAL
cc45dfc488
fixup! [FIX] correct name for custom script in execute_script tests
2022-05-04 17:31:14 +02:00
Sylvain LE GAL
624387b89d
[FIX] correct name for custom script in execute_script tests
2022-05-04 15:22:18 +02:00
Sylvain LE GAL
21c744b6c7
[IMP] execute-script
2022-05-04 15:01:41 +02:00
Sylvain LE GAL
27d02ce4a3
[IMP] add log_level
2022-05-04 12:34:10 +02:00
Sylvain LE GAL
bb0a0670e7
fixup! fixup! fixup! [IMP] make modular port on host. default with 9069 and 9432 to avoid conflict on host that regularly expose 8069 and 5432
2022-05-03 23:23:29 +02:00
Sylvain LE GAL
1966d9f70e
fixup! fixup! [IMP] make modular port on host. default with 9069 and 9432 to avoid conflict on host that regularly expose 8069 and 5432
2022-05-03 22:52:53 +02:00
Sylvain LE GAL
ce8b181fc7
fixup! [IMP] make modular port on host. default with 9069 and 9432 to avoid conflict on host that regularly expose 8069 and 5432
2022-05-03 22:43:10 +02:00
Sylvain LE GAL
6b1ffa2a8c
[IMP] make modular port on host. default with 9069 and 9432 to avoid conflict on host that regularly expose 8069 and 5432
2022-05-03 21:46:44 +02:00
Sylvain LE GAL
a21462e2e6
[IMP] handle server-wide-modules for V14+
2022-04-28 19:02:38 +02:00
Sylvain LE GAL
188fc97bd8
[ADD] test on 'upgrade' command pre-commit run -a
2022-04-28 16:34:24 +02:00
Sylvain LE GAL
b911823b2c
fix openupgradelib compatibility
2022-04-28 12:45:38 +02:00
Sylvain LE GAL
5bcd02b485
[ADD] upgrade command
2022-04-28 08:17:19 +02:00
Sylvain LE GAL
fa5d9913a2
[IMP] compute dynamically addons_path
2022-04-28 02:11:04 +02:00
Sylvain LE GAL
006d998332
[IMP] make odoo command depending on migration_step
2022-04-28 01:48:21 +02:00
Sylvain LE GAL
eb3af378e8
[FIX] shell option + [ADD] roadmap to use dockerpty
2022-04-28 01:36:50 +02:00
Sylvain LE GAL
31651fcbee
[FIX] CI broken, 755 is always set even if 777 is set
2022-04-27 18:31:59 +02:00
Sylvain LE GAL
b251a80228
[IMP] allow containers to write in external filestore
2022-04-27 16:55:25 +02:00
Sylvain LE GAL
51f248d1ab
[FIX] allow to write on log folder inside containers
2022-04-27 16:41:34 +02:00
Sylvain LE GAL
ce886eccfc
wip
2022-04-27 15:46:05 +02:00
Sylvain LE GAL
dce91df36d
[WIP]
2022-04-27 15:18:18 +02:00
Sylvain LE GAL
b1b64c960f
[FIX] CI ; [WIP] add get_odoo_addons_path
2022-04-11 13:50:28 +02:00
Sylvain LE GAL
5776ff5893
[IMP] add --database option ; [CI] try to fix ci, adding a postgresql container
2022-04-11 13:22:29 +02:00
Sylvain LE GAL
11a59249b3
[ADD] cli 'run' command + tests; [WIP] add generate_odoo_command
2022-04-11 12:59:03 +02:00
Sylvain LE GAL
69d4beb174
fixup! [FIX] disabled test
2022-04-09 15:21:06 +02:00
Sylvain LE GAL
212f18ff1c
[FIX] call pip install with -r and not -e; [IMP] adapt apt-get update call to old buggy images with '|| true' ; [IMP] install correctly openupgradelib on old images ( https://github.com/OCA/openupgradelib/issues/248 )
2022-04-09 02:29:20 +02:00
Sylvain LE GAL
917692d0fb
[REF] add mutualized options in cli_options.py file ;
...
[ADD] project-name argument in init step to have the possibility to have a friendly tag for the odoo docker images ;
2022-04-09 00:49:53 +02:00
Sylvain LE GAL
f4bb696f4e
fixup! [ADD] New command odoo-openupgrade-wizard docker-build (WIP)
2022-04-08 23:05:55 +02:00
Sylvain LE GAL
885d3eca4b
[ADD] New command odoo-openupgrade-wizard docker-build (WIP)
2022-04-08 22:46:02 +02:00
LE GAL SYLVAIN
760d145600
[REF] add ensure_folder_exists system
...
[ADD] pyttest.ini file + test for cli_build
[ADD] call to gitaggregate
[REF] harmonize release & version words ; remove python version ; add...
[REM] remove towncrier for the time being
[REF\] enable both test and improve : each test should have it's own output folder to reduce gitaggagregate duration
2022-04-08 19:09:24 +00:00