Valentin Lab
6dc8e2f34d
new: keep literally unchanged the remaining args in command line
6 years ago
Valentin Lab
3cc233f072
chg: dev: added idea in TODO comment !minor
6 years ago
Valentin Lab
4e685a1004
chg: dev: cosmetic !minor
6 years ago
Valentin Lab
c3e45b2a4e
chg: test: move argument test in its own file !minor
6 years ago
Valentin Lab
1c261d3b26
new: pkg: change to multifile tests.
6 years ago
Valentin Lab
8dfaf6726d
new: allow compose to work without any ``compose.yml`` found.
As services will have by default charms of the same name, this allows to
launch "charms" (spawn a service of this charm) without defining any yaml.
6 years ago
Valentin Lab
faa03273de
chg: dev: explicitely include ``common``
6 years ago
Valentin Lab
94815085a8
fix: rogue doubling of arguments.
6 years ago
Valentin Lab
8e58ff97e1
new: added a new ``pre_deploy`` hook for anything to do before launching docker-compose and after relations
6 years ago
Valentin Lab
e2d4ea6552
new: ``logs`` command has a ``--tail 10`` default parameter.
6 years ago
Valentin Lab
3e56038f2c
fix: dev: remove commented out code that is very obsolete !minor
6 years ago
Valentin Lab
be5674da9e
new: added ``--rebuild-relations-to-service, -R SERVICE`` to force the rebuild of relations with target service.
6 years ago
Valentin Lab
867b531450
more big fat changes
6 years ago
Valentin Lab
0e0754a864
big fat changes (to separate)
6 years ago
Valentin Lab
fe9cfcb822
fix: ``down`` action is supported
We force ``--remove-orphans`` as it'll remove all the previous
dockers that have been launched in the same project. We don't
need to compute anything for this.
6 years ago
Valentin Lab
6895cac416
new: ``charm`` ressources should be read only
6 years ago
Valentin Lab
97d6535943
new: ``charm`` and ``service`` are cleanly separated concepts now
``charm`` is the general recipes. ``service`` is a practical
functionality that will (if not subordinated) spawn a docker container.
In your compose file, you define services that will apply some general
rules borrowed from ``charm``s. Different services can link to the same
charm.
6 years ago
Valentin Lab
bdcc563f9d
chg: unindent code for cosmetic reasons !minor
6 years ago
Valentin Lab
85561d3e19
new: adding function ``get_running_containers_for_service``.
7 years ago
Valentin Lab
9db40baeab
chg: dev: ``get_docker_ip`` should give all IP and not filter only to temporary network
Indeed as the database container might already be launched on another
network before any script is launched. We can use this instance with
this modification.
7 years ago
Valentin Lab
b65c5b73c7
new: added labels to attach important information from compose on running containers.
7 years ago
Valentin Lab
0c532ae6a1
fix: incorrect use of \' in ``trap_add``.
7 years ago
Valentin Lab
2164311f10
new: database query now support new networks in docker.
7 years ago
Valentin Lab
4c89f1c304
fix: use remainder arguments for all services commands
7 years ago
Valentin Lab
1ebefc6735
fix: better error reporting when ``shyaml`` fails not for syntax reasons.
7 years ago
Valentin Lab
bab67d0ee6
new: support of ``docker-compose.yml`` v2.0
7 years ago
Valentin Lab
cb07918d8d
chg: dev: whitespaces !cosmetic
7 years ago
Valentin Lab
b0fc018f0a
fix: dev: ensure to exit after error
7 years ago
Valentin Lab
1d4d439808
new: dev: ``YAML`` merge error have better reporting
7 years ago
Valentin Lab
17f4b6f801
chg: dev: factored array functions out !cosmetic
7 years ago
Valentin Lab
f2e9041fb7
fix: actions would fail on 'charm.run_relation_action' missing.
This is due to the fact that ``stdbuf`` will try to find a direct
process to launch. We must launch bash to make sense of exported
functions.
9 years ago
Valentin Lab
fea23e64a7
new: added ``get_docker_ip``, ``wait_docker_ip``, ``docker_add_host_declaration``.
9 years ago
Valentin Lab
9ef232e9b8
new: new hook ``post_deploy``.
9 years ago
Valentin Lab
07bb0775fd
new: [up] force ``-d`` option.
This will be required to allow special post-up scripts.
9 years ago
Valentin Lab
4203cfd3a9
new: added access to paths of target and base charm for relation scripts.
9 years ago
Valentin Lab
5f92d8b768
chg: removed old ``hooks.d/*.sh`` script support.
9 years ago
Valentin Lab
700445f0f6
new: [graph] new command.
9 years ago
Valentin Lab
128b4b5862
chg: dev: minor cosmetic changes or code deletion. !minor
9 years ago
Valentin Lab
f1d165765d
chg: dev: refactor out ``setup_host_resource``.
9 years ago
Valentin Lab
a16a806776
new: catch error earlier. !minor
9 years ago
Valentin Lab
12e5000866
chg: dev: use charm lib
9 years ago
Valentin Lab
fe7946e7b9
chg: dev: be more explicit on error message. !minor
9 years ago
Valentin Lab
dbba0b1d89
new: ``host-resources`` implementation.
9 years ago
Valentin Lab
9d55b35f44
fix: dev: multiple typos corrected, an export on ``relation-target-compose-get`` fixed.
9 years ago
Valentin Lab
2de919b456
new: dev: provided new ``image_exposed_ports_0`` function for charms.
9 years ago
Valentin Lab
6b1bf0c108
new: config file location have changed.
Still supporting hold locations.
9 years ago
Valentin Lab
45fa041026
new: added ``get_service_base_image_dir_uid_gid``.
9 years ago
Valentin Lab
47461d5111
fix: did not check correctly when errorlevel could not be collected.
9 years ago
Valentin Lab
60be3bc702
new: provide ``$DOCKER_HOST_NET`` and ``$DOCKER_HOST_IP``.
9 years ago
Valentin Lab
2256c294ba
new: actually prints help and version with corresponding master options.
9 years ago