Commit Graph

11 Commits

Author SHA1 Message Date
Stéphan Sainléger
30909a3b28 [IMP] add strict mode (set -euo pipefail) to all scripts
Enable bash strict mode in all shell scripts to catch errors early:
- set -e: Exit immediately if a command exits with non-zero status
- set -u: Treat unset variables as an error
- set -o pipefail: Return value of a pipeline is the status of the last
  command to exit with non-zero status

This prevents silent failures and makes debugging easier by failing fast
when something goes wrong instead of continuing with potentially corrupted
state.
2026-02-02 20:06:27 +01:00
Stéphan Sainléger
d8b332762b [IMP] set debug log level on compose run commands 2026-01-13 12:44:35 +01:00
Stéphan Sainléger
93fc10395f [IMP] add base in --load option of upgrade compose run command
due to account.invoice transformation in account.move
2026-01-12 17:00:03 +01:00
Stéphan Sainléger
f432b4c75e [IMP] add commented command to launch global addons update at each step of the migration 2025-09-11 10:35:13 +02:00
Stéphan Sainléger
5dea543bb1 cln: remove Elabore migration specific sql scripts 2024-12-17 16:52:06 +01:00
Stéphan Sainléger
09a855258e imp: factorize database copy process 2024-12-17 15:46:05 +01:00
Stéphan Sainléger
c54cbe125b imp: factorize filestore copy process 2024-12-17 15:46:05 +01:00
Stéphan Sainléger
116d00091b imp: factorize query_postgres_container() in upgrade.sh 2024-12-17 15:46:05 +01:00
Stéphan Sainléger
6ac98a48e9 imp: remove useless "source" command 2024-12-17 15:46:05 +01:00
Stéphan Sainléger
91b9831975 imp: simplify filestore copy commands 2024-11-26 09:23:45 +01:00
Stéphan Sainléger
076a7bb3eb [NEW] add first version of 0k Odoo Upgrade scripts 2024-11-26 09:23:45 +01:00