Valentin Lab
88cd14c8e4
chg: Update kal-shlib-docker lib to ``0.0.5``
This update is not expected to have a lot of incidence, it is just to
keep up with docker lib, and if several bugs were corrected in this
update, the correction were on function that are not used in compose
nor charms for now.
5 years ago
Valentin Lab
bd6d5e94dc
new: update charm version to include ``$CHARM_NAME`` in all scripts.
5 years ago
Valentin Lab
04c6042b3a
new: macosx compatibility
5 years ago
Valentin Lab
503697ea6a
new: dev: update for kal-shlib-charm 0.5.0 compatibility
5 years ago
Valentin Lab
a4a8b65617
fix: remove subordinates from service list for final call of ``docker-compose``
5 years ago
Valentin Lab
63da562f00
new: pkg: added ``acl`` to ``Dockerfile``
5 years ago
Valentin Lab
9047e609e3
fix: new library version to fix ``dir_is_empty``
5 years ago
Valentin Lab
a5ffe9dff7
new: allow to change server db docker run param and connection check command !api
5 years ago
Valentin Lab
bacb12e2e4
fix: error message typo !minor
5 years ago
Valentin Lab
3401c42e93
fix: prevent spurious output from possible ``docker pull`` to polute stdout
5 years ago
Valentin Lab
c9f8f2b3e4
fix: keep ``COMPOSE_DOCKER_IMAGE`` in subcalls.
5 years ago
Valentin Lab
dcffc921e1
new: added ``jq`` to binaries in docker image
5 years ago
Valentin Lab
d700a9f1b8
new: added ``docker_image_export_dir``, ``service_base_image_export_dir`` helper function
This implements a missing feature in docker to allow to export some
part of a docker image.
5 years ago
Valentin Lab
3ff8b02d40
fix: correctly set compose ``-i`` options only when needed
5 years ago
Valentin Lab
06cc478ad0
new: direct action do not decorate output anymore
We couldn't use efficiently the output of direct action in scripts.
5 years ago
Valentin Lab
c6feae7ef7
new: support "--without-relation" to remove a relation if needed.
5 years ago
Valentin Lab
3871ea75a0
fix: docker in docker could stall with no apparent reason
It was ``libcolor`` in ``kal-shlib-common`` having a bug figuring out
the width of the terminal.
6 years ago
Valentin Lab
b9175ac09e
fix: ``xargs`` would complain about ``LINE_MAX`` for some reason on some hosts.
6 years ago
Valentin Lab
8e2c239c1b
new: ensure ``compose-core`` is indeed outputing docker-compose errorlevel
6 years ago
Valentin Lab
32a0145e6e
fix: allow merging ``float`` values also.
6 years ago
Valentin Lab
cfd908b18d
new: added ``docker_get_uid_gid`` for charms.
6 years ago
Valentin Lab
c99c5e4384
fix: properly detect 80-columns wide display
This bug was located in ``kal-shlib-common`` that was thus updated.
6 years ago
Valentin Lab
bb666109a4
new: dev: added ``yaml_get_values`` helper function for charm.
6 years ago
Valentin Lab
9eb5cba55e
fix: dev: better caching of ``_get_rec_depth``.
6 years ago
Valentin Lab
cb4c8d7d79
chg: dev: don't print service as it's own dep in debug message.
6 years ago
Valentin Lab
c6693f56cb
fix: ``run-once`` service relying on sub-services would not have there sub-service called.
For instance ``letsencrypt`` would rely on ``cron``, and if not
explicitely mentionned in base of ``compose.yml``, ``compose up``
would not launch ``cron``.
6 years ago
Valentin Lab
82130814f8
fix: dev: bad cache would mess output of ``get_ordered_service_dependencies`` the second time.
6 years ago
Valentin Lab
3760343dbc
fix: any output of compose was redirected to standard error.
6 years ago
Valentin Lab
c50e19fb3f
fix: when providing an unknown argument, help was not displayed on standard error. !minor
6 years ago
Valentin Lab
b7280465c6
chg: dev: minor variable name change !minor
6 years ago
Valentin Lab
4cc5097c54
new: pkg: update ``kal-shlib-common`` version to ``0.4.12``
6 years ago
Valentin Lab
e870a127e2
new: adding ``--quiet|-q`` as a quick solution to allow removing any bogus logs from ``stdout``.
Main issue is to be able to use actions for instance and use their
output in other scripts.
6 years ago
Valentin Lab
eeebb07e8a
new: dev: propose a new generic ``cfg-get-value`` for charm usage.
6 years ago
Valentin Lab
d85587c157
new: added ``openssl`` and ``htpasswd`` commands to compose docker image.
6 years ago
Valentin Lab
ae93b03cb1
new: hook ``dc-post-run`` is also called after a run
6 years ago
Valentin Lab
dd8ff92c63
new: image update is now available for charms
6 years ago
Valentin Lab
45fcc7e7c9
new: update ``kal-shlib-common``
6 years ago
Valentin Lab
de3369c1e7
new: adding ``crudini`` in command line tools for charm usage.
6 years ago
Valentin Lab
88c574feb5
fix: ``-f COMPOSE_FILE`` didn't work as expected
6 years ago
Valentin Lab
b0da23c146
fix: dev: spaces cosmetics !minor
6 years ago
Valentin Lab
1e4afe89fe
chg: dev: when waiting for database to start up, wait longer and display clearer message.
6 years ago
Valentin Lab
91934b51d9
fix: ``default-options`` in charms was not read as expected
6 years ago
Valentin Lab
641fef5900
chg: dev: be more explicit when failing to merge yaml
6 years ago
Valentin Lab
20a85958d2
new: add restart policy 'unless-stopped' to services.
6 years ago
Valentin Lab
90ae781fe6
chg: dev: do only one merging when computing docker-compose yaml from metadata.
6 years ago
Valentin Lab
3c3df16117
new: update ``kal-shlib-cmdline`` version.
6 years ago
Valentin Lab
0cf06d3e44
fix: nasty typo that cached file in wrong directory and would keep cache version between session.
6 years ago
Valentin Lab
ee12331c08
new: provide ``docker_get_uid`` for charms.
6 years ago
Valentin Lab
f07433b742
chg: ``cached_cmd_on_image`` is now using ``/bin/sh`` rather than ``/bin/bash`` for supporting alpine images
6 years ago
Valentin Lab
e3d08f9fc6
new: ``default-options`` in charm root is loaded as default options of service
6 years ago