Skip to content

Releases: xdrop/cartel

0.9.0-beta

12 Jun 22:17
529d5bb
Compare
Choose a tag to compare

Changelog

Added

  • Tasks will now no longer deploy if the service is in a healthy state and running.
  • Allow check definitions to also use the shell shortcut (instead of specifying a command).
  • The ps command is now coloured by default making failed services more easily stand out. This may be disabled using -n/--no-color.

Fixed

  • Fixed usage of shell on tasks when ran with the run <task> option.
  • Fixed a bug where the same check would be run twice when include by two different services.

0.8.1-beta

06 May 07:49
16bf103
Compare
Choose a tag to compare

Changelog

Added

  • Services can now define environment_sets to allow configuring environment variables for a deployment. Using -e .../--env ... as extra arguments to deploy can activate one or more environment sets.
  • Added a new shell option for services and tasks (on the same level as command) to make invoking shell commands less verbose.

0.8.0-beta

24 Apr 19:46
492a005
Compare
Choose a tag to compare

Changelog

Added

  • Added support for parallel deployment. The deploy command will now deploy modules in parallel by default.
  • Added --threads/-t to control how many threads to use to deploy in parallel. Also, added --serial/-k to force serial deployment.

Fixed

  • Fixed an issue where dependencies would be deployed in the wrong order.

0.7.4-beta

10 Apr 09:51
51866b6
Compare
Choose a tag to compare

Changelog

Added

  • Added a new ordered_dependencies module option for specifying dependencies of a services that need to be run sequentially.

0.7.3-beta

30 Mar 20:09
d8559fa
Compare
Choose a tag to compare

Changelog

Fixed

  • Fixed a panic in the daemon that would cause readiness probes to always fail.

0.7.2-beta

28 Mar 16:55
389b579
Compare
Choose a tag to compare

Changelog

Fixed

  • Fixed an issue where the daemon would be relaunched unnessecarily.

0.7.1-beta

28 Mar 15:52
1f607e8
Compare
Choose a tag to compare

Changelog

Added

  • Added daemon launcher script for launching the daemon while opening shell terminals.

0.7.0-beta

27 Mar 18:24
d8a6d3e
Compare
Choose a tag to compare

Changelog

Added

  • Reworked the healthchecks system into readiness and liveness probes which can be independently used to check whether a service has started (readiness) and whether the services continues to live (liveness). Previous configuration entry of healthcheck has been renamed to readiness_probe, and a new module configuration block named liveness_probe has been introduced.
  • Added a new option to ps to show liveness status.
  • Allow specifying shell type to invoke using -t/--type, and adding a type on a shell definition.
  • Improved error messages when specifying dependencies that don't exist.
  • Improvements to the way the daemon is run to better support shell based environments.

Changed

  • A service with a failing liveness probe will now always be redeployed.

0.6.0-beta

18 Feb 18:32
df56b76
Compare
Choose a tag to compare

Changelog

Added

  • Added a new healthcheck of type net which allows monitoring the health of a service by trying to obtain a TCP connection. The healthcheck attempts to establish a connection, which upon established will make the healthcheck succeed. On a TCP reset the healthcheck is considered failed and will also time out after 100ms.
  • Added a new -o option to allow deploying only selected modules and not their dependencies.
  • Added a new -w/--wait option for enforcing all deployed modules to pass their healthcheck before continuing.
  • Added a new shell command and module type for defining and opening a shell to a service.

Changed

  • Renamed the module definition file extension from .yaml to .yml.

Fixed

  • Fixed an issue in working directory resolution for shell definitions.

0.5.0-beta

24 Jan 11:04
3086401
Compare
Choose a tag to compare

Changelog

Changed

  • Changed flag for skipping checks to -z and --no-checks.
  • Improved the error message when a healthcheck failed due to misconfiguration.
  • Daemon default port changed to 13754 to reduce chance of conflict.
  • Changed release status to beta.

Fixed

  • Attempting to stop or restart a module that doesn't exist now returns an appropriate error message.
  • Skip checks flag (-z) is now under the correct command.

Added

  • Allow forcing deployments to always redeploy using -f or --force.
  • Introduced a new type of healthcheck (log_line) which allows for considering a service healthy when a certain line has appeared in its stdout.
  • Introduced a new client configuration file to contain persisted options.
  • Add daemon_port option to allow configuring the daemon port via the client configuration file
  • Add default_dir option to allow configuring the default directory to look for module definition files in. Note that this directory is always last in precedence.
  • Allow skipping healthchecks using -s / --no-healthchecks.