Releases: xdrop/cartel
Releases · xdrop/cartel
0.9.0-beta
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 therun <task>
option. - Fixed a bug where the same check would be run twice when include by two different services.
0.8.1-beta
Changelog
Added
- Services can now define
environment_sets
to allow configuring environment variables for a deployment. Using-e ...
/--env ...
as extra arguments todeploy
can activate one or more environment sets. - Added a new
shell
option for services and tasks (on the same level ascommand
) to make invoking shell commands less verbose.
0.8.0-beta
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
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
Changelog
Fixed
- Fixed a panic in the daemon that would cause readiness probes to always fail.
0.7.2-beta
Changelog
Fixed
- Fixed an issue where the daemon would be relaunched unnessecarily.
0.7.1-beta
Changelog
Added
- Added daemon launcher script for launching the daemon while opening shell terminals.
0.7.0-beta
Changelog
Added
- Reworked the healthchecks system into
readiness
andliveness
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 ofhealthcheck
has been renamed toreadiness_probe
, and a new module configuration block namedliveness_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 atype
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
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
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
.