This commit is contained in:
Xavier-Do 2024-09-19 08:50:36 +02:00
parent c341d0c2e5
commit e917a0a595
4 changed files with 7 additions and 3 deletions

View File

@ -24,14 +24,14 @@ Let say USER in the docker image is 10000 and name is odoo
- Grant access to the user to potgresql (this example give admin access, be carefull)
sudo -u postgres createuser -d -R -S runbot
- edit /etc/postgresql/14/main/pg_ident.conf and add this line
- edit /etc/postgresql/14/main/pg_ident.conf and add thoses lines
runbot runbot odoo
runbot odoo odoo
- edit /etc/postgresql/14/main/pg_hba.conf and change this line
local all odoo peer map=runbot
before this line
local all all peer
with this line
local all all peer map=runbot
Finally, add the volume when stating the docker

BIN
runbot.tar.gz Normal file

Binary file not shown.

BIN
runbot.tar.gz.1 Normal file

Binary file not shown.

View File

@ -23,7 +23,11 @@ class BuildErrorLink(models.Model):
_order = 'log_date desc, build_id desc'
build_id = fields.Many2one('runbot.build', required=True, index=True)
<<<<<<< HEAD
error_content_id = fields.Many2one('runbot.build.error.content', required=True, index=True, ondelete='cascade')
=======
build_error_id = fields.Many2one('runbot.build.error', required=True, index=True, ondelete='cascade')
>>>>>>> 2774ecf9 (wip)
log_date = fields.Datetime(string='Log date')
host = fields.Char(related='build_id.host')
dest = fields.Char(related='build_id.dest')