Commit Graph

98 Commits

Author SHA1 Message Date
Pedro Salgado
ecb0a06de2 build.sh: version increment. 2016-12-30 19:56:21 -07:00
Pedro Salgado
4076e425dd HOWTO.md: updated instructions. 2016-12-30 19:55:13 -07:00
Pedro Salgado
23fbf61564 generate_releases.sh: added ability to set starting day. 2016-12-30 19:54:58 -07:00
Pedro Salgado
8a1bc54999 HOWTO.md: added info about release argument. 2016-12-30 19:44:22 -07:00
Pedro Salgado
603f632bdc generate.sh: added ability to generate a single release. 2016-12-30 19:42:58 -07:00
Pedro Salgado
e34858bb90 build.sh: updated file header and removed echo. 2016-12-30 19:42:17 -07:00
Pedro Salgado
38954802cc build.sh: added ability to build a single release. 2016-12-30 19:38:49 -07:00
Pedro Salgado
75052f02ea HOWTO.md: added more instructions. 2016-12-30 19:12:20 -07:00
Pedro Salgado
801ba76102 latest: added symlink to latest release. 2016-12-30 19:00:49 -07:00
Pedro Salgado
6159d8b746 generate.sh: symlink latest release. 2016-12-30 18:59:02 -07:00
Pedro Salgado
db030021bf generate_releases.sh: added. 2016-12-30 18:50:03 -07:00
Pedro Salgado
c17be0604a releases.txt: added. 2016-12-30 18:49:28 -07:00
Pedro Salgado
4b632dc6f3 updated Dockerfile for each release, copy entrypoint and configuration to release directory. 2016-12-30 16:56:45 -07:00
Pedro Salgado
bc9503bd1e build.sh: return to initial directory. 2016-12-30 16:54:52 -07:00
Pedro Salgado
3121e41d44 build.sh: change directory so container can be built. 2016-12-30 16:54:10 -07:00
Pedro Salgado
6613ef5b8c generate.sh: copy entrypoint and configuration file to release directory. 2016-12-30 16:52:36 -07:00
Pedro Salgado
41932d69e7 Dockerfile.release: COPY from current directory. 2016-12-30 16:52:17 -07:00
Pedro Salgado
0aad16b8da HOWTO.md: added. 2016-12-30 16:41:46 -07:00
Pedro Salgado
177288f7ef 20160512: added new release (for Odoo 9.0 only). 2016-12-30 16:19:44 -07:00
Pedro Salgado
403a063d12 20161123: added new release. 2016-12-30 16:19:09 -07:00
Pedro Salgado
049a809b86 20160101: added release for 9.0. 2016-12-30 16:13:26 -07:00
Pedro Salgado
5ab7f69bd6 20161230: added release. 2016-12-30 16:12:59 -07:00
Pedro Salgado
5f078030fa generate.sh: put vars.env template in script and remove unnecessary copy commands. 2016-12-30 16:11:05 -07:00
Pedro Salgado
263d95d517 build.sh: build more Odoo versions. 2016-12-30 16:09:55 -07:00
Pedro Salgado
2763fc2517 releases.txt: added release for 30 Dec 2016. 2016-12-30 15:50:53 -07:00
Pedro Salgado
247f97f5ed 8.0 Dockerfile: setup base and release container images. 2016-12-30 15:47:51 -07:00
Pedro Salgado
fcbecd9bb8 10.0/Dockerfile: split into base/Dockerfile and Dockerfile.release. 2016-12-30 15:46:52 -07:00
Pedro Salgado
95a374a28b 9.0 Dockerfile: minor changes to be consistent with 8.0. 2016-12-30 15:41:35 -07:00
Pedro Salgado
f47de21dbb 8.0/Dockerfile: split into base/Dockerfile and Dockerfile.release. 2016-12-30 15:39:58 -07:00
Pedro Salgado
5864682693 9.0/releases.txt: added 20160101 release. 2016-12-30 14:51:55 -07:00
Pedro Salgado
17bcfecbc7 9.0/20160101: added build for Odoo 9.0 20160101 container image. 2016-12-30 14:51:37 -07:00
Pedro Salgado
a1015f92fe 9.0/vars.env: added template for template environment variables. 2016-12-30 14:50:33 -07:00
Pedro Salgado
38324c2ce6 9.0/Dockerfile.release: added OPENERP_SERVER environment variable and use ODOO_VERSION to reference to the correct directory. 2016-12-30 14:48:24 -07:00
Pedro Salgado
51d9d8fdda 9.0/base/Dockerfile: removed ODOO_VERSION and OPENERP_SERVER environment variables. 2016-12-30 14:47:22 -07:00
Pedro Salgado
3d7af63dca generate.sh: added script to generate Odoo release Dockerfiles. 2016-12-30 14:46:35 -07:00
Pedro Salgado
dd3e751a64 build.sh: added script to build docker container images. 2016-12-30 14:46:18 -07:00
Pedro Salgado
23abdcb305 added bash scripts to start, stop and login to a container. 2016-12-30 14:45:59 -07:00
Pedro Salgado
1f168b8f79 openerp-server.conf: set log file to /var/log/odoo/odoo.log. 2016-12-30 13:43:14 -07:00
Pedro Salgado
e2e0cbebd1 Dockerfile: moved to base/. 2016-12-30 13:42:08 -07:00
Pedro Salgado
be7dbffd9e moved odoo installation to Dockerfile.release. 2016-12-30 13:38:48 -07:00
Pedro Salgado
d388ec184f 9.0/Dockerfile:
- added ODOO_SHA1SUM
- added WKHTMLTOX_VERSION
- added WKHTMLTOX_SHA1SUM
2016-12-30 11:04:52 -07:00
Simon Lejeune
d780e6fe36 [REF] Odoo 8.0-10.0: update to release 20161123 2016-11-23 14:17:55 +01:00
Simon Lejeune
a2559e47d5 [FIX] Odoo 8.0-10.0: handling of odoo subcommand
When using an Odoo subcommand, the name of this subcommand has to be in
first position in the arguments list. Just pass the postgres config at
the end of the command... except for the scaffold one.

Fixes #83
2016-11-23 14:17:55 +01:00
Simon Lejeune
b8e9cd478a [FIX] Odoo 8.0-10.0: override of config file pg credentials
We tried to remove usage of environment variables to set the connection
parameters to the postgres database but we omit the case when they're
set in the config file

related to a3d207f

Fixes #80
2016-11-23 14:17:55 +01:00
Simon Lejeune
bb4cc45844 [ADD] Licence file
closes #71
2016-11-03 20:24:14 +01:00
Simon Lejeune
3a56e63ebf [ADD] gitignore 2016-11-03 20:23:37 +01:00
Simon Lejeune
ea050e938b [REF] Odoo 8.0-10.0: update to release 20161103 2016-11-03 15:17:05 +01:00
Simon Lejeune
ab612f290f [FIX] Odoo 8.0-10.0: entrypoints: pass the pg parameters with CMD
When nothing is passed as argument to the docker container, the
entrypoint will receive the content of the CMD of the dockerfile. In
this case we have to pass the database configuration arguments, else
Odoo won't run correctly. This is the case when you run the command of
our documentation:

``` docker run -p 8069:8069 --name odoo --link db:db -t odoo ```

However, it should still be possible to run custom command (like `ls /`).
2016-11-03 15:02:17 +01:00
Simon Lejeune
13fba407e1 [REF] Odoo 8.0-10.0: default USER and PASSWORD to odoo
Defaulting USER to postgres does not make sense as odoo prevents
creating a database with the user `postgres` (however, there's a bug
that allows it when set by environment variable, but still it does not
work later because Odoo does not use the environment variable to find
the databases in the `list_dbs` method).

Defaulting PASSWORD to odoo makes sense because it's what we set in
the documentationm and is even mandatory since we chose to pass the pg
connections parameters[1] and we did not set a default value for it.

[1] a3d207f2d4
2016-11-03 14:59:54 +01:00
Simon Lejeune
a3d207f2d4 [REF] Odoo 8.0-10.0: pass pg connection parameters as CLI arguments
Do not assume that Odoo will handle correctly the PG* environment
variables, because it won't.

We also rename the PG* variables in order to avoid confusion since we do
not export them anymore.
2016-11-03 14:58:56 +01:00