Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pack: duplicate environment directories and configs if instances.enabled=. #843

Closed
psergee opened this issue May 15, 2024 · 0 comments · Fixed by #851
Closed

pack: duplicate environment directories and configs if instances.enabled=. #843

psergee opened this issue May 15, 2024 · 0 comments · Fixed by #851
Assignees
Labels
3sp bug Something isn't working teamE

Comments

@psergee
Copy link
Collaborator

psergee commented May 15, 2024

If the current directory is an application (instances.enabled = .) tt pack tgz packs it's environment and creates new default env in the archive, so bin, include, tt.yaml, etc are duplicated:

upacked/
├── bin
│   ├── tarantool
│   └── tt
├── include
├── instances.enabled
│   └── test -> ../test
├── modules
├── test
│   ├── app
│   ├── bin
│   ├── config.yaml
│   ├── distfiles
│   ├── Dockerfile.build.tt
│   ├── include
│   ├── instances.yaml
│   ├── modules
│   ├── router.lua
│   ├── storage.lua
│   ├── templates
│   └── tt.yaml
└── tt.yaml

It also duplicates tt config if it is named tt.yml in cartridge compat mode:

└── test
. . .
    ├── test-scm-1.rockspec
    ├── tmp
    ├── tt
    ├── tt.yaml
    ├── tt.yml
    ├── VERSION
@psergee psergee added bug Something isn't working teamE 3sp labels May 15, 2024
psergee added a commit that referenced this issue May 26, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories.

Part of #843
psergee added a commit that referenced this issue May 28, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue May 29, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue May 29, 2024
psergee added a commit that referenced this issue May 29, 2024
psergee added a commit that referenced this issue May 29, 2024
psergee added a commit that referenced this issue May 29, 2024
psergee added a commit that referenced this issue May 31, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue May 31, 2024
psergee added a commit that referenced this issue May 31, 2024
psergee added a commit that referenced this issue May 31, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue May 31, 2024
psergee added a commit that referenced this issue May 31, 2024
psergee added a commit that referenced this issue Jun 3, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 3, 2024
psergee added a commit that referenced this issue Jun 4, 2024
psergee added a commit that referenced this issue Jun 4, 2024
Support packing single-application environment: instances_enabled is
left '.' in the result package, skipped copying modules, include,
instances.enabled and other source environment directories and files.

Part of #843
psergee added a commit that referenced this issue Jun 4, 2024
psergee added a commit that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3sp bug Something isn't working teamE
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant