[REF] packaging: use docker to build packages
Actually, docker is used to test Linux packages once they are built.
The packaging process is done on the host system where package.py is
run.
Consequences:
* difficult to reproduce an exact same build on another host
* changing a Debian/Ubuntu target version means some upgrade steps
on the build host (mix that with the fact that the host also
could build old Odoo versions)
* Fedora rpm package is built on an Ubuntu system (which is not a
real problem but it could be)
With this commit, the package.py utility is refactored to use Docker
containers to build the Gnu/Linux packages.
Also, the Debian package is adapted for Debian Buster, the RPM package
is built based on Fedora 30.
Some minor changes are also made in the windows packaging system.
closes odoo/odoo#37766
Signed-off-by:
Christophe Monniez (moc) <moc@odoo.com>
Showing
- setup.cfg 4 additions, 0 deletionssetup.cfg
- setup/package.dfdebian 6 additions, 2 deletionssetup/package.dfdebian
- setup/package.dffedora 4 additions, 4 deletionssetup/package.dffedora
- setup/package.dfsrc 2 additions, 2 deletionssetup/package.dfsrc
- setup/package.py 445 additions, 414 deletionssetup/package.py
- setup/redhat/install.sh 1 addition, 1 deletionsetup/redhat/install.sh
- setup/redhat/postinstall.sh 1 addition, 7 deletionssetup/redhat/postinstall.sh
This diff is collapsed.
Please register or sign in to comment