tarantool / tt

Command-line utility to manage Tarantool applications
Other
101 stars 12 forks source link

Impossible to pack cartridge app in docker #953

Open hackallcode opened 2 months ago

hackallcode commented 2 months ago

I ran the following commands:

tt create cartridge --name tnt_app
cd tnt_app
tt init
tt pack tgz --use-docker --tarantool-version "2.11.2"

As the result, I got the error:

  • Using tarantool version 2.11.2 for packing
   • Apps to pack: tarantool
   • Generating new tt.yaml for the new package
   • Building docker image 'ubuntu:tt_pack'.
   • Docker image is built.
   ⨯ tt.yaml not found, you need to create tt environment config with 'tt init' or provide exact config location with --cfg option
   ⨯ container exit code is 1

I also tried using the --cartridge-compat flag, but it had no effect.

psergee commented 1 month ago

Баг есть. Но эти шаги:

cd tnt_app
tt init

избыточны. Без них ошибки с ненайденным конфигом не будет.