Valentin Lab
d886efb6e9
fix: [cron] make cron build again
This involves a deep upgrade. Changing base distribution from debian
towards alpine, and changing the way the schedule-command relation is
handled. Consequences:
- size of image went from 195MB to 45MB
- build process simplified (only one small ``Dockerfile``)
- dependencies are not in the charm anymore but fetched on build
from our download server
- local cron business intelligence was moved in the cron charm
- extreme simplification for implementing run-once charms relation with
cron.
- some simplification for charms that adds some intelligence on their
side.
9 months ago
Valentin Lab
e9d179bb33
new: [nextcloud,mariadb,postgres] add ``sql-database`` relation support
10 months ago
Valentin Lab
be952660ce
fix: [postgres] prevent failure on slower hosts
Using ``docker stop CONTAINER`` followed by a ``docker rmi IMAGE``
where IMAGE is the image of CONTAINER may fail. To ensure that it won't
fail, we have to wait for the disappearance of the container in the
container list.
11 months ago
Valentin Lab
4ab63b8a74
new: [postgres] add ``upgrade`` action
1 year ago
Valentin Lab
2f4e3ddf8a
fix: [postgres] display service name upon error when not find containers and running ``sql`` action
1 year ago
Valentin Lab
d4635a7968
new: doc: [postgres] added some docs about relation's option
2 years ago
Valentin Lab
65e85e300e
fix: [postgres] add required dependency of ``pgm``
``coreutils`` is required to install full ``sort`` implementation
with the ``-V`` option used by ``pgm``.
2 years ago
Valentin Lab
17c345e43a
chg: [odoo-tecnativa,compose] make ``load``, ``save`` and ``sql`` action force usage of ``no-hooks``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
1ec11bf0f4
new: [postgres] new ``sql`` indirect action
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
b5559e7c00
new: [postgres] allow relation options ``encoding``, ``lc-collate``, ``lc-ctype``, ``template``
These options are only used upon creation of the database.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
c584d722eb
new: [postgres] upgrade ``pgm`` to version ``0.0.6``
This will allow easier usage of ``pgm`` through ``docker {exec,run}``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
424ad46021
fix: [postgres] update with pgm ``0.0.5`` and buffer ``20211018``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
ef3eab72f6
new: [postgres] add default ``less`` pager to inner ``psql``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
a00e2fb9f8
new: [postgres] update ``pgm`` version included in image from ``0.0.3`` to ``0.0.4``
Version ``0.0.4`` properly ``pgm chown`` database functions.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
3286d68201
chg: [postgres] change ``backup`` relation from ``optional`` to is ``recommended``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
abf2b548af
new: [cyclos] new charm
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7dc24d9908
fix: [postgres] proper support of ``postgis`` extension.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9640590d82
new: [odoo-tecnativa,postgres] adding backup relations
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
7d30967337
fix: [postgres] build failed due to URL change of mbuffer patch
5 years ago
Valentin Lab
a97c039730
fix: dev: [postgres] remove some debugging info !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
9cb7ed761c
new: [postgres] add automatic backup every hours
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
a9658851ec
fix: [postgres] mirrored dependency to external ressource upon build
5 years ago
Valentin Lab
bd96f63599
new: [postgres] new ``init-sql`` option in relation to init any database with given sql
6 years ago
Valentin Lab
c476af78a0
new: mac compatibility
5 years ago
Valentin Lab
f3bbef1cf4
new: [postgres] compatibility with new compose 1.2.0
5 years ago
Valentin Lab
a9f07c3859
fix: [letsencrypt,postgres] avoid using ``xargs`` because of possible bug
We got ``Assertion failed: bc_ctl.arg_max >= LINE_MAX (xargs.c: main: 500)`` failure
when using ``xargs``. This fix use pure builtins and avoid ``xargs`` all together.
6 years ago
Valentin Lab
b0ddad8997
new: [postgres] extensions are now an option list
6 years ago
Valentin Lab
2f48155f3d
fix: dev: typo !minor
6 years ago
Valentin Lab
f98351f9f8
new: [apache,cron,letsencrypt,logrotate,odoo,postgres] declare relations
6 years ago
Valentin Lab
a68c45e1f2
new: [postres] support user with dots in their name
6 years ago
Valentin Lab
5a3b8d5b41
new: [postgres,odoo-tecnativa] rewrite to avoid any host direct contact
This allows ``compose`` to be run from a docker.
6 years ago
Valentin Lab
105dc15812
fix: [postgres] don't rely on host.
We were using ``lsof`` and ``pgm`` on host for some managing purpose. As
we want to be able to use ``compose`` from a docker container, these
got removed in favor of portable solutions.
6 years ago
Valentin Lab
dc992d11d4
chg: postgres 11 is not fully compatible with odoo 12
6 years ago
Valentin Lab
202fdbfd25
new: [postgres] upgrade to v11-alpine
6 years ago
Valentin Lab
f05862af87
new: ``charm`` and ``service`` are now clear distinct concept
6 years ago
Valentin Lab
31f0aabcf1
new: dev: [postgres] ``db_docker_opts`` now requires to set the network
This should probably done in ``compose`` TBH.
6 years ago
Valentin Lab
a215e064cd
new: [postgres] added ``save`` action
6 years ago
Valentin Lab
461960e793
chg: dev: [postgres,apache] action are not anymore executed from the charm's root.
With version of ``0k-charm`` >= 0.3.0, actions script are not anymore
executed from charm's root : they stay in current directory.
6 years ago
Valentin Lab
055012c2d6
new: [postgres] cleaned the charm for docker
6 years ago
Valentin Lab
096e6e9319
new: dev: [postgres,mysql] moved out of 'precise' subdirectory. !minor
9 years ago