[IMP] reorganize project directory structure
Restructure the project for better organization and maintainability:
New structure:
./upgrade.sh - Main entry point (unchanged)
./lib/common.sh - Shared bash functions
./lib/python/ - Python utility scripts
./scripts/ - Workflow scripts (prepare_db, finalize_db)
./config/ - Configuration files (compose.yml)
./versions/{13..18}.0/ - Version-specific migration scripts
File renames:
- pre_migration_view_checking.py -> lib/python/check_views.py
- post_migration_fix_duplicated_views.py -> lib/python/fix_duplicated_views.py
- post_migration_cleanup_obsolete_modules.py -> lib/python/cleanup_modules.py
Benefits:
- Single entry point visible at root level
- Clear separation between shared code, scripts, and config
- Shorter, cleaner Python script names (context given by caller)
- Easier navigation and maintenance
This commit is contained in:
90
config/compose.yml
Normal file
90
config/compose.yml
Normal file
@@ -0,0 +1,90 @@
|
||||
ou12:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_12.0-MYC-INIT-3.7
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
ou13:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_13.0-MYC-INIT-OU
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
|
||||
ou14:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_14.0-MYC-INIT
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
|
||||
ou15:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_15.0-MYC-INIT
|
||||
#image: docker.0k.io/mirror/odoo/rc_15.0-myc-init-20241007-092844-0f8b8b
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
ou16:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_16.0-ELABORE-LIGHT
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
ou17:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_17.0-MYC-INIT
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
ou18:
|
||||
charm: odoo-tecnativa
|
||||
docker-compose:
|
||||
image: docker.0k.io/mirror/odoo:rc_18.0-ELABORE-LIGHT
|
||||
## Important to keep as a list: otherwise it'll overwrite charm's arguments.
|
||||
command:
|
||||
- "--log-level=debug"
|
||||
- "--limit-time-cpu=1000000"
|
||||
- "--limit-time-real=1000000"
|
||||
options:
|
||||
workers: 0
|
||||
|
||||
postgres:
|
||||
docker-compose:
|
||||
image: docker.0k.io/postgres:17.2.0-myc
|
||||
Reference in New Issue
Block a user