Valentin Lab
c328851170
new: ``!file-content`` modifier to allow including file contents in some config values
6 years ago
Valentin Lab
334866e590
fix: ``subordinate`` charm should not be launched
6 years ago
Valentin Lab
96bf03ea13
fix: same ``host-resource`` would incorrectly be setup multiple times
This is an obvious typo that would also not break if host resource
setup failed.
6 years ago
Valentin Lab
143e6ab447
new: add ssh to docker image to support git ``host-resources`` on ssh.
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
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
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
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
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
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
Valentin Lab
e0b4993f8a
fix: dev: missing export for ``get_service_relation`` for charm usage.
6 years ago
Valentin Lab
5b6aca0072
fix: db connection, wait if receiving "the database system is starting up".
6 years ago
Valentin Lab
2955736814
chg: default project name won't use ``-deploy`` postfix.
6 years ago
Valentin Lab
2e9d1613fc
fix: dev: be sure to catch error.
6 years ago
Valentin Lab
1c639c9d55
new: basic but functional auto-summoning code.
6 years ago
Valentin Lab
f8ab2a87da
chg: dev: refactor out ``metadata`` reading for provide
We will need it when looking for charms provider.
6 years ago
Valentin Lab
197e1d9c80
fix: provide a sensible help when using ``run`` command without any services.
6 years ago
Valentin Lab
f046355186
new: ``!expand-vars`` tag for relations and options.
Will interpret any code like if it was in a shell here-doc string.
This will interpret basically ``$VAR`` and ``$()`` constructs.
6 years ago
Valentin Lab
04d50750f5
new: provide ``option-get`` with possible interpolation.
6 years ago
Valentin Lab
886b4d7388
fix: dev: ``relation-set`` supports merging of complex values.
6 years ago
Valentin Lab
e240392ec2
new: can interpret ``bash-stdout`` tags in relations options
6 years ago
Valentin Lab
90994d3b91
chg: dev: ``cached_cmd_on_base_image`` is now cached through sessions.
6 years ago
Valentin Lab
ee00ad7192
chg: dev: force YAML C ``libyaml`` bindings for python merging code
6 years ago
Valentin Lab
344977802e
new: ``compose up`` now includes ``--remove-orphans`` by default.
6 years ago
Valentin Lab
0ad11cc9cc
chg: dev: replace ``echo`` with ``printf`` !minor
6 years ago
Valentin Lab
d6e20577db
new: support of service names having dots (``.``) inside their name.
6 years ago
Valentin Lab
b26153644e
new: charm can now declare relations
A relation can be 'recommended', 'required', 'optional'. It can also auto-pair.
6 years ago
Valentin Lab
da2ffeb456
fix: relation data was forgotten/mixed due to a big cache bug
6 years ago
Valentin Lab
208aa1ad7f
new: dev: small refactor of ``file_get_hash`` !minor
6 years ago