tarantool / tarantool/tt

Impossible to pack cartridge app in docker

Open
#953 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

2sp bug teamE
Dominant language
Go
Stars
113
Forks
18
Avg merge
4d 11h
Merged PRs (30d)
23

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the listed tt create, tt init, and tt pack tgz --use-docker commands using Tarantool 2.11.2. Trace the Docker packing path and its generated tt.yaml lookup; done means the cartridge app packs successfully without the missing configuration error.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
build-system, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.