mirror of
https://github.com/odoo/runbot.git
synced 2025-03-15 23:45:44 +07:00
wip
This commit is contained in:
parent
c341d0c2e5
commit
e917a0a595
@ -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)
|
- Grant access to the user to potgresql (this example give admin access, be carefull)
|
||||||
sudo -u postgres createuser -d -R -S runbot
|
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 runbot odoo
|
||||||
runbot odoo odoo
|
runbot odoo odoo
|
||||||
|
|
||||||
- edit /etc/postgresql/14/main/pg_hba.conf and change this line
|
- 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
|
local all all peer
|
||||||
with this line
|
|
||||||
local all all peer map=runbot
|
|
||||||
|
|
||||||
|
|
||||||
Finally, add the volume when stating the docker
|
Finally, add the volume when stating the docker
|
||||||
|
BIN
runbot.tar.gz
Normal file
BIN
runbot.tar.gz
Normal file
Binary file not shown.
BIN
runbot.tar.gz.1
Normal file
BIN
runbot.tar.gz.1
Normal file
Binary file not shown.
@ -23,7 +23,11 @@ class BuildErrorLink(models.Model):
|
|||||||
_order = 'log_date desc, build_id desc'
|
_order = 'log_date desc, build_id desc'
|
||||||
|
|
||||||
build_id = fields.Many2one('runbot.build', required=True, index=True)
|
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')
|
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')
|
log_date = fields.Datetime(string='Log date')
|
||||||
host = fields.Char(related='build_id.host')
|
host = fields.Char(related='build_id.host')
|
||||||
dest = fields.Char(related='build_id.dest')
|
dest = fields.Char(related='build_id.dest')
|
||||||
|
Loading…
Reference in New Issue
Block a user