Skip to content

Releases: tarantool/cartridge-cli

2.7.0

11 Mar 12:57
ac1c3c6
Compare
Choose a tag to compare

Bug fixes

  • Connector crashing on using cartridge admin with binary port
  • cartridge pack docker consumes all disk space

Features

  • --no-log-prefix option for cartridge start command to disable instance
    name prefix in logs when running interactively.
  • default metrics and health check endpoint in template
  • added ability to specify stateboard flag in .cartridge.yml

Changes

  • Update metrics to 0.7.0
  • Reworked cartridge create template:
    • Registration admin function moved to separated file
    • Update and improve helper in tests
    • Changed standard port of the stateboard
    • Added README.md
    • And other cosmetic fixes
  • Allowed to use any base docker image for the cartridge pack command.
  • Executable with any name (not only tarantool) can run processes.
  • Updated Go to version 1.16

2.6.0

27 Jan 11:50
6d409e4
Compare
Choose a tag to compare

Features

  • --conn, -c option for cartridge admin command to specify instance address
  • -l shortcut for --list flag of cartridge admin command

Fixes

  • Parsing cluster-wide config with empty roles list
  • Parsing 'number' args on calling admin functions

Changes

  • Update metrics to 0.6.1

2.5.0

29 Dec 17:08
98f361c
Compare
Choose a tag to compare

Bug fixes

  • Using Tarantool console socket
    • end of Tarantool output data and read timeout are handled properly
    • Tarantool greeting is read once on connection creation
  • Logs writer used on interactive start: it become waiting forever on big output
    received (such as curl verbose log)

Changes

  • Improved error message on building in docker fail on GitLab CI
  • cartridge pack fails for RPM and DEB if --use-docker isn't specified
  • Refactored verbosity flags:
    • --quiet: no logs (only errors are shown)
    • no flags: logs + spinner instead of commands/docker output
    • --verbose: logs + commands/docker output
  • Spinner is started only for a terminal
  • Update cartridge to 2.4.0 (and checks to 3.1.0)
  • Update metrics to 0.6.0

Features

  • cartridge replicasets command to manage replicasets on local running
  • cartridge enter command to connect to local running instance
  • cartridge connect command to connect to instance by address
  • Messages from print in admin functions are displayed on cartridge admin call

2.4.0

26 Oct 15:00
2079d9b
Compare
Choose a tag to compare

Features

Bug fixes

  • Bash completion file had 0600 mode, and it wasn't possible to pack application with this completion (because cartridge pack checks that each application file has read perms for all). Now bash completion file has 0644 mode.

Changes

  • Updated tarantool/metrics to version 0.5.0

2.3.0

07 Sep 09:38
06a5dad
Compare
Choose a tag to compare

Features

Changes

  • Updated Go to version 1.15
  • Updated cartridge to 2.3.0 in default application template

2.2.1

19 Aug 08:58
b146350
Compare
Choose a tag to compare

Bug fixes

  • Now instance process is ran from the application directory on cartridge start

Features

  • cartridge gen completion command to generate shell completion scripts
  • Bash completion is delivered with RPM and DEB packages

2.2.0

12 Aug 12:27
f7bef3c
Compare
Choose a tag to compare

Features

  • --force option for stop command to send SIGKILL to instances
  • cartridge clean command to remove instance(s) files
  • --from option for create command to use custom application templates

Changes

  • cartridge version is updated to 2.2.1 in the application template

2.1.0

20 Jul 07:56
52f3f68
Compare
Choose a tag to compare

Features

  • cartridge log command to get logs of instances running in background
  • --timeout option for start command
  • --version, -v command to print cartridge-cli version

2.0.1

07 Jul 08:49
fa094aa
Compare
Choose a tag to compare

Bug Fixes

  • Fixed error on packing application without build hooks
  • Fixed Unexpected end of JSON input error on building docker image

2.0.0

02 Jul 09:22
Compare
Choose a tag to compare

Changes

  • Completely rewritten in Go.

Features

  • --quiet flag to hide build output.
  • --verbose flag to make output more verbose.
  • --data-dir and --log-dir options for start command.
  • --cache-from and --co-cache options for pack command on building in docker.
  • --stateboard-unit-template option for pack command.
  • centos:7 is allowed to be used as a base image al well as centos:8.
  • --tag option for pack command is an array of strings now.

Breaking changes

  • CARTRIDGE_BUILDDIR is renamed to CARTRIDGE_TEMPDIR;
    now it can be project subdirectory.
  • start, stop, status commands requires only instance names,
    application name is taken from the application rockspec
    or passed by --name option.
  • Removed TARANTOOL_DOCKER_BUILD_ARGS env variable for pack command.
  • .cartridge.pre and .cartridge.ignore aren't supported.
  • cartridge.{pre,post}-build hooks should be executable.
  • cartridge-cli can't be installed as a rock module.
  • Build requires rockspec in the application directory.
  • --apps-path option is removed
  • cartridge --version is replaced with cartridge version
  • Default options in .cartridge.yml use - instead of _, e.g. run_dir -> run-dir
  • --unit_template and --instantiated_unit_template options are renamed to
    --unit-template and --instantiated-unit-template. Templates syntax is changed.