├── .codespellrc ├── .flake8 ├── .gen_tarballs.sh ├── .github ├── actions │ ├── prepare-ce-test-env │ │ └── action.yml │ ├── prepare-ee-test-env │ │ └── action.yml │ ├── setup-etcd │ │ └── action.yml │ └── static-code-check │ │ └── action.yml ├── pull_request_template.md └── workflows │ ├── full-ci.yml │ ├── publish.yml │ ├── tests.yml │ └── update.yml ├── .gitignore ├── .gitmodules ├── .isort.cfg ├── .lichen.yaml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── ci └── Dockerfile ├── cli ├── aeon │ ├── README.md │ ├── client.go │ ├── cmd │ │ ├── connect.go │ │ ├── connection.go │ │ ├── transport.go │ │ └── transport_test.go │ ├── decode.go │ ├── generate-pb.sh │ ├── pb │ │ ├── aeon_crud.pb.go │ │ ├── aeon_crud_grpc.pb.go │ │ ├── aeon_ddl.pb.go │ │ ├── aeon_ddl_grpc.pb.go │ │ ├── aeon_diag.pb.go │ │ ├── aeon_diag_grpc.pb.go │ │ ├── aeon_error.pb.go │ │ ├── aeon_schema.pb.go │ │ ├── aeon_sql.pb.go │ │ ├── aeon_sql_grpc.pb.go │ │ └── aeon_value.pb.go │ ├── results.go │ └── results_test.go ├── binary │ ├── list.go │ ├── list_test.go │ ├── switch.go │ ├── switch_test.go │ └── testdata │ │ ├── bin │ │ ├── tarantool │ │ ├── tarantool_0000000 │ │ ├── tarantool_1.10.0 │ │ ├── tarantool_2.10.5 │ │ ├── tarantool_master │ │ └── tarantool_v2.8.6 │ │ ├── no_symlink │ │ ├── tarantool │ │ ├── tarantool-ee_2.11.1 │ │ └── tarantool_2.10.1 │ │ ├── switch_test │ │ ├── bin │ │ │ ├── tarantool_1.10.13 │ │ │ ├── tarantool_2.10.3 │ │ │ └── tarantool_2.10.5 │ │ └── include │ │ │ └── include │ │ │ ├── tarantool_1.10.13 │ │ │ └── .gitkeep │ │ │ ├── tarantool_2.10.3 │ │ │ └── .gitkeep │ │ │ └── tarantool_2.10.5 │ │ │ └── .gitkeep │ │ └── tarantool_dev │ │ ├── bin │ │ ├── tarantool │ │ ├── tarantool_1.10.0 │ │ └── tarantool_2.10.7 │ │ ├── bin_symlink_broken │ │ └── tarantool │ │ └── tarantool ├── build │ ├── build.go │ ├── build_test.go │ ├── local.go │ ├── local_test.go │ ├── syscall_wrapper_darwin.go │ ├── syscall_wrapper_freebsd.go │ ├── syscall_wrapper_linux.go │ └── testdata │ │ ├── app1 │ │ ├── app1-scm-1.rockspec │ │ └── app1-scm-2.rockspec │ │ └── runhooks │ │ ├── cartridge.post-build │ │ ├── cartridge.pre-build │ │ ├── tt.post-build │ │ └── tt.pre-build ├── cartridge │ └── extra │ │ ├── 001_make_cmd_public.patch │ │ ├── 002_fix_admin_param.patch │ │ ├── 003_fix_work_paths.patch │ │ ├── 004_fix_warning.patch │ │ ├── 005_rename_tt_env.patch │ │ ├── 006_consider_tt_run_dir.patch │ │ ├── 007_update_project_files_search_logic.patch │ │ ├── 008_increase_replicasets_bootstrap_attempts.patch │ │ └── 009_support_1.14_copy_mod_version.patch ├── cfg │ ├── dump.go │ ├── dump_test.go │ └── testdata │ │ ├── app_dir │ │ ├── init.lua │ │ └── tt_cfg.yaml │ │ ├── tt_cfg.yaml │ │ ├── tt_cfg2.yaml │ │ └── tt_cfg3.yaml ├── checkpoint │ ├── checkpoint.go │ └── lua │ │ ├── cat.lua │ │ └── play.lua ├── cluster │ ├── cluster.go │ ├── cluster_test.go │ ├── cmd │ │ ├── common.go │ │ ├── common_test.go │ │ ├── failover.go │ │ ├── publish.go │ │ ├── replicaset.go │ │ ├── show.go │ │ ├── uri.go │ │ └── uri_test.go │ ├── integration_test.go │ └── testdata │ │ ├── app │ │ └── config.yaml │ │ └── etcdapp │ │ └── config.yaml.template ├── cmd │ ├── aeon.go │ ├── binaries.go │ ├── build.go │ ├── cartridge.go │ ├── cartridge_test.go │ ├── cat.go │ ├── cfg.go │ ├── cfg_dump.go │ ├── check.go │ ├── clean.go │ ├── cluster.go │ ├── common.go │ ├── common_test.go │ ├── completion.go │ ├── connect.go │ ├── coredump.go │ ├── create.go │ ├── create_test.go │ ├── daemon.go │ ├── download.go │ ├── enable.go │ ├── env.go │ ├── external.go │ ├── help.go │ ├── init.go │ ├── install.go │ ├── instances.go │ ├── internal │ │ └── completion.go │ ├── kill.go │ ├── log.go │ ├── logrotate.go │ ├── modules.go │ ├── pack.go │ ├── play.go │ ├── replicaset.go │ ├── restart.go │ ├── rocks.go │ ├── root.go │ ├── root_test.go │ ├── run.go │ ├── search.go │ ├── start.go │ ├── status.go │ ├── stop.go │ ├── tcm.go │ ├── testdata │ │ └── with_init │ │ │ └── init.lua │ ├── uninstall.go │ └── version.go ├── cmdcontext │ ├── cmdcontext.go │ └── cmdcontext_test.go ├── codegen │ └── generate_code.go ├── config │ ├── config.go │ ├── daemon_cfg.go │ ├── single_or_array.go │ └── single_or_array_test.go ├── configure │ ├── configure.go │ ├── configure_test.go │ └── testdata │ │ ├── bin_dir │ │ ├── tarantool │ │ └── tt │ │ └── modules_cfg │ │ ├── tt-modules1.yaml │ │ ├── tt-modules2.yml │ │ ├── tt-modules3.yaml │ │ ├── tt-modules4.yml │ │ └── tt-modules5.yaml ├── connect │ ├── commands.go │ ├── connect.go │ ├── console.go │ ├── const.go │ ├── history.go │ ├── history_test.go │ ├── input.go │ ├── input_test.go │ ├── internal │ │ └── luabody │ │ │ ├── eval.go │ │ │ ├── eval_func_body.lua │ │ │ └── get_suggestions_func_body.lua │ ├── language.go │ └── language_test.go ├── connector │ ├── binary.go │ ├── binary_test.go │ ├── connector.go │ ├── eval_plain_text.go │ ├── integration_test.go │ ├── lua │ │ ├── call_func_template.lua │ │ └── eval_func_template.lua │ ├── opts.go │ ├── pool.go │ ├── pool_test.go │ ├── protocol.go │ ├── protocol_test.go │ ├── testdata │ │ ├── ca.crt │ │ ├── config.lua │ │ ├── generate.sh │ │ ├── localhost.crt │ │ └── localhost.key │ ├── text.go │ └── text_test.go ├── console │ ├── console.go │ ├── format.go │ ├── format_test.go │ ├── formatter.go │ ├── handler.go │ ├── history.go │ ├── history_keeper.go │ ├── history_test.go │ └── testdata │ │ ├── history0.info │ │ └── history1.info ├── coredump │ ├── coredump.go │ ├── extensions │ │ ├── luajit-gdb.py │ │ └── tarantool-gdb.py │ └── scripts │ │ ├── gdb.sh │ │ └── tarabrt.sh ├── create │ ├── builtin_templates │ │ ├── builtin_templates.go │ │ ├── static │ │ │ └── .gitkeep │ │ └── templates │ │ │ ├── cartridge │ │ │ ├── MANIFEST.yaml │ │ │ ├── app │ │ │ │ ├── admin.lua │ │ │ │ └── roles │ │ │ │ │ └── custom.lua │ │ │ ├── failover.yml │ │ │ ├── init.lua.tt.template │ │ │ ├── instances.yml.tt.template │ │ │ ├── replicasets.yml │ │ │ ├── stateboard.init.lua │ │ │ ├── tmp │ │ │ │ └── .gitkeep │ │ │ ├── tt.post-build │ │ │ ├── tt.pre-build │ │ │ └── {{.name}}-scm-1.rockspec.tt.template │ │ │ ├── single_instance │ │ │ ├── MANIFEST.yaml │ │ │ ├── config.yml │ │ │ ├── init.lua.tt.template │ │ │ └── instances.yml │ │ │ └── vshard_cluster │ │ │ ├── MANIFEST.yaml │ │ │ ├── config.yaml.tt.template │ │ │ ├── instances.yaml.tt.template │ │ │ ├── router.lua │ │ │ ├── storage.lua │ │ │ └── {{.name}}-scm-1.rockspec.tt.template │ ├── context │ │ └── create_ctx.go │ ├── create.go │ └── internal │ │ ├── app_template │ │ ├── manifest.go │ │ ├── manifest_test.go │ │ ├── template_ctx.go │ │ └── testdata │ │ │ ├── good_manifest.yaml │ │ │ ├── missing_var_name.yaml │ │ │ └── missing_var_prompt.yaml │ │ └── steps │ │ ├── cleanup.go │ │ ├── cleanup_test.go │ │ ├── collect_template_vars.go │ │ ├── collect_template_vars_test.go │ │ ├── copy_app_template.go │ │ ├── copy_app_template_test.go │ │ ├── create_temporary_app_dir.go │ │ ├── create_temporary_app_dir_test.go │ │ ├── enable_instance.go │ │ ├── enable_instance_test.go │ │ ├── fill_template_vars_from_cli.go │ │ ├── fill_template_vars_from_cli_test.go │ │ ├── load_manifest.go │ │ ├── load_manifest_test.go │ │ ├── load_vars_file.go │ │ ├── load_vars_file_test.go │ │ ├── move_app_dir.go │ │ ├── move_app_dir_test.go │ │ ├── print_follow_up_msg.go │ │ ├── print_follow_up_msg_test.go │ │ ├── render_template.go │ │ ├── render_template_test.go │ │ ├── run_hook.go │ │ ├── run_hook_test.go │ │ ├── set_predefined_variables.go │ │ ├── set_predefined_variables_test.go │ │ ├── steps.go │ │ └── testdata │ │ ├── cartridge │ │ ├── MANIFEST.yaml │ │ ├── conf.lua │ │ ├── config.lua.tt.template │ │ ├── {{.app_name}}.yml │ │ └── {{.user_name}}.cfg.tt.template │ │ ├── cleanup │ │ ├── admin.txt │ │ ├── file1.txt │ │ ├── keep_it.txt │ │ └── subdir │ │ │ └── file2.txt │ │ ├── copy_template │ │ └── templates │ │ │ └── basic │ │ │ ├── echo.sh │ │ │ ├── init.lua │ │ │ └── subdir │ │ │ └── file.txt │ │ ├── hooks │ │ ├── post-gen.sh │ │ └── pre-gen.sh │ │ ├── invalid_vars_file.txt │ │ └── vars-file.txt ├── daemon │ ├── api │ │ ├── http.go │ │ └── parser.go │ ├── daemon.go │ ├── httpserver.go │ ├── process.go │ ├── process_test.go │ ├── process_test_helpers.go │ └── test_process │ │ └── test_process.go ├── docker │ ├── docker.go │ ├── docker_integration_test.go │ └── testdata │ │ └── Dockerfile ├── download │ └── download.go ├── enable │ ├── enable.go │ ├── enable_test.go │ └── testdata │ │ ├── test_app │ │ └── init.lua │ │ └── test_script │ │ ├── foo.foo │ │ └── test.lua ├── env │ ├── env.go │ └── env_test.go ├── formatter │ ├── dialect.go │ ├── dialect_test.go │ ├── format.go │ ├── format_test.go │ ├── lua.go │ ├── node.go │ ├── opts.go │ ├── style.go │ ├── table.go │ ├── unordered_map.go │ └── yaml.go ├── init │ ├── init.go │ ├── init_test.go │ ├── print_tarantoolctl_cfg.lua │ ├── templates │ │ └── tt.yaml.default │ └── testdata │ │ ├── invalid_cartridge.yml │ │ ├── tarantoolctl.lua │ │ ├── tarantoolctl_different_directories.lua │ │ ├── tarantoolctl_invalid.lua │ │ ├── tarantoolctl_no_snap_dir.lua │ │ ├── tarantoolctl_workdir.lua │ │ ├── valid_cartridge.yml │ │ └── wrong_data_format.yml ├── install │ ├── Dockerfile.tnt.build │ ├── extra │ │ ├── bump-libunwind-new.patch │ │ ├── bump-libunwind-old.patch │ │ ├── bump-libunwind.patch │ │ ├── gh-6686-fix-build-with-glibc-2-34.patch │ │ ├── openssl-symbols-1.10.14.patch │ │ ├── openssl-symbols.patch │ │ ├── tarantool-static-build.patch │ │ ├── zlib-backup-old.patch │ │ └── zlib-backup.patch │ ├── install.go │ ├── install_bundle.go │ ├── install_test.go │ ├── patch.go │ └── patch_test.go ├── install_ee │ ├── install_ee.go │ └── install_ee_test.go ├── instances │ └── list.go ├── main.go ├── modules │ ├── modules.go │ ├── modules_test.go │ ├── run.go │ └── testdata │ │ ├── bad_manifest │ │ ├── broken │ │ │ └── manifest.yml │ │ ├── empty │ │ │ └── manifest.yaml │ │ ├── no-help │ │ │ ├── manifest.yaml │ │ │ └── run.sh │ │ ├── no-ver │ │ │ ├── manifest.yaml │ │ │ └── run.sh │ │ ├── no_version │ │ │ └── main │ │ ├── not-exists │ │ │ └── manifest.yaml │ │ ├── not-mf │ │ │ └── manifest.yaml │ │ │ │ └── .gitkeep │ │ └── simple │ │ │ └── main │ │ ├── disabled_override │ │ └── modules │ │ │ └── main │ │ ├── mod_override │ │ └── testCmd │ │ │ └── main │ │ ├── modules1 │ │ ├── ext_mod │ │ │ ├── command.sh │ │ │ └── manifest.yml │ │ └── simple │ │ │ └── main │ │ └── modules2 │ │ └── ext_mod2 │ │ ├── command.sh │ │ └── manifest.yml ├── pack │ ├── archive.go │ ├── archive_test.go │ ├── common.go │ ├── common_test.go │ ├── cpio.go │ ├── creator.go │ ├── deb.go │ ├── deb_control_dir.go │ ├── deb_control_dir_test.go │ ├── deb_test.go │ ├── deps.go │ ├── deps_test.go │ ├── docker.go │ ├── docker_test.go │ ├── ignore.go │ ├── ignore_test.go │ ├── interfaces.go │ ├── opts.go │ ├── pack.go │ ├── rpm.go │ ├── rpm_const.go │ ├── rpm_header.go │ ├── rpm_lead.go │ ├── rpm_lead_test.go │ ├── rpm_pack.go │ ├── rpm_signature.go │ ├── rpm_tagset.go │ ├── rpm_tagset_test.go │ ├── systemd_dir.go │ ├── systemd_dir_test.go │ ├── templates │ │ ├── Dockerfile.pack.build │ │ ├── app-inst-unit-template.txt │ │ ├── deb_preinst.sh │ │ └── rpm_preinst.sh │ ├── test_helpers │ │ ├── entry_mock.go │ │ └── helpers.go │ ├── testdata │ │ ├── app_with_rockspec │ │ │ ├── app_with_rockspec-scm-1.rockspec │ │ │ ├── cartridge.post-build │ │ │ ├── cartridge.pre-build │ │ │ ├── init.lua │ │ │ ├── tt.post-build │ │ │ ├── tt.pre-build │ │ │ └── tt.yaml │ │ ├── broken_app_symlink │ │ │ ├── app2 │ │ │ │ └── init.lua │ │ │ ├── instances.enabled │ │ │ │ ├── app1 │ │ │ │ └── app2 │ │ │ └── tt.yaml │ │ ├── broken_binary_symlink │ │ │ ├── bin │ │ │ │ └── tarantool │ │ │ ├── init.lua │ │ │ └── tt.yaml │ │ ├── env1 │ │ │ ├── bin │ │ │ │ ├── tarantool │ │ │ │ └── tcm │ │ │ ├── instances.enabled │ │ │ │ ├── multi │ │ │ │ ├── script_app.lua │ │ │ │ ├── script_app │ │ │ │ │ └── var │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── script_app │ │ │ │ │ │ │ └── 00000000000000000000.snap │ │ │ │ │ │ ├── log │ │ │ │ │ │ └── script_app │ │ │ │ │ │ │ └── tt.log │ │ │ │ │ │ └── run │ │ │ │ │ │ └── script_app │ │ │ │ │ │ └── tt.pid │ │ │ │ └── single │ │ │ ├── modules │ │ │ │ └── test_ext │ │ │ ├── multi │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yaml │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ ├── inst1 │ │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ └── inst2 │ │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ ├── log │ │ │ │ │ ├── inst1 │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── inst2 │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── run │ │ │ │ │ ├── inst1 │ │ │ │ │ └── tt.pid │ │ │ │ │ └── inst2 │ │ │ │ │ └── tt.pid │ │ │ ├── script.lua │ │ │ ├── single │ │ │ │ ├── init.lua │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ └── single │ │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ ├── log │ │ │ │ │ └── single │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── run │ │ │ │ │ └── single │ │ │ │ │ └── tt.pid │ │ │ └── tt.yaml │ │ ├── env_different_dirs │ │ │ ├── bin │ │ │ │ └── .gitkeep │ │ │ ├── instances.enabled │ │ │ │ ├── multi │ │ │ │ ├── script_app.lua │ │ │ │ ├── script_app │ │ │ │ │ └── var │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── memtx │ │ │ │ │ │ │ └── script_app │ │ │ │ │ │ │ │ └── 00000000000000000000.snap │ │ │ │ │ │ ├── vinyl │ │ │ │ │ │ │ └── script_app │ │ │ │ │ │ │ │ └── test.vinyl │ │ │ │ │ │ └── wal │ │ │ │ │ │ │ └── script_app │ │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ │ ├── log │ │ │ │ │ │ └── script_app │ │ │ │ │ │ │ └── tt.log │ │ │ │ │ │ └── run │ │ │ │ │ │ └── script_app │ │ │ │ │ │ └── tt.pid │ │ │ │ └── single │ │ │ ├── modules │ │ │ │ └── test_ext │ │ │ ├── multi │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yaml │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ ├── memtx │ │ │ │ │ │ ├── inst1 │ │ │ │ │ │ │ └── 00000000000000000000.snap │ │ │ │ │ │ └── inst2 │ │ │ │ │ │ │ └── 00000000000000000000.snap │ │ │ │ │ ├── vinyl │ │ │ │ │ │ ├── inst1 │ │ │ │ │ │ │ └── test.vinyl │ │ │ │ │ │ └── inst2 │ │ │ │ │ │ │ └── test.vinyl │ │ │ │ │ └── wal │ │ │ │ │ │ ├── inst1 │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ │ └── inst2 │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ └── log │ │ │ │ │ ├── inst1 │ │ │ │ │ └── tt.log │ │ │ │ │ └── inst2 │ │ │ │ │ └── tt.log │ │ │ ├── script.lua │ │ │ ├── single │ │ │ │ ├── init.lua │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ ├── memtx │ │ │ │ │ │ └── single │ │ │ │ │ │ │ └── 00000000000000000000.snap │ │ │ │ │ ├── vinyl │ │ │ │ │ │ └── single │ │ │ │ │ │ │ └── test.vinyl │ │ │ │ │ └── wal │ │ │ │ │ │ └── single │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ ├── log │ │ │ │ │ └── single │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── run │ │ │ │ │ └── single │ │ │ │ │ └── tt.pid │ │ │ └── tt.yaml │ │ ├── env_tntctl_layout │ │ │ ├── bin │ │ │ │ └── .gitkeep │ │ │ ├── instances.enabled │ │ │ │ ├── multi │ │ │ │ ├── script_app.lua │ │ │ │ └── single │ │ │ ├── modules │ │ │ │ └── test_ext │ │ │ ├── multi │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yaml │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ ├── inst1 │ │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ └── inst2 │ │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ │ ├── log │ │ │ │ │ ├── inst1 │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── inst2 │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── run │ │ │ │ │ ├── inst1 │ │ │ │ │ └── tt.pid │ │ │ │ │ └── inst2 │ │ │ │ │ └── tt.pid │ │ │ ├── script.lua │ │ │ ├── single │ │ │ │ └── init.lua │ │ │ ├── tt.yaml │ │ │ └── var │ │ │ │ ├── lib │ │ │ │ ├── script_app │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ └── single │ │ │ │ │ ├── 00000000000000000000.snap │ │ │ │ │ └── 00000000000000000000.xlog │ │ │ │ ├── log │ │ │ │ ├── script_app.log │ │ │ │ └── single.log │ │ │ │ └── run │ │ │ │ ├── script_app.pid │ │ │ │ └── single.pid │ │ ├── expected-unit-content-1.txt │ │ ├── expected-unit-content-2.txt │ │ ├── expected-unit-content-3.txt │ │ ├── expected-unit-content-with-env.txt │ │ ├── fully-defined-params.yaml │ │ ├── only_one_app_buildable │ │ │ ├── app1 │ │ │ │ ├── app1-scm-1.rockspec │ │ │ │ └── init.lua │ │ │ ├── app2 │ │ │ │ └── init.lua │ │ │ ├── instances.enabled │ │ │ │ ├── app1 │ │ │ │ └── app2 │ │ │ └── tt.yaml │ │ ├── partly-defined-params.yaml │ │ ├── single_app │ │ │ ├── bin │ │ │ │ └── tarantool │ │ │ ├── init.lua │ │ │ ├── single_app-0.1.0.0-1.x86_64.rpm │ │ │ ├── single_app-0.1.0.0.x86_64.tar.gz │ │ │ ├── single_app-0.1.0.0.x86_64.zip │ │ │ ├── single_app_0.1.0.0-1_x86_64.deb │ │ │ └── tt.yml │ │ ├── single_app_no_binaries │ │ │ ├── init.lua │ │ │ └── tt.yaml │ │ ├── single_app_no_modules │ │ │ ├── bin │ │ │ │ └── tarantool │ │ │ ├── init.lua │ │ │ └── tt.yaml │ │ └── unit-params-with-env.yml │ └── tgz.go ├── process_utils │ ├── process_utils.go │ └── process_utils_test.go ├── replicaset │ ├── bootstrap.go │ ├── cartridge.go │ ├── cartridge_test.go │ ├── cconfig.go │ ├── cconfig_test.go │ ├── cmd │ │ ├── bootstrap.go │ │ ├── common.go │ │ ├── demote.go │ │ ├── downgrade.go │ │ ├── expel.go │ │ ├── lua │ │ │ ├── downgrade.lua │ │ │ └── upgrade.lua │ │ ├── promote.go │ │ ├── roles.go │ │ ├── status.go │ │ ├── upgrade.go │ │ └── vshard.go │ ├── common.go │ ├── configsource.go │ ├── configsource_test.go │ ├── custom.go │ ├── custom_test.go │ ├── demote.go │ ├── discovery.go │ ├── electionmode.go │ ├── electionmode_string.go │ ├── electionmode_test.go │ ├── eval.go │ ├── expel.go │ ├── failover.go │ ├── failover_string.go │ ├── failover_test.go │ ├── instance.go │ ├── integration_test.go │ ├── lua │ │ ├── cartridge │ │ │ ├── bootstrap_vshard_body.lua │ │ │ ├── edit_instances_body.lua │ │ │ ├── edit_replicasets_body.lua │ │ │ ├── failover_promote_body.lua │ │ │ ├── get_instance_info_body.lua │ │ │ ├── get_topology_replicasets_body.lua │ │ │ └── wait_healthy_body.lua │ │ ├── cconfig │ │ │ ├── bootstrap_vshard_body.lua │ │ │ ├── get_instance_topology_body.lua │ │ │ └── promote_election.lua │ │ ├── custom │ │ │ └── get_instance_topology_body.lua │ │ ├── get_orchestrator.lua │ │ ├── wait_ro.lua │ │ └── wait_rw.lua │ ├── master.go │ ├── master_string.go │ ├── master_test.go │ ├── mode.go │ ├── mode_string.go │ ├── mode_test.go │ ├── orchestrator.go │ ├── orchestrator_string.go │ ├── orchestrator_test.go │ ├── orchestrators_test.go │ ├── promote.go │ ├── rebootstrap.go │ ├── rebootstrap_test.go │ ├── replicaset.go │ ├── roles.go │ ├── roles_test.go │ ├── state.go │ ├── state_string.go │ ├── state_test.go │ ├── stateprovider.go │ ├── stateprovider_string.go │ ├── stateprovider_test.go │ ├── testdata │ │ ├── cconfig_source │ │ │ ├── demote │ │ │ │ ├── many_keys │ │ │ │ │ ├── lexi_order │ │ │ │ │ │ ├── a.yml │ │ │ │ │ │ ├── b.yml │ │ │ │ │ │ ├── c.yml │ │ │ │ │ │ └── expected.yml │ │ │ │ │ └── priority_order │ │ │ │ │ │ ├── a.yml │ │ │ │ │ │ ├── b.yml │ │ │ │ │ │ ├── c.yml │ │ │ │ │ │ └── expected.yml │ │ │ │ └── single_key │ │ │ │ │ ├── mix_expected.yml │ │ │ │ │ ├── mix_init.yml │ │ │ │ │ ├── off_default_expected.yml │ │ │ │ │ ├── off_default_init.yml │ │ │ │ │ ├── off_expected.yml │ │ │ │ │ └── off_init.yml │ │ │ └── promote │ │ │ │ ├── many_keys │ │ │ │ ├── manual_priority_order │ │ │ │ │ ├── a.yml │ │ │ │ │ ├── b.yml │ │ │ │ │ └── expected.yml │ │ │ │ ├── off_lexi_order │ │ │ │ │ ├── a.yml │ │ │ │ │ ├── b.yml │ │ │ │ │ └── expected.yml │ │ │ │ └── off_priority_order │ │ │ │ │ ├── a.yml │ │ │ │ │ ├── b.yml │ │ │ │ │ ├── c.yml │ │ │ │ │ ├── d.yml │ │ │ │ │ └── expected.yml │ │ │ │ └── single_key │ │ │ │ ├── manual_expected.yml │ │ │ │ ├── manual_init.yml │ │ │ │ ├── off_default_expected.yml │ │ │ │ ├── off_default_init.yml │ │ │ │ ├── off_explicit_expected.yml │ │ │ │ ├── off_explicit_init.yml │ │ │ │ ├── off_multi_master_expected.yml │ │ │ │ └── off_multi_master_init.yml │ │ └── config.lua │ └── vshard.go ├── rocks │ ├── completions │ │ ├── bash_injection │ │ ├── bash_rocks │ │ ├── fish_injection │ │ ├── fish_rocks │ │ ├── zsh_injection │ │ └── zsh_rocks │ ├── extra │ │ ├── hardcoded.lua │ │ ├── macosx.lua │ │ └── wrapper.lua │ ├── rocks.go │ ├── rocks_test.go │ └── testdata │ │ └── repo │ │ └── manifest ├── running │ ├── base_instance.go │ ├── cluster_instance.go │ ├── cluster_instance_test.go │ ├── instance.go │ ├── instance_filter.go │ ├── instance_filter_test.go │ ├── internal │ │ └── layout │ │ │ ├── layout.go │ │ │ ├── multi_inst_layout.go │ │ │ ├── multi_inst_layout_test.go │ │ │ ├── tntctl_layout.go │ │ │ └── tntctl_layout_test.go │ ├── lua │ │ ├── check.lua │ │ └── launcher.lua │ ├── process_controller.go │ ├── process_controller_test.go │ ├── running.go │ ├── running_test.go │ ├── running_test_helpers.go │ ├── script_instance.go │ ├── script_instance_test.go │ ├── test_app │ │ ├── dumb_test_app.lua │ │ └── log_check_test_app.lua │ ├── testdata │ │ ├── app1 │ │ │ ├── init.lua │ │ │ └── instances.yml │ │ ├── instances_enabled │ │ │ ├── cluster_app │ │ │ │ ├── config.yml │ │ │ │ └── instances.yml │ │ │ ├── cluster_app_yaml_config_extension │ │ │ │ └── config.yaml │ │ │ ├── config_load │ │ │ │ ├── config.yml │ │ │ │ └── instances.yml │ │ │ ├── multi_inst_app │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yml │ │ │ │ ├── router.init.lua │ │ │ │ └── stateboard.init.lua │ │ │ ├── script.lua │ │ │ └── single_inst │ │ │ │ └── init.lua │ │ └── signal_handling.py │ ├── watchdog.go │ ├── watchdog_test.go │ ├── writer.go │ └── writer_test.go ├── search │ ├── bundle.go │ ├── bundle_test.go │ ├── program_types.go │ ├── program_types_test.go │ ├── search.go │ ├── search_git.go │ ├── search_local.go │ ├── search_local_test.go │ ├── search_sdk.go │ ├── search_sdk_test.go │ ├── search_test.go │ ├── testdata │ │ └── test_repo.tar │ ├── tntio_api.go │ └── tntio_api_test.go ├── status │ ├── lua │ │ └── instance_state.lua │ └── status.go ├── tail │ ├── color.go │ ├── color_test.go │ ├── tail.go │ └── tail_test.go ├── tcm │ └── tcm.go ├── templates │ ├── internal │ │ └── engines │ │ │ ├── builtin_funcs.go │ │ │ ├── builtin_funcs_test.go │ │ │ ├── go_text_engine.go │ │ │ └── go_text_engine_test.go │ └── templates.go ├── ttlog │ ├── logger.go │ └── logger_test.go ├── uninstall │ ├── testdata │ │ ├── bin_basic │ │ │ ├── tarantool │ │ │ ├── tarantool-ee_2.8.4-0-r510 │ │ │ ├── tarantool_2.10.8-entrypoint │ │ │ ├── tarantool_2.8.4 │ │ │ ├── tarantool_3.0.0-entrypoint │ │ │ ├── tarantool_3.0.1 │ │ │ │ └── .gitkeep │ │ │ ├── tt │ │ │ ├── tt_0.1.0 │ │ │ └── tt_2.0.0 │ │ ├── bin_dev │ │ │ └── tarantool │ │ ├── bin_hash │ │ │ ├── tarantool_aaaaaaa │ │ │ ├── tarantool_bbbbbbb │ │ │ └── tarantool_fffffff │ │ ├── inc_basic │ │ │ ├── tarantool-ee_2.8.4-0-r510 │ │ │ │ └── .gitkeep │ │ │ ├── tarantool_2.10.8-entrypoint │ │ │ │ └── .gitkeep │ │ │ ├── tarantool_2.8.4 │ │ │ │ └── .gitkeep │ │ │ ├── tarantool_3.0.0-entrypoint │ │ │ │ └── .gitkeep │ │ │ └── tarantool_3.0.1 │ │ │ │ └── .gitkeep │ │ ├── inc_hash │ │ │ ├── tarantool_aaaaaaa │ │ │ │ └── .gitkeep │ │ │ ├── tarantool_bbbbbbb │ │ │ │ └── .gitkeep │ │ │ └── tarantool_fffffff │ │ │ │ └── .gitkeep │ │ ├── inc_invalid │ │ │ ├── tarantool-ee_2.8.4-0-r510 │ │ │ │ └── .gitkeep │ │ │ └── tarantool_2.8.4 │ │ │ │ └── .gitkeep │ │ └── inc_invalid_hash │ │ │ ├── tarantool_bbbbbbb │ │ │ └── .gitkeep │ │ │ └── tarantool_fffffff │ │ │ └── .gitkeep │ ├── uninstall.go │ └── uninstall_test.go ├── util │ ├── color.go │ ├── compress.go │ ├── compress_test.go │ ├── crypto.go │ ├── errors.go │ ├── execute.go │ ├── git.go │ ├── git_test.go │ ├── osfs.go │ ├── regexputil │ │ ├── regexp.go │ │ └── regexp_test.go │ ├── templates.go │ ├── testdata │ │ ├── arch.tgz │ │ ├── bad.yml │ │ └── instances.yml │ ├── util.go │ ├── util_test.go │ ├── wal.go │ └── wal_test.go └── version │ ├── version.go │ ├── version_match.go │ ├── version_match_test.go │ ├── version_tools.go │ └── version_tools_test.go ├── doc ├── examples.md ├── images │ ├── macOS_error.jpeg │ └── macOS_settings.jpeg ├── known_issues.md └── migration_from_older_versions.md ├── go.mod ├── go.sum ├── golangci-lint.yml ├── goreleaser ├── .goreleaser_linux.yml ├── .goreleaser_linux_arm64.yml ├── .goreleaser_macOS.yml └── .goreleaser_publish.yml ├── lib ├── cluster │ ├── cluster.go │ ├── cluster_test.go │ ├── collector.go │ ├── collector_test.go │ ├── config.go │ ├── config_test.go │ ├── datacollector.go │ ├── datacollector_test.go │ ├── datapublisher.go │ ├── datapublisher_test.go │ ├── env.go │ ├── env_test.go │ ├── errors.go │ ├── etcd.go │ ├── etcd_test.go │ ├── file.go │ ├── file_test.go │ ├── generate.go │ ├── go.mod │ ├── go.sum │ ├── integration_test.go │ ├── integrity.go │ ├── paths.go │ ├── paths_generate.lua │ ├── publisher.go │ ├── schema.go │ ├── schema_test.go │ ├── storages.go │ ├── storages_test.go │ ├── tarantool.go │ ├── tarantool_test.go │ ├── testdata │ │ ├── config.yml │ │ ├── init.lua │ │ ├── invalid.yaml │ │ ├── test.yaml │ │ └── tls │ │ │ ├── ca.crt │ │ │ ├── empty │ │ │ ├── generate.sh │ │ │ ├── localhost.crt │ │ │ └── localhost.key │ ├── validators.go │ ├── validators_test.go │ ├── yaml.go │ └── yaml_test.go ├── connect │ ├── const.go │ ├── credentials.go │ ├── credentials_test.go │ ├── go.mod │ ├── go.sum │ ├── help.go │ ├── help_test.go │ ├── uri.go │ └── uri_test.go ├── dial │ ├── dial.go │ ├── dial_test.go │ ├── opts.go │ ├── ssl.go │ ├── ssl_disable.go │ ├── transport.go │ └── transport_test.go ├── integrity │ ├── dummy_repository.go │ ├── go.mod │ ├── go.sum │ ├── integrity.go │ ├── integrity_test.go │ └── repository.go └── watchdog │ ├── watchdog.go │ └── watchdog_test.go ├── magefile.go ├── magefile.publish.go ├── package ├── instances.available │ ├── replicaset_example_tarantool_2 │ │ ├── instances.yml │ │ ├── master.init.lua │ │ └── replica.init.lua │ └── replicaset_example_tarantool_3 │ │ ├── config.yml │ │ ├── example.lua │ │ ├── instances.yml │ │ └── secrets │ │ └── replicator_password.txt ├── logrotate.conf ├── scripts │ └── preinstall.sh ├── systemd │ └── replicaset_example@.service └── tt.yaml.default └── test ├── cartridge_helper.py ├── conftest.py ├── etcd_helper.py ├── integration ├── aeon │ ├── app │ │ ├── config.yml │ │ ├── init.lua │ │ └── instances.yml │ ├── app_ssl │ │ ├── config.yml │ │ ├── init.lua │ │ └── instances.yml │ ├── conftest.py │ ├── data │ │ ├── config.yml │ │ ├── config_ssl.yml │ │ └── invalid_config_ssl.yml │ ├── generate-keys.sh │ ├── server │ │ ├── .gitignore │ │ ├── go.mod │ │ ├── go.sum │ │ ├── mock.go │ │ └── service │ │ │ ├── diag.go │ │ │ └── server.go │ ├── test_aeon.py │ └── test_tcs_app │ │ └── config.yaml ├── binaries │ ├── test_list.py │ ├── test_switch.py │ └── testdata │ │ ├── active_links │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool_1.10.13 │ │ │ ├── tarantool_2.10.3 │ │ │ ├── tarantool_2.10.5 │ │ │ ├── tcm │ │ │ ├── tcm_1.2.0-11-g2d0a0f495 │ │ │ ├── tcm_1.3.1-0-g074b5ffa │ │ │ ├── tt │ │ │ └── tt_v0.1.0 │ │ ├── inc │ │ │ └── include │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool_1.10.13 │ │ │ │ └── .gitkeep │ │ │ │ ├── tarantool_2.10.3 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_2.10.5 │ │ │ │ └── .gitkeep │ │ └── tt.yaml │ │ ├── list │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool_2.10.3 │ │ │ ├── tarantool_2.8.1 │ │ │ ├── tcm │ │ │ ├── tcm_1.2.0-11-g2d0a0f495 │ │ │ ├── tcm_1.3.1-0-g074b5ffa │ │ │ └── tt_v0.1.0 │ │ └── tt.yaml │ │ ├── no_active │ │ ├── bin │ │ │ ├── tarantool_1.10.13 │ │ │ ├── tarantool_2.10.3 │ │ │ ├── tarantool_2.10.5 │ │ │ ├── tcm_1.2.0-11-g2d0a0f495 │ │ │ ├── tcm_1.3.1-0-g074b5ffa │ │ │ └── tt_v0.1.0 │ │ ├── inc │ │ │ └── include │ │ │ │ ├── tarantool_1.10.13 │ │ │ │ └── .gitkeep │ │ │ │ ├── tarantool_2.10.3 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_2.10.5 │ │ │ │ └── .gitkeep │ │ └── tt.yaml │ │ └── tarantool_dev │ │ ├── bin │ │ ├── tarantool │ │ ├── tarantool_1.10.0 │ │ └── tarantool_2.10.7 │ │ ├── tarantool │ │ └── tt.yaml ├── cartridge │ └── test_cartridge.py ├── cat │ ├── test_cat.py │ └── test_file │ │ ├── test.snap │ │ ├── test.xlog │ │ ├── timestamp.snap │ │ └── timestamp.xlog ├── cfg │ ├── test_dump.py │ └── tt_cfg.yaml ├── check │ ├── test_app │ │ ├── correct_syntax.lua │ │ └── incorrect_syntax.lua │ └── test_check.py ├── clean │ ├── cluster_app │ ├── multi_inst_data_app │ └── test_clean.py ├── cli │ └── test_launch.py ├── cluster │ ├── test_cluster_demote.py │ ├── test_cluster_expel.py │ ├── test_cluster_failover.py │ ├── test_cluster_promote.py │ ├── test_cluster_publish.py │ ├── test_cluster_roles_add.py │ ├── test_cluster_roles_remove.py │ ├── test_cluster_show.py │ ├── test_error_app │ │ ├── config.yaml │ │ ├── init.lua │ │ └── instances.yml │ ├── test_simple_app │ │ ├── config.yaml │ │ ├── init.lua │ │ └── instances.yml │ ├── test_tcs_app │ │ └── config.yaml │ ├── testdata │ │ └── promote │ │ │ ├── many_keys │ │ │ ├── key_specified │ │ │ │ ├── a.yml │ │ │ │ ├── b.yml │ │ │ │ └── expected.yml │ │ │ ├── manual_priority_order │ │ │ │ ├── a.yml │ │ │ │ ├── b.yml │ │ │ │ └── expected.yml │ │ │ ├── no_instance │ │ │ │ ├── a.yml │ │ │ │ ├── b.yml │ │ │ │ └── c.yml │ │ │ ├── off_lexi_order │ │ │ │ ├── a.yml │ │ │ │ ├── b.yml │ │ │ │ └── expected.yml │ │ │ └── off_priority_order │ │ │ │ ├── a.yml │ │ │ │ ├── b.yml │ │ │ │ ├── c.yml │ │ │ │ └── expected.yml │ │ │ └── single_key │ │ │ ├── election │ │ │ └── init.yml │ │ │ ├── manual │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ ├── manual_no_leader │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ ├── many_replicasets │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ ├── no_instance │ │ │ └── init.yml │ │ │ ├── off_default │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ ├── off_explicit │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ ├── off_multi │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ ├── off_no_diff │ │ │ ├── expected.yml │ │ │ └── init.yml │ │ │ └── unknown │ │ │ └── init.yml │ └── testsimpleapp │ │ ├── config.yml │ │ ├── init.lua │ │ └── instances.yml ├── completion │ ├── __init__.py │ ├── conftest.py │ ├── helpers │ │ ├── bash_completion.sh │ │ └── fish_completion.sh │ └── test_completion.py ├── connect │ ├── test_connect.py │ ├── test_file │ │ ├── empty.lua │ │ ├── hello.lua │ │ └── hello.sql │ ├── test_localhost_app │ │ └── test_app.lua │ ├── test_multi_app │ │ ├── init.lua │ │ ├── instances.yml │ │ └── router.init.lua │ ├── test_output_format_app │ │ └── test_app.lua │ ├── test_simple_cluster_app │ │ ├── config.yaml │ │ ├── instances.yml │ │ └── master.lua │ ├── test_single_app │ │ └── test_app.lua │ └── test_ssl_app │ │ ├── ca.crt │ │ ├── generate.sh │ │ ├── init.lua │ │ ├── localhost.crt │ │ └── localhost.key ├── coredump │ └── test_coredump.py ├── create │ ├── templates │ │ └── basic │ │ │ ├── MANIFEST.yaml │ │ │ ├── config.lua.tt.template │ │ │ ├── hooks │ │ │ ├── post-gen.sh │ │ │ └── pre-gen.sh │ │ │ ├── tmp_config.cfg │ │ │ ├── {{.name}}.cfg │ │ │ └── {{.user_name}}.txt │ └── test_create.py ├── daemon │ ├── test_app │ │ └── test_app.lua │ └── test_daemon.py ├── ee │ ├── test_ee_download.py │ ├── test_ee_install.py │ ├── test_ee_search.py │ ├── test_ee_uninstall.py │ └── testdata │ │ ├── 2vers_installed │ │ ├── tarantool-ee │ │ │ ├── bin │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool-ee_gc64-2.11.6-0-r683 │ │ │ │ └── tarantool-ee_gc64-3.4.0-0-r60 │ │ │ ├── include │ │ │ │ └── include │ │ │ │ │ ├── tarantool │ │ │ │ │ ├── tarantool-ee_gc64-2.11.6-0-r683 │ │ │ │ │ └── .gitkeep │ │ │ │ │ └── tarantool-ee_gc64-3.4.0-0-r60 │ │ │ │ │ └── .gitkeep │ │ │ └── tt.yaml │ │ └── tcm │ │ │ ├── bin │ │ │ ├── tcm │ │ │ ├── tcm_1.2.0-11-g2d0a0f495 │ │ │ └── tcm_1.3.1-0-g074b5ffa │ │ │ └── tt.yaml │ │ ├── 2vers_installed_no_active │ │ ├── tarantool-ee │ │ │ ├── bin │ │ │ │ ├── tarantool-ee_gc64-2.11.6-0-r683 │ │ │ │ └── tarantool-ee_gc64-3.4.0-0-r60 │ │ │ ├── include │ │ │ │ └── include │ │ │ │ │ ├── tarantool-ee_gc64-2.11.6-0-r683 │ │ │ │ │ └── .gitkeep │ │ │ │ │ └── tarantool-ee_gc64-3.4.0-0-r60 │ │ │ │ │ └── .gitkeep │ │ │ └── tt.yaml │ │ └── tcm │ │ │ ├── bin │ │ │ ├── tcm_1.2.0-11-g2d0a0f495 │ │ │ └── tcm_1.3.1-0-g074b5ffa │ │ │ └── tt.yaml │ │ └── 3vers_installed │ │ ├── tarantool-ee │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool-ee_gc64-2.11.6-0-r683 │ │ │ ├── tarantool-ee_gc64-3.4.0-0-r60 │ │ │ └── tarantool_3.5.0 │ │ ├── include │ │ │ └── include │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool-ee_gc64-2.11.6-0-r683 │ │ │ │ └── .gitkeep │ │ │ │ ├── tarantool-ee_gc64-3.4.0-0-r60 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_3.5.0 │ │ │ │ └── .gitkeep │ │ └── tt.yaml │ │ └── tcm │ │ ├── bin │ │ ├── tcm │ │ ├── tcm_1.2.0-11-g2d0a0f495 │ │ ├── tcm_1.3.1-0-g074b5ffa │ │ └── tcm_2d0a0f495 │ │ └── tt.yaml ├── enable │ ├── test_app │ │ └── init.lua │ ├── test_enable.py │ └── test_script │ │ └── test.lua ├── env │ └── test_env.py ├── help │ └── test_help.py ├── init │ ├── apps │ │ └── multi_inst_app │ │ │ ├── init.lua │ │ │ ├── instances.yml │ │ │ └── router.init.lua │ ├── configs │ │ ├── default_ttctl_cfg_from_doc.lua │ │ ├── tarantoolctl.lua │ │ └── valid_cartridge.yml │ └── test_init.py ├── install │ ├── test_install.py │ └── testdata │ │ ├── build_ce │ │ ├── src │ │ │ └── tarantool │ │ └── tarantool-prefix │ │ │ └── include │ │ │ └── tarantool │ │ │ └── .gitkeep │ │ ├── build_ee │ │ ├── custom_include │ │ │ └── tarantool │ │ │ │ └── .gitkeep │ │ └── tarantool │ │ │ └── src │ │ │ └── tarantool │ │ ├── build_invalid │ │ └── .gitkeep │ │ ├── build_invalid2 │ │ └── src │ │ │ └── tarantool │ │ │ └── .gitkeep │ │ ├── build_static │ │ └── tarantool-prefix │ │ │ ├── bin │ │ │ └── tarantool │ │ │ └── include │ │ │ └── tarantool │ │ │ └── .gitkeep │ │ ├── test_install_tarantool_already_exists │ │ └── tt │ │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool_1.10.13 │ │ │ ├── tarantool_2.10.3 │ │ │ └── tarantool_2.10.5 │ │ │ ├── inc │ │ │ └── include │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool_1.10.13 │ │ │ │ └── .gitkeep │ │ │ │ ├── tarantool_2.10.3 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_2.10.5 │ │ │ │ └── .gitkeep │ │ │ └── tt.yaml │ │ ├── test_install_tt_already_exists │ │ └── tt │ │ │ ├── bin │ │ │ ├── tt_v1.1.1 │ │ │ ├── tt_v1.1.2 │ │ │ ├── tt_v1.1.4 │ │ │ └── tt_v1.1.5 │ │ │ └── tt.yaml │ │ ├── tt_basic │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool_1.10.0 │ │ │ └── tarantool_2.10.8 │ │ ├── inc │ │ │ └── include │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool_1.10.0 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_2.10.8 │ │ │ │ └── .gitkeep │ │ └── tt.yaml │ │ ├── tt_empty │ │ ├── bin │ │ │ └── .gitkeep │ │ ├── inc │ │ │ └── include │ │ │ │ └── .gitkeep │ │ └── tt.yaml │ │ └── tt_invalid │ │ ├── bin │ │ └── tarantool │ │ ├── inc │ │ └── include │ │ │ └── tarantool │ │ │ └── .gitkeep │ │ └── tt.yaml ├── instances │ ├── multi_app │ │ ├── app1 │ │ │ ├── init.lua │ │ │ ├── instances.yml │ │ │ └── router.init.lua │ │ ├── app2.lua │ │ ├── instances_enabled │ │ │ ├── app1 │ │ │ └── app2.lua │ │ └── tarantool.yaml │ ├── test_app │ │ └── init.lua │ └── test_instances.py ├── kill │ ├── cluster_app │ ├── multi_inst_app │ └── test_kill.py ├── log │ └── test_log.py ├── logrotate │ ├── cluster_app │ ├── multi_inst_app │ └── test_logrotate.py ├── modules │ └── test_modules_list.py ├── pack │ ├── systemd_unit_template.txt │ ├── test_bundles │ │ ├── bundle1 │ │ │ ├── app.lua │ │ │ ├── app2 │ │ │ │ ├── app2-scm-1.rockspec │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yaml │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ ├── inst1 │ │ │ │ │ │ ├── test.snap │ │ │ │ │ │ ├── test.vylog │ │ │ │ │ │ └── test.xlog │ │ │ │ │ └── inst2 │ │ │ │ │ │ ├── test.snap │ │ │ │ │ │ └── test.xlog │ │ │ │ │ ├── log │ │ │ │ │ ├── inst1 │ │ │ │ │ │ └── test.log │ │ │ │ │ └── inst2 │ │ │ │ │ │ └── test.log │ │ │ │ │ └── run │ │ │ │ │ ├── inst1 │ │ │ │ │ └── app.pid │ │ │ │ │ └── inst2 │ │ │ │ │ └── app2.pid │ │ │ ├── instances_enabled │ │ │ │ ├── app1.lua │ │ │ │ ├── app1 │ │ │ │ │ └── var │ │ │ │ │ │ ├── lib │ │ │ │ │ │ └── app1 │ │ │ │ │ │ │ └── test.xlog │ │ │ │ │ │ ├── log │ │ │ │ │ │ └── app1 │ │ │ │ │ │ │ └── test.log │ │ │ │ │ │ └── run │ │ │ │ │ │ └── app1 │ │ │ │ │ │ └── tt.pid │ │ │ │ └── app2 │ │ │ ├── modules │ │ │ │ ├── ext_mod │ │ │ │ │ ├── command.sh │ │ │ │ │ └── manifest.yml │ │ │ │ └── simple │ │ │ │ │ └── main │ │ │ └── tt.yaml │ │ ├── bundle2 │ │ │ ├── bin │ │ │ │ ├── tarantool_bin │ │ │ │ └── tt_bin │ │ │ ├── empty_app │ │ │ │ └── dummy.txt │ │ │ ├── instances_enabled │ │ │ │ └── empty_app │ │ │ ├── tt.yaml │ │ │ └── var │ │ │ │ ├── lib │ │ │ │ ├── app1 │ │ │ │ │ ├── test.snap │ │ │ │ │ └── test.xlog │ │ │ │ └── app2 │ │ │ │ │ ├── test.snap │ │ │ │ │ └── test.xlog │ │ │ │ ├── log │ │ │ │ ├── app1 │ │ │ │ │ └── test.log │ │ │ │ └── app2 │ │ │ │ │ └── test.log │ │ │ │ └── run │ │ │ │ ├── app1 │ │ │ │ └── app.pid │ │ │ │ └── app2 │ │ │ │ └── app2.pid │ │ ├── bundle3 │ │ │ └── tt.yaml │ │ ├── bundle4 │ │ │ ├── app.lua │ │ │ ├── bin │ │ │ │ ├── tarantool_bin │ │ │ │ ├── tcm_bin │ │ │ │ └── tt_bin │ │ │ ├── instances_enabled │ │ │ │ └── app.lua │ │ │ ├── tarantool_src │ │ │ ├── tt.yaml │ │ │ └── tt_src │ │ ├── bundle5 │ │ │ ├── init.lua │ │ │ └── tt.yaml │ │ ├── bundle6 │ │ │ ├── app.lua │ │ │ ├── instances.enabled │ │ │ │ ├── app.lua │ │ │ │ └── app │ │ │ │ │ └── var │ │ │ │ │ └── lib │ │ │ │ │ ├── memtx_custom │ │ │ │ │ └── app │ │ │ │ │ │ └── artifact_memtx │ │ │ │ │ ├── vinyl_custom │ │ │ │ │ └── app │ │ │ │ │ │ └── artifact_vinyl │ │ │ │ │ └── wal_custom │ │ │ │ │ └── app │ │ │ │ │ └── artifact_wal │ │ │ └── tt.yaml │ │ ├── bundle7 │ │ │ ├── app.lua │ │ │ ├── instances.enabled │ │ │ │ ├── app.lua │ │ │ │ └── app │ │ │ │ │ └── var │ │ │ │ │ └── lib │ │ │ │ │ ├── app │ │ │ │ │ ├── artifact_vinyl │ │ │ │ │ └── artifact_wal │ │ │ │ │ └── memtx_custom │ │ │ │ │ └── app │ │ │ │ │ └── artifact_memtx │ │ │ └── tt.yaml │ │ ├── bundle8 │ │ │ ├── app_name │ │ │ │ ├── app_name-scm-1.rockspec │ │ │ │ └── init.lua │ │ │ ├── instances_enabled │ │ │ │ └── app_name │ │ │ └── tt.yaml │ │ ├── bundle9 │ │ │ ├── init.lua │ │ │ └── tt.yaml │ │ ├── bundle_with_different_data_dirs │ │ │ ├── app.lua │ │ │ ├── app2 │ │ │ │ ├── app2-scm-1.rockspec │ │ │ │ ├── init.lua │ │ │ │ └── var │ │ │ │ │ ├── lib │ │ │ │ │ ├── memtx │ │ │ │ │ │ └── app2 │ │ │ │ │ │ │ └── test.snap │ │ │ │ │ ├── vinyl │ │ │ │ │ │ └── app2 │ │ │ │ │ │ │ └── test.vylog │ │ │ │ │ └── wal │ │ │ │ │ │ └── app2 │ │ │ │ │ │ └── test.xlog │ │ │ │ │ ├── log │ │ │ │ │ └── app2 │ │ │ │ │ │ └── tt.log │ │ │ │ │ └── run │ │ │ │ │ └── app2 │ │ │ │ │ └── tt.pid │ │ │ ├── instances_enabled │ │ │ │ ├── app1.lua │ │ │ │ ├── app1 │ │ │ │ │ └── var │ │ │ │ │ │ ├── lib │ │ │ │ │ │ ├── memtx │ │ │ │ │ │ │ └── app1 │ │ │ │ │ │ │ │ └── test.snap │ │ │ │ │ │ ├── vinyl │ │ │ │ │ │ │ └── app1 │ │ │ │ │ │ │ │ └── test.vylog │ │ │ │ │ │ └── wal │ │ │ │ │ │ │ └── app1 │ │ │ │ │ │ │ └── test.xlog │ │ │ │ │ │ ├── log │ │ │ │ │ │ └── app1 │ │ │ │ │ │ │ └── tt.log │ │ │ │ │ │ └── run │ │ │ │ │ │ └── app1 │ │ │ │ │ │ └── tt.pid │ │ │ │ └── app2 │ │ │ ├── modules │ │ │ │ └── test_module.txt │ │ │ └── tt.yaml │ │ ├── bundle_with_git_files │ │ │ ├── app.lua │ │ │ ├── app2 │ │ │ │ ├── app2-scm-1.rockspec │ │ │ │ └── init.lua │ │ │ ├── instances_enabled │ │ │ │ ├── app1.lua │ │ │ │ └── app2 │ │ │ │ │ ├── .github │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── .gitmodules │ │ │ │ │ ├── app2-scm-1.rockspec │ │ │ │ │ └── init.lua │ │ │ ├── modules │ │ │ │ └── test_module.txt │ │ │ └── tt.yaml │ │ ├── cartridge_app │ │ │ ├── app │ │ │ │ ├── admin.lua │ │ │ │ └── roles │ │ │ │ │ └── custom.lua │ │ │ ├── bin │ │ │ │ ├── tarantool_bin │ │ │ │ └── tt_bin │ │ │ ├── cartridge.post-build │ │ │ ├── cartridge.pre-build │ │ │ ├── failover.yml │ │ │ ├── init.lua │ │ │ ├── instances.yml │ │ │ ├── myapp-scm-1.rockspec │ │ │ ├── replicasets.yml │ │ │ └── tt.yaml │ │ ├── ext_modules │ │ │ └── ext_mod2 │ │ │ │ ├── command.sh │ │ │ │ └── manifest.yml │ │ ├── single_app │ │ │ ├── config.yaml │ │ │ ├── instances.yml │ │ │ └── tt.yml │ │ ├── systemd_params │ │ │ ├── app1 │ │ │ │ ├── init.lua │ │ │ │ └── instances.yaml │ │ │ ├── app2 │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yaml │ │ │ │ └── systemd-unit-params.yml │ │ │ ├── instances_enabled │ │ │ │ ├── app1 │ │ │ │ └── app2 │ │ │ ├── params.yml │ │ │ └── tt.yaml │ │ └── vshard_app │ │ │ ├── instances.enabled │ │ │ └── test_app │ │ │ ├── test_app │ │ │ ├── config.yaml │ │ │ ├── instances.yaml │ │ │ ├── router.lua │ │ │ ├── storage.lua │ │ │ └── test_app-scm-1.rockspec │ │ │ └── tt.yaml │ └── test_pack.py ├── play │ ├── test_file │ │ ├── config.yml │ │ ├── create_space.lua │ │ ├── empty.lua │ │ ├── get_data.lua │ │ ├── instances.yml │ │ ├── remote_instance_cfg.lua │ │ ├── test.snap │ │ ├── test.xlog │ │ ├── test_app.lua │ │ └── timestamp │ │ │ ├── timestamp.snap │ │ │ └── timestamp.xlog │ ├── test_play.py │ ├── test_simple_cluster_app │ │ ├── config.yaml │ │ ├── init.lua │ │ └── instances.yml │ └── test_ssl_app │ │ ├── ca.crt │ │ ├── generate.sh │ │ ├── init.lua │ │ ├── localhost.crt │ │ └── localhost.key ├── replicaset │ ├── cluster_app_failovers │ │ ├── config.yml │ │ ├── init.lua │ │ └── instances.yml │ ├── replicaset_helpers.py │ ├── single-t2-app │ │ ├── init.lua │ │ └── tt.yaml │ ├── small_cluster_app │ │ ├── config.yaml │ │ ├── init.lua │ │ └── instances.yml │ ├── test_ccluster_app │ │ ├── config.yaml │ │ ├── greeter.lua │ │ ├── init.lua │ │ └── instances.yml │ ├── test_custom_app │ │ └── init.lua │ ├── test_replicaset_bootstrap.py │ ├── test_replicaset_demote.py │ ├── test_replicaset_downgrade.py │ ├── test_replicaset_expel.py │ ├── test_replicaset_promote.py │ ├── test_replicaset_rebootstrap.py │ ├── test_replicaset_roles_add.py │ ├── test_replicaset_roles_remove.py │ ├── test_replicaset_status.py │ ├── test_replicaset_upgrade.py │ ├── test_replicaset_vshard.py │ ├── test_vshard_app │ │ ├── config.yaml │ │ ├── init.lua │ │ └── instances.yaml │ ├── test_vshard_app_timeout │ │ ├── config.yaml │ │ ├── instances.yaml │ │ ├── router.lua │ │ ├── storage.lua │ │ └── vshard_app-scm-1.rockspec │ └── testdata │ │ └── promote │ │ └── cconfig_failovers │ │ ├── election.yml │ │ ├── manual.yml │ │ ├── manual_stopped.yml │ │ ├── off_multi_master.yml │ │ ├── off_promote_rw.yml │ │ └── off_stopped.yml ├── restart │ ├── cluster_app │ ├── multi_app │ │ ├── app1 │ │ │ ├── init.lua │ │ │ ├── instances.yml │ │ │ └── router.init.lua │ │ ├── app2.lua │ │ ├── instances_enabled │ │ │ ├── app1 │ │ │ │ ├── init.lua │ │ │ │ ├── instances.yml │ │ │ │ └── router.init.lua │ │ │ └── app2.lua │ │ └── tt.yaml │ ├── multi_inst_app │ ├── test_app.lua │ └── test_restart.py ├── rocks │ ├── files │ │ └── testapp-scm-1.rockspec │ ├── repo │ │ ├── manifest │ │ ├── stat-0.3.1-1.all.rock │ │ └── stat-0.3.2-1.all.rock │ └── test_rocks.py ├── run │ ├── test_app │ │ ├── test_app.lua │ │ └── test_app_arg.lua │ └── test_run.py ├── running │ ├── cluster_app │ │ ├── config.yaml │ │ ├── instances.yml │ │ └── storage.lua │ ├── cluster_app_changed_defaults │ │ ├── config.yaml │ │ └── instances.yml │ ├── cluster_crud_app │ │ ├── config.yaml │ │ ├── crud_app-scm-1.rockspec │ │ ├── instances.yml │ │ ├── localcfg.lua │ │ ├── router.lua │ │ └── storage.lua │ ├── multi_app │ │ ├── app1 │ │ │ ├── init.lua │ │ │ ├── instances.yml │ │ │ └── router.init.lua │ │ ├── app2.lua │ │ ├── instances_enabled │ │ │ ├── app1 │ │ │ └── app2.lua │ │ └── tt.yaml │ ├── multi_inst_app │ │ ├── init.lua │ │ ├── instances.yml │ │ ├── router.init.lua │ │ └── tt.yaml │ ├── multi_inst_app_no_init │ │ ├── instances.enabled │ │ │ └── mi_app │ │ │ │ ├── instances.yml │ │ │ │ ├── router.init.lua │ │ │ │ └── storage.init.lua │ │ └── tt.yaml │ ├── multi_inst_data_app │ │ ├── init.lua │ │ ├── instances.yml │ │ ├── router.init.lua │ │ └── tt.yaml │ ├── small_cluster_app │ │ ├── config.yaml │ │ └── instances.yml │ ├── test_app │ │ └── test_app.lua │ ├── test_data_app │ │ └── test_data_app.lua │ ├── test_env_app │ │ └── test_env_app.lua │ ├── test_running.py │ └── test_running_cluster.py ├── search │ ├── test_search.py │ └── testdata │ │ ├── distfiles.test │ │ ├── tarantool-enterprise-sdk-gc64-3.2.0-0-r40.linux.x86_64.tar.gz │ │ ├── tarantool-enterprise-sdk-gc64-3.3.1-0-r55.linux.x86_64.tar.gz │ │ ├── tarantool-enterprise-sdk-gc64-3.3.2-0-r58.linux.x86_64.tar.gz │ │ ├── tarantool-enterprise-sdk-gc64-3.3.2-0-r59.linux.x86_64.tar.gz │ │ ├── tcm-1.2.0-11-g2d0a0f495.linux.amd64.tar.gz │ │ ├── tcm-1.2.0-4-g59faf8b74.linux.amd64.tar.gz │ │ ├── tcm-1.2.0-6-g0a82e719.linux.amd64.tar.gz │ │ ├── tcm-1.2.1-0-gc2199e13e.linux.amd64.tar.gz │ │ ├── tcm-1.2.3-0-geae7e7d49.linux.amd64.tar.gz │ │ ├── tcm-1.3.0-0-g3857712a.linux.amd64.tar.gz │ │ └── tcm-1.3.1-0-g074b5ffa.linux.amd64.tar.gz │ │ └── tt.yaml ├── start │ ├── cluster_app │ ├── multi_inst_app │ └── test_start.py ├── status │ ├── single_app │ │ └── init.lua │ ├── test_custom_app │ │ └── init.lua │ └── test_status.py ├── stop │ ├── cluster_app │ ├── multi_app │ ├── multi_inst_app │ ├── test_app.lua │ └── test_stop.py ├── tcm │ └── test_tcm.py ├── ttbuild │ ├── apps │ │ ├── app1 │ │ │ ├── app1-scm-1.rockspec │ │ │ └── app1-scm-2.rockspec │ │ ├── cartridge_hooks │ │ │ ├── cartridge.post-build │ │ │ └── cartridge.pre-build │ │ └── tt_hooks │ │ │ ├── tt.post-build │ │ │ └── tt.pre-build │ └── test_build.py ├── uninstall │ ├── test_uninstall.py │ └── testdata │ │ ├── tarantool_dev │ │ ├── installed │ │ │ ├── bin │ │ │ │ ├── tarantool │ │ │ │ └── tarantool_2.10.4 │ │ │ ├── inc │ │ │ │ └── include │ │ │ │ │ ├── tarantool │ │ │ │ │ └── tarantool_2.10.4 │ │ │ │ │ └── .gitkeep │ │ │ ├── tarantool │ │ │ ├── tarantool_inc │ │ │ │ └── .gitkeep │ │ │ └── tt.yaml │ │ └── not_installed │ │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool_1.10.0 │ │ │ └── tarantool_2.10.8 │ │ │ ├── inc │ │ │ └── include │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool_1.10.0 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_2.10.8 │ │ │ │ └── .gitkeep │ │ │ └── tt.yaml │ │ ├── tt_nosymlink │ │ └── bin │ │ │ └── tt_94ba971 │ │ ├── uninstall_switch │ │ ├── bin │ │ │ ├── tarantool │ │ │ ├── tarantool_1.10.15 │ │ │ ├── tarantool_2.10.4 │ │ │ └── tarantool_2.10.7-entrypoint │ │ ├── inc │ │ │ └── include │ │ │ │ ├── tarantool │ │ │ │ ├── tarantool_1.10.15 │ │ │ │ └── .gitkeep │ │ │ │ ├── tarantool_2.10.4 │ │ │ │ └── .gitkeep │ │ │ │ └── tarantool_2.10.7-entrypoint │ │ │ │ └── .gitkeep │ │ └── tt.yaml │ │ └── uninstall_switch_hash │ │ ├── bin │ │ ├── tarantool │ │ ├── tarantool_1.10.15 │ │ └── tarantool_aaaaaaa │ │ ├── inc │ │ └── include │ │ │ ├── tarantool │ │ │ ├── tarantool_1.10.15 │ │ │ └── .gitkeep │ │ │ └── tarantool_aaaaaaa │ │ │ └── .gitkeep │ │ └── tt.yaml └── version │ └── test_version.py ├── module.py.tt ├── pytest.ini ├── requirements.txt ├── tt_helper.py ├── utils.lua ├── utils.py └── vshard_cluster.py /.codespellrc: -------------------------------------------------------------------------------- 1 | [codespell] 2 | skip = go.sum,**/third_party,tarantool-*,mage 3 | count = 4 | quiet-level = 3 5 | ignore-words-list = fo 6 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length=100 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .pytest_cache 2 | __pycache__ 3 | .DS_Store 4 | /tt 5 | **/*_gen.go 6 | .venv 7 | coverage 8 | dist 9 | -------------------------------------------------------------------------------- /.isort.cfg: -------------------------------------------------------------------------------- 1 | [settings] 2 | known_local_folder=utils 3 | -------------------------------------------------------------------------------- /.lichen.yaml: -------------------------------------------------------------------------------- 1 | allow: 2 | - "MIT" 3 | - "Apache-2.0" 4 | - "BSD-3-Clause" 5 | - "BSD-2-Clause" 6 | - "MPL-2.0" 7 | - "CC-BY-SA-4.0" 8 | override: 9 | - path: "github.com/robfig/config" 10 | licenses: ["MPL-2.0"] 11 | -------------------------------------------------------------------------------- /cli/binary/testdata/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_v2.8.6 -------------------------------------------------------------------------------- /cli/binary/testdata/bin/tarantool_0000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/bin/tarantool_0000000 -------------------------------------------------------------------------------- /cli/binary/testdata/bin/tarantool_1.10.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/bin/tarantool_1.10.0 -------------------------------------------------------------------------------- /cli/binary/testdata/bin/tarantool_2.10.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/bin/tarantool_2.10.5 -------------------------------------------------------------------------------- /cli/binary/testdata/bin/tarantool_master: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/bin/tarantool_master -------------------------------------------------------------------------------- /cli/binary/testdata/bin/tarantool_v2.8.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/bin/tarantool_v2.8.6 -------------------------------------------------------------------------------- /cli/binary/testdata/no_symlink/tarantool: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo 'Tarantool 3.1.0-entrypoint-83-gcb0264c3c' 4 | -------------------------------------------------------------------------------- /cli/binary/testdata/no_symlink/tarantool-ee_2.11.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/no_symlink/tarantool-ee_2.11.1 -------------------------------------------------------------------------------- /cli/binary/testdata/no_symlink/tarantool_2.10.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/no_symlink/tarantool_2.10.1 -------------------------------------------------------------------------------- /cli/binary/testdata/switch_test/bin/tarantool_1.10.13: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/switch_test/bin/tarantool_1.10.13 -------------------------------------------------------------------------------- /cli/binary/testdata/switch_test/bin/tarantool_2.10.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/switch_test/bin/tarantool_2.10.3 -------------------------------------------------------------------------------- /cli/binary/testdata/switch_test/bin/tarantool_2.10.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/switch_test/bin/tarantool_2.10.5 -------------------------------------------------------------------------------- /cli/binary/testdata/switch_test/include/include/tarantool_1.10.13/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/switch_test/include/include/tarantool_1.10.13/.gitkeep -------------------------------------------------------------------------------- /cli/binary/testdata/switch_test/include/include/tarantool_2.10.3/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/switch_test/include/include/tarantool_2.10.3/.gitkeep -------------------------------------------------------------------------------- /cli/binary/testdata/switch_test/include/include/tarantool_2.10.5/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/switch_test/include/include/tarantool_2.10.5/.gitkeep -------------------------------------------------------------------------------- /cli/binary/testdata/tarantool_dev/bin/tarantool: -------------------------------------------------------------------------------- 1 | ../tarantool -------------------------------------------------------------------------------- /cli/binary/testdata/tarantool_dev/bin/tarantool_1.10.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/tarantool_dev/bin/tarantool_1.10.0 -------------------------------------------------------------------------------- /cli/binary/testdata/tarantool_dev/bin/tarantool_2.10.7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/tarantool_dev/bin/tarantool_2.10.7 -------------------------------------------------------------------------------- /cli/binary/testdata/tarantool_dev/bin_symlink_broken/tarantool: -------------------------------------------------------------------------------- 1 | ../kek.txt -------------------------------------------------------------------------------- /cli/binary/testdata/tarantool_dev/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/binary/testdata/tarantool_dev/tarantool -------------------------------------------------------------------------------- /cli/build/syscall_wrapper_darwin.go: -------------------------------------------------------------------------------- 1 | //go:build darwin 2 | 3 | package build 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | func Dup2(oldfd int, newfd int) (err error) { 10 | return syscall.Dup2(oldfd, newfd) 11 | } 12 | -------------------------------------------------------------------------------- /cli/build/syscall_wrapper_freebsd.go: -------------------------------------------------------------------------------- 1 | //go:build freebsd 2 | 3 | package build 4 | 5 | import ( 6 | "syscall" 7 | ) 8 | 9 | func Dup2(oldfd int, newfd int) (err error) { 10 | return syscall.Dup2(oldfd, newfd) 11 | } 12 | -------------------------------------------------------------------------------- /cli/build/testdata/app1/app1-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'app1' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here. 7 | dependencies = { 8 | 'metrics == 0.13.0-1', 9 | } 10 | build = { 11 | type = 'none'; 12 | } 13 | -------------------------------------------------------------------------------- /cli/build/testdata/app1/app1-scm-2.rockspec: -------------------------------------------------------------------------------- 1 | package = 'app1' 2 | version = 'scm-2' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here. 7 | dependencies = { 8 | 'checks == 3.1.0-1', 9 | } 10 | build = { 11 | type = 'none'; 12 | } 13 | -------------------------------------------------------------------------------- /cli/build/testdata/runhooks/cartridge.post-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./cartridge-post-build-invoked" 3 | -------------------------------------------------------------------------------- /cli/build/testdata/runhooks/cartridge.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./cartridge-pre-build-invoked" 3 | -------------------------------------------------------------------------------- /cli/build/testdata/runhooks/tt.post-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./tt-post-build-invoked" 3 | -------------------------------------------------------------------------------- /cli/build/testdata/runhooks/tt.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./tt-pre-build-invoked" 3 | -------------------------------------------------------------------------------- /cli/cfg/testdata/app_dir/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/cfg/testdata/app_dir/init.lua -------------------------------------------------------------------------------- /cli/cfg/testdata/app_dir/tt_cfg.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | inc_dir: ./test_inc 3 | app: 4 | wal_dir: ./wal 5 | modules: 6 | directory: /root/modules 7 | -------------------------------------------------------------------------------- /cli/cfg/testdata/tt_cfg.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | inc_dir: ./test_inc 3 | app: 4 | wal_dir: ./wal 5 | modules: 6 | directory: /root/modules 7 | -------------------------------------------------------------------------------- /cli/cfg/testdata/tt_cfg2.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: ./instances.enabled 3 | modules: 4 | directory: my_modules 5 | templates: 6 | - path: ./my_templates 7 | - path: /tmp/templates 8 | -------------------------------------------------------------------------------- /cli/cfg/testdata/tt_cfg3.yaml: -------------------------------------------------------------------------------- 1 | modules: 2 | directory: 3 | - /root/modules 4 | - /some/other/modules 5 | -------------------------------------------------------------------------------- /cli/cmd/testdata/with_init/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/cmd/testdata/with_init/init.lua -------------------------------------------------------------------------------- /cli/configure/testdata/bin_dir/tarantool: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "Hello, I'm Tarantool!" 4 | -------------------------------------------------------------------------------- /cli/configure/testdata/bin_dir/tt: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "Hello, I'm Tarantool CLI!" 4 | -------------------------------------------------------------------------------- /cli/configure/testdata/modules_cfg/tt-modules1.yaml: -------------------------------------------------------------------------------- 1 | # Config with single string with relative path to modules directory. 2 | modules: 3 | directory: modules-dir 4 | -------------------------------------------------------------------------------- /cli/configure/testdata/modules_cfg/tt-modules2.yml: -------------------------------------------------------------------------------- 1 | # Config with single list entry of relative path to modules directory. 2 | modules: 3 | directory: 4 | - modules-dir 5 | -------------------------------------------------------------------------------- /cli/configure/testdata/modules_cfg/tt-modules3.yaml: -------------------------------------------------------------------------------- 1 | # Multiple directory items. 2 | modules: 3 | directory: 4 | - modules-dir 5 | - /ext/path/modules 6 | - local_modules 7 | -------------------------------------------------------------------------------- /cli/configure/testdata/modules_cfg/tt-modules4.yml: -------------------------------------------------------------------------------- 1 | # Empty config value, to use default. 2 | modules: 3 | directory: 4 | -------------------------------------------------------------------------------- /cli/configure/testdata/modules_cfg/tt-modules5.yaml: -------------------------------------------------------------------------------- 1 | # Config with single string with absolute path to modules directory. 2 | modules: 3 | directory: /ext/path/modules 4 | -------------------------------------------------------------------------------- /cli/connect/internal/luabody/get_suggestions_func_body.lua: -------------------------------------------------------------------------------- 1 | local last_word, last_word_len = ... 2 | return unpack(require('console').completion_handler(last_word, 0, last_word_len)) 3 | -------------------------------------------------------------------------------- /cli/connector/lua/call_func_template.lua: -------------------------------------------------------------------------------- 1 | return {{ .FunctionName }}(...) 2 | -------------------------------------------------------------------------------- /cli/console/formatter.go: -------------------------------------------------------------------------------- 1 | package console 2 | 3 | // Formatter interface provide common interface for console Handlers to format execution results. 4 | type Formatter interface { 5 | // Format result data according fmt settings and return string for printing. 6 | Format(fmt Format) (string, error) 7 | } 8 | -------------------------------------------------------------------------------- /cli/console/testdata/history0.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/console/testdata/history0.info -------------------------------------------------------------------------------- /cli/console/testdata/history1.info: -------------------------------------------------------------------------------- 1 | #1724939703 2 | box.cfg{} 3 | #1724939757 4 | box.schema.space.create("test") 5 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/static/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/create/builtin_templates/static/.gitkeep -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/cartridge/failover.yml: -------------------------------------------------------------------------------- 1 | # Specify here the failover parameters that will 2 | # be used by the `cartridge failover setup` command. 3 | 4 | mode: stateful 5 | state_provider: stateboard 6 | stateboard_params: 7 | uri: localhost:4401 8 | password: passwd 9 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/cartridge/tmp/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/create/builtin_templates/templates/cartridge/tmp/.gitkeep -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/cartridge/tt.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Simple pre-build script. 4 | # Will be ran before "tt build" on application build. 5 | # Could be useful to install non-standart rocks modules. 6 | 7 | # For example: 8 | # tarantoolctl rocks make --chdir ./third_party/my-custom-rock-module 9 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/single_instance/MANIFEST.yaml: -------------------------------------------------------------------------------- 1 | description: Single instance application 2 | vars: 3 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/single_instance/config.yml: -------------------------------------------------------------------------------- 1 | app: 2 | file: 'init.lua' 3 | 4 | groups: 5 | group001: 6 | replicasets: 7 | replicaset001: 8 | instances: 9 | instance001: 10 | iproto: 11 | listen: 12 | - uri: '127.0.0.1:3301' 13 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/single_instance/init.lua.tt.template: -------------------------------------------------------------------------------- 1 | local app_name = "{{.name}}" 2 | 3 | local log = require('log').new(app_name) 4 | log.info('loaded') 5 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/single_instance/instances.yml: -------------------------------------------------------------------------------- 1 | instance001: 2 | -------------------------------------------------------------------------------- /cli/create/builtin_templates/templates/vshard_cluster/{{.name}}-scm-1.rockspec.tt.template: -------------------------------------------------------------------------------- 1 | package = '{{ .name }}' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | dependencies = { 7 | 'vshard == 0.1.25' 8 | } 9 | build = { 10 | type = 'none'; 11 | } 12 | -------------------------------------------------------------------------------- /cli/create/internal/app_template/testdata/missing_var_prompt.yaml: -------------------------------------------------------------------------------- 1 | description: Bad template 2 | vars: 3 | - name: cl_cookie 4 | default: cookie 5 | re: ^\w+$ 6 | 7 | - prompt: User name 8 | name: user_name 9 | default: admin 10 | 11 | pre-hook: ./hooks/pre-gen.sh 12 | post-hook: ./hooks/post-gen.sh 13 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cartridge/conf.lua: -------------------------------------------------------------------------------- 1 | config.lua -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cartridge/config.lua.tt.template: -------------------------------------------------------------------------------- 1 | cluster_cookie = {{.cluster_cookie}} 2 | login = {{.user_name}} 3 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cartridge/{{.app_name}}.yml: -------------------------------------------------------------------------------- 1 | Sample text 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cartridge/{{.user_name}}.cfg.tt.template: -------------------------------------------------------------------------------- 1 | user={{.user_name}} 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cleanup/admin.txt: -------------------------------------------------------------------------------- 1 | admin 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cleanup/file1.txt: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cleanup/keep_it.txt: -------------------------------------------------------------------------------- 1 | keep_it 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/cleanup/subdir/file2.txt: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/copy_template/templates/basic/echo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "hello" 4 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/copy_template/templates/basic/init.lua: -------------------------------------------------------------------------------- 1 | require('strict').on() 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/copy_template/templates/basic/subdir/file.txt: -------------------------------------------------------------------------------- 1 | Sample text 2 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/hooks/post-gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "$1/post-script-invoked" 3 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/hooks/pre-gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "$1/pre-script-invoked" 3 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/invalid_vars_file.txt: -------------------------------------------------------------------------------- 1 | user-name= 2 | =weak_pwd 3 | -------------------------------------------------------------------------------- /cli/create/internal/steps/testdata/vars-file.txt: -------------------------------------------------------------------------------- 1 | user-name=admin 2 | password=weak_pwd 3 | -------------------------------------------------------------------------------- /cli/docker/testdata/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | -------------------------------------------------------------------------------- /cli/enable/testdata/test_app/init.lua: -------------------------------------------------------------------------------- 1 | print("I am a test app") 2 | -------------------------------------------------------------------------------- /cli/enable/testdata/test_script/foo.foo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/enable/testdata/test_script/foo.foo -------------------------------------------------------------------------------- /cli/enable/testdata/test_script/test.lua: -------------------------------------------------------------------------------- 1 | print("I am a test app") 2 | -------------------------------------------------------------------------------- /cli/init/testdata/invalid_cartridge.yml: -------------------------------------------------------------------------------- 1 | log-dir: my_log_dir 2 | run-dir: my_run_dir 3 | data-dir 4 | 5 | stateboard: true 6 | -------------------------------------------------------------------------------- /cli/init/testdata/tarantoolctl.lua: -------------------------------------------------------------------------------- 1 | default_cfg = { 2 | pid_file = "var/run", 3 | wal_dir = "var/lib", 4 | snap_dir = "var/snap", 5 | vinyl_dir = "var/lib", 6 | logger = "var/log", 7 | } 8 | -------------------------------------------------------------------------------- /cli/init/testdata/tarantoolctl_different_directories.lua: -------------------------------------------------------------------------------- 1 | default_cfg = { 2 | pid_file = "var/pid", 3 | wal_dir = "var/wal", 4 | memtx_dir = "var/snap", 5 | vinyl_dir = "var/vinyl", 6 | logger = "var/log", 7 | } 8 | -------------------------------------------------------------------------------- /cli/init/testdata/tarantoolctl_invalid.lua: -------------------------------------------------------------------------------- 1 | local workdir = os.getenv('TEST_WORKDIR') 2 | default_cfg = { 3 | pid_file = workdir, 4 | wal_dir = workdir, 5 | snap_dir = workdir, 6 | vinyl_dir = workdir, 7 | logger = workdir, 8 | background = false, 9 | -------------------------------------------------------------------------------- /cli/init/testdata/tarantoolctl_no_snap_dir.lua: -------------------------------------------------------------------------------- 1 | default_cfg = { 2 | pid_file = "./run", 3 | wal_dir = "./lib", 4 | vinyl_dir = "./lib", 5 | log = "./log", 6 | } 7 | instance_dir = "./instances" 8 | -------------------------------------------------------------------------------- /cli/init/testdata/tarantoolctl_workdir.lua: -------------------------------------------------------------------------------- 1 | local workdir = os.getenv('TEST_WORKDIR') 2 | default_cfg = { 3 | pid_file = workdir, 4 | wal_dir = workdir, 5 | snap_dir = workdir, 6 | vinyl_dir = workdir, 7 | logger = workdir, 8 | background = false, 9 | } 10 | 11 | instance_dir = workdir 12 | 13 | -------------------------------------------------------------------------------- /cli/init/testdata/valid_cartridge.yml: -------------------------------------------------------------------------------- 1 | log-dir: my_log_dir 2 | run-dir: my_run_dir 3 | data-dir: my_data_dir 4 | 5 | stateboard: true 6 | -------------------------------------------------------------------------------- /cli/init/testdata/wrong_data_format.yml: -------------------------------------------------------------------------------- 1 | log-dir: 1.2 2 | run-dir: my_run_dir 3 | data-dir: my_data_dir 4 | 5 | stateboard: true 6 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/broken/manifest.yml: -------------------------------------------------------------------------------- 1 | :broken 2 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/empty/manifest.yaml: -------------------------------------------------------------------------------- 1 | # empty manifest file 2 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/no-help/manifest.yaml: -------------------------------------------------------------------------------- 1 | main: run.sh 2 | version: 1.2.3 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/no-help/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Hello from external module" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/no-ver/manifest.yaml: -------------------------------------------------------------------------------- 1 | main: run.sh 2 | help: Help for the module 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/no-ver/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Hello from external module" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/no_version/main: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "help: only description reply; no version" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/not-exists/manifest.yaml: -------------------------------------------------------------------------------- 1 | main: not_exists 2 | version: 1.2.3 3 | help: Help for the module 4 | -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/not-mf/manifest.yaml/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/modules/testdata/bad_manifest/not-mf/manifest.yaml/.gitkeep -------------------------------------------------------------------------------- /cli/modules/testdata/bad_manifest/simple/main: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Module without version and description support" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/disabled_override/modules/main: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Try overriding internal modules command" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/modules1/ext_mod/command.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Hello from external module" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/modules1/ext_mod/manifest.yml: -------------------------------------------------------------------------------- 1 | version: 1.2.3 2 | main: command.sh 3 | help: Help for the ext_mod module 4 | -------------------------------------------------------------------------------- /cli/modules/testdata/modules2/ext_mod2/command.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Hello from external module" 3 | -------------------------------------------------------------------------------- /cli/modules/testdata/modules2/ext_mod2/manifest.yml: -------------------------------------------------------------------------------- 1 | version: 1.2.3 2 | main: command.sh 3 | help: Help for the ext_mod module 4 | -------------------------------------------------------------------------------- /cli/pack/creator.go: -------------------------------------------------------------------------------- 1 | package pack 2 | 3 | func CreatePacker(packCtx *PackCtx) Packer { 4 | packType := PackageType(packCtx.Type) 5 | switch packType { 6 | case Tgz: 7 | return &archivePacker{} 8 | case Deb: 9 | return &debPacker{} 10 | case Rpm: 11 | return &rpmPacker{} 12 | default: 13 | return nil 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /cli/pack/interfaces.go: -------------------------------------------------------------------------------- 1 | package pack 2 | 3 | import ( 4 | "github.com/tarantool/tt/cli/cmdcontext" 5 | "github.com/tarantool/tt/cli/config" 6 | ) 7 | 8 | // Packer is an interface that packs an app. 9 | type Packer interface { 10 | Run(cmdCtx *cmdcontext.CmdCtx, packCtx *PackCtx, opts *config.CliOpts) error 11 | } 12 | -------------------------------------------------------------------------------- /cli/pack/templates/rpm_preinst.sh: -------------------------------------------------------------------------------- 1 | SYSUSER=tarantool 2 | 3 | if ! id "$SYSUSER" >/dev/null 2>&1; then 4 | /usr/sbin/groupadd -r $SYSUSER >/dev/null 2>&1 || : 5 | 6 | /usr/sbin/useradd -M -N -g $SYSUSER -r -d /var/lib/tarantool -s /sbin/nologin \ 7 | -c "Tarantool Server" $SYSUSER >/dev/null 2>&1 || : 8 | fi 9 | -------------------------------------------------------------------------------- /cli/pack/testdata/app_with_rockspec/cartridge.post-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/app_with_rockspec/cartridge.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/app_with_rockspec/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/app_with_rockspec/init.lua -------------------------------------------------------------------------------- /cli/pack/testdata/app_with_rockspec/tt.post-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/app_with_rockspec/tt.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/app_with_rockspec/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/broken_app_symlink/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/broken_app_symlink/app2/init.lua -------------------------------------------------------------------------------- /cli/pack/testdata/broken_app_symlink/instances.enabled/app1: -------------------------------------------------------------------------------- 1 | ../app1 -------------------------------------------------------------------------------- /cli/pack/testdata/broken_app_symlink/instances.enabled/app2: -------------------------------------------------------------------------------- 1 | ../app2 -------------------------------------------------------------------------------- /cli/pack/testdata/broken_app_symlink/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances.enabled 3 | -------------------------------------------------------------------------------- /cli/pack/testdata/broken_binary_symlink/bin/tarantool: -------------------------------------------------------------------------------- 1 | ../missing -------------------------------------------------------------------------------- /cli/pack/testdata/broken_binary_symlink/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/broken_binary_symlink/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: . 5 | tarantoolctl_layout: false 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib 10 | memtx_dir: var/lib 11 | vinyl_dir: var/lib 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/env1/bin/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/bin/tarantool -------------------------------------------------------------------------------- /cli/pack/testdata/env1/bin/tcm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/bin/tcm -------------------------------------------------------------------------------- /cli/pack/testdata/env1/instances.enabled/multi: -------------------------------------------------------------------------------- 1 | ../multi/ -------------------------------------------------------------------------------- /cli/pack/testdata/env1/instances.enabled/script_app.lua: -------------------------------------------------------------------------------- 1 | ../script.lua -------------------------------------------------------------------------------- /cli/pack/testdata/env1/instances.enabled/script_app/var/lib/script_app/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/instances.enabled/script_app/var/lib/script_app/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env1/instances.enabled/script_app/var/log/script_app/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/instances.enabled/script_app/var/log/script_app/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env1/instances.enabled/script_app/var/run/script_app/tt.pid: -------------------------------------------------------------------------------- 1 | 31441 -------------------------------------------------------------------------------- /cli/pack/testdata/env1/instances.enabled/single: -------------------------------------------------------------------------------- 1 | ../single/ -------------------------------------------------------------------------------- /cli/pack/testdata/env1/modules/test_ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/modules/test_ext -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/instances.yaml: -------------------------------------------------------------------------------- 1 | inst1: 2 | 3 | inst2: 4 | 5 | -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/lib/inst1/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/multi/var/lib/inst1/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/lib/inst1/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/multi/var/lib/inst1/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/lib/inst2/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/multi/var/lib/inst2/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/lib/inst2/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/multi/var/lib/inst2/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/log/inst1/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/multi/var/log/inst1/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/log/inst2/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/multi/var/log/inst2/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/run/inst1/tt.pid: -------------------------------------------------------------------------------- 1 | 31439 -------------------------------------------------------------------------------- /cli/pack/testdata/env1/multi/var/run/inst2/tt.pid: -------------------------------------------------------------------------------- 1 | 31440 -------------------------------------------------------------------------------- /cli/pack/testdata/env1/script.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env1/single/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env1/single/var/lib/single/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/single/var/lib/single/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env1/single/var/lib/single/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/single/var/lib/single/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env1/single/var/log/single/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/single/var/log/single/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env1/single/var/run/single/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env1/single/var/run/single/tt.pid -------------------------------------------------------------------------------- /cli/pack/testdata/env1/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: instances.enabled 5 | tarantoolctl_layout: false 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib 10 | memtx_dir: var/lib 11 | vinyl_dir: var/lib 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/bin/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/bin/.gitkeep -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/multi: -------------------------------------------------------------------------------- 1 | ../multi/ -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/script_app.lua: -------------------------------------------------------------------------------- 1 | ../script.lua -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/lib/memtx/script_app/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/lib/memtx/script_app/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/lib/vinyl/script_app/test.vinyl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/lib/vinyl/script_app/test.vinyl -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/lib/wal/script_app/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/lib/wal/script_app/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/log/script_app/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/log/script_app/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/run/script_app/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/instances.enabled/script_app/var/run/script_app/tt.pid -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/instances.enabled/single: -------------------------------------------------------------------------------- 1 | ../single/ -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/modules/test_ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/modules/test_ext -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/instances.yaml: -------------------------------------------------------------------------------- 1 | inst1: 2 | 3 | inst2: 4 | 5 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/lib/memtx/inst1/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/lib/memtx/inst1/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/lib/memtx/inst2/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/lib/memtx/inst2/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/lib/vinyl/inst1/test.vinyl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/lib/vinyl/inst1/test.vinyl -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/lib/vinyl/inst2/test.vinyl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/lib/vinyl/inst2/test.vinyl -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/lib/wal/inst1/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/lib/wal/inst1/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/lib/wal/inst2/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/lib/wal/inst2/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/log/inst1/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/log/inst1/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/multi/var/log/inst2/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/multi/var/log/inst2/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/script.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/single/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/single/var/lib/memtx/single/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/single/var/lib/memtx/single/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/single/var/lib/vinyl/single/test.vinyl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/single/var/lib/vinyl/single/test.vinyl -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/single/var/lib/wal/single/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/single/var/lib/wal/single/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/single/var/log/single/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/single/var/log/single/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/single/var/run/single/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_different_dirs/single/var/run/single/tt.pid -------------------------------------------------------------------------------- /cli/pack/testdata/env_different_dirs/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: instances.enabled 5 | tarantoolctl_layout: false 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib/wal 10 | memtx_dir: var/lib/memtx 11 | vinyl_dir: var/lib/vinyl 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/bin/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/bin/.gitkeep -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/instances.enabled/multi: -------------------------------------------------------------------------------- 1 | ../multi/ -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/instances.enabled/script_app.lua: -------------------------------------------------------------------------------- 1 | ../script.lua -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/instances.enabled/single: -------------------------------------------------------------------------------- 1 | ../single/ -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/modules/test_ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/modules/test_ext -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/instances.yaml: -------------------------------------------------------------------------------- 1 | inst1: 2 | 3 | inst2: 4 | 5 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst1/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst1/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst1/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst1/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst2/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst2/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst2/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/lib/inst2/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/log/inst1/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/log/inst1/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/log/inst2/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/log/inst2/tt.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/run/inst1/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/run/inst1/tt.pid -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/multi/var/run/inst2/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/multi/var/run/inst2/tt.pid -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/script.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/single/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: instances.enabled 5 | tarantoolctl_layout: true 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib 10 | memtx_dir: var/lib 11 | vinyl_dir: var/lib 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/lib/script_app/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/lib/script_app/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/lib/script_app/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/lib/script_app/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/lib/single/00000000000000000000.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/lib/single/00000000000000000000.snap -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/lib/single/00000000000000000000.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/lib/single/00000000000000000000.xlog -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/log/script_app.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/log/script_app.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/log/single.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/log/single.log -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/run/script_app.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/run/script_app.pid -------------------------------------------------------------------------------- /cli/pack/testdata/env_tntctl_layout/var/run/single.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/env_tntctl_layout/var/run/single.pid -------------------------------------------------------------------------------- /cli/pack/testdata/fully-defined-params.yaml: -------------------------------------------------------------------------------- 1 | TT: /usr/bin/tt 2 | ConfigPath: /path/cfg 3 | AppName: TntService 4 | FdLimit: 2048 5 | -------------------------------------------------------------------------------- /cli/pack/testdata/only_one_app_buildable/app1/app1-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'app1' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here 7 | dependencies = { 8 | 'tarantool', 9 | 'lua >= 5.1', 10 | } 11 | build = { 12 | type = 'none'; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /cli/pack/testdata/only_one_app_buildable/app1/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/only_one_app_buildable/app1/init.lua -------------------------------------------------------------------------------- /cli/pack/testdata/only_one_app_buildable/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/only_one_app_buildable/app2/init.lua -------------------------------------------------------------------------------- /cli/pack/testdata/only_one_app_buildable/instances.enabled/app1: -------------------------------------------------------------------------------- 1 | ../app1 -------------------------------------------------------------------------------- /cli/pack/testdata/only_one_app_buildable/instances.enabled/app2: -------------------------------------------------------------------------------- 1 | ../app2 -------------------------------------------------------------------------------- /cli/pack/testdata/only_one_app_buildable/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances.enabled 3 | -------------------------------------------------------------------------------- /cli/pack/testdata/partly-defined-params.yaml: -------------------------------------------------------------------------------- 1 | FdLimit: 2048 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/bin/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/single_app/bin/tarantool -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/single_app-0.1.0.0-1.x86_64.rpm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/single_app/single_app-0.1.0.0-1.x86_64.rpm -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/single_app-0.1.0.0.x86_64.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/single_app/single_app-0.1.0.0.x86_64.tar.gz -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/single_app-0.1.0.0.x86_64.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/single_app/single_app-0.1.0.0.x86_64.zip -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/single_app_0.1.0.0-1_x86_64.deb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/single_app/single_app_0.1.0.0-1_x86_64.deb -------------------------------------------------------------------------------- /cli/pack/testdata/single_app/tt.yml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: . 5 | tarantoolctl_layout: false 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib 10 | memtx_dir: var/lib 11 | vinyl_dir: var/lib 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/single_app_no_binaries/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/single_app_no_binaries/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: . 5 | tarantoolctl_layout: false 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib 10 | memtx_dir: var/lib 11 | vinyl_dir: var/lib 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/single_app_no_modules/bin/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/pack/testdata/single_app_no_modules/bin/tarantool -------------------------------------------------------------------------------- /cli/pack/testdata/single_app_no_modules/init.lua: -------------------------------------------------------------------------------- 1 | box.cfg{} 2 | -------------------------------------------------------------------------------- /cli/pack/testdata/single_app_no_modules/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | inc_dir: include 4 | instances_enabled: . 5 | tarantoolctl_layout: false 6 | app: 7 | run_dir: var/run 8 | log_dir: var/log 9 | wal_dir: var/lib 10 | memtx_dir: var/lib 11 | vinyl_dir: var/lib 12 | -------------------------------------------------------------------------------- /cli/pack/testdata/unit-params-with-env.yml: -------------------------------------------------------------------------------- 1 | FdLimit: 2048 2 | instance-env: 3 | INST: "%i" 4 | TARANTOOL_WORKDIR: "/tmp" 5 | -------------------------------------------------------------------------------- /cli/replicaset/cmd/lua/upgrade.lua: -------------------------------------------------------------------------------- 1 | local ok, err = pcall(box.schema.upgrade) 2 | if ok then 3 | ok, err = pcall(box.snapshot) 4 | end 5 | 6 | return { 7 | lsn = box.info.lsn, 8 | iid = box.info.id, 9 | err = (not ok) and tostring(err) or nil, 10 | } 11 | -------------------------------------------------------------------------------- /cli/replicaset/lua/cartridge/edit_instances_body.lua: -------------------------------------------------------------------------------- 1 | local cartridge = require('cartridge') 2 | local servers = ... 3 | 4 | local res, err = cartridge.admin_edit_topology({ 5 | servers = servers, 6 | }) 7 | 8 | assert(res, tostring(err)) 9 | -------------------------------------------------------------------------------- /cli/replicaset/lua/cartridge/edit_replicasets_body.lua: -------------------------------------------------------------------------------- 1 | local cartridge = require('cartridge') 2 | local replicasets = ... 3 | 4 | local res, err = cartridge.admin_edit_topology({ 5 | replicasets = replicasets 6 | }) 7 | 8 | assert(res, tostring(err)) 9 | -------------------------------------------------------------------------------- /cli/replicaset/lua/cartridge/failover_promote_body.lua: -------------------------------------------------------------------------------- 1 | local cartridge = require('cartridge') 2 | 3 | local opts = ... 4 | cartridge.failover_promote(opts.replicaset_leaders, { 5 | force_inconsistency = opts.force_inconsistency, 6 | skip_error_on_change = opts.skip_error_on_change, 7 | }) 8 | -------------------------------------------------------------------------------- /cli/replicaset/lua/wait_ro.lua: -------------------------------------------------------------------------------- 1 | local timeout = ... 2 | box.ctl.wait_ro(timeout) 3 | -------------------------------------------------------------------------------- /cli/replicaset/lua/wait_rw.lua: -------------------------------------------------------------------------------- 1 | local timeout = ... 2 | box.ctl.wait_rw(timeout) 3 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/lexi_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | hot_standby: true 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/lexi_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/lexi_order/c.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | txn_isolation: read-commited 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/lexi_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | hot_standby: true 10 | mode: ro 11 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/priority_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/priority_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | txn_isolation: read-commited 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/many_keys/priority_order/c.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | use_mvcc_engine: true 11 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/single_key/off_default_init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | checkpoint_interval: 7200 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/single_key/off_expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: ro 10 | replication: 11 | failover: "off" 12 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/demote/single_key/off_init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | replication: 11 | failover: "off" 12 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/manual_priority_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | replication: 9 | failover: manual 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/manual_priority_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-001 9 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/manual_priority_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-002 9 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_lexi_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_lexi_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: 7 | database: 8 | mode: rw # Does not affect the choice. 9 | instance-002: {} 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_lexi_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_priority_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_priority_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: {} 8 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_priority_order/c.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: 8 | mode: ro 9 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_priority_order/d.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-003: {} 7 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/many_keys/off_priority_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: 8 | mode: rw 9 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/single_key/manual_expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-002 9 | replication: 10 | failover: manual 11 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/single_key/manual_init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-001 9 | replication: 10 | failover: manual 11 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/single_key/off_default_expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/single_key/off_default_init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/single_key/off_explicit_init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | replication: 9 | failover: "off" 10 | -------------------------------------------------------------------------------- /cli/replicaset/testdata/cconfig_source/promote/single_key/off_multi_master_init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: 7 | database: 8 | mode: rw 9 | instance-002: {} 10 | -------------------------------------------------------------------------------- /cli/rocks/completions/bash_injection: -------------------------------------------------------------------------------- 1 | if [[ ${#words[@]} -ge 3 && ${words[1]} = "rocks" && ${words[2]} = "admin" ]]; then 2 | _luarocks-admin 3 | return 4 | fi 5 | 6 | if [[ ${#words[@]} -ge 2 && ${words[1]} = "rocks" ]]; then 7 | _rocks 8 | return 9 | fi 10 | 11 | -------------------------------------------------------------------------------- /cli/rocks/testdata/repo/manifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/rocks/testdata/repo/manifest -------------------------------------------------------------------------------- /cli/running/test_app/dumb_test_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | fio.open(os.getenv('started_flag_file'), 'O_CREAT'):close() 5 | 6 | box.cfg{} 7 | -------------------------------------------------------------------------------- /cli/running/test_app/log_check_test_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | print("Check Log.") 5 | 6 | fio.open(os.getenv('started_flag_file'), 'O_CREAT'):close() 7 | 8 | while true do 9 | fiber.sleep(5) 10 | end 11 | -------------------------------------------------------------------------------- /cli/running/testdata/app1/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/running/testdata/app1/init.lua -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/cluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | instance-001: 2 | instance-002: 3 | instance-003: 4 | -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/config_load/instances.yml: -------------------------------------------------------------------------------- 1 | instance-001: 2 | instance-002: 3 | instance-003: 4 | -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/multi_inst_app/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/running/testdata/instances_enabled/multi_inst_app/init.lua -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/multi_inst_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master1: 4 | 5 | multi_inst_app-stateboard: 6 | -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/multi_inst_app/router.init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/running/testdata/instances_enabled/multi_inst_app/router.init.lua -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/multi_inst_app/stateboard.init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/running/testdata/instances_enabled/multi_inst_app/stateboard.init.lua -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/script.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/running/testdata/instances_enabled/script.lua -------------------------------------------------------------------------------- /cli/running/testdata/instances_enabled/single_inst/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/running/testdata/instances_enabled/single_inst/init.lua -------------------------------------------------------------------------------- /cli/search/testdata/test_repo.tar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/search/testdata/test_repo.tar -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.8.4 -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tarantool-ee_2.8.4-0-r510: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tarantool-ee_2.8.4-0-r510 -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tarantool_2.10.8-entrypoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tarantool_2.10.8-entrypoint -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tarantool_2.8.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tarantool_2.8.4 -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tarantool_3.0.0-entrypoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tarantool_3.0.0-entrypoint -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tarantool_3.0.1/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tarantool_3.0.1/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tt: -------------------------------------------------------------------------------- 1 | tt_0.1.0 -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tt_0.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tt_0.1.0 -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_basic/tt_2.0.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_basic/tt_2.0.0 -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_dev/tarantool: -------------------------------------------------------------------------------- 1 | ../tarantool -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_hash/tarantool_aaaaaaa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_hash/tarantool_aaaaaaa -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_hash/tarantool_bbbbbbb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_hash/tarantool_bbbbbbb -------------------------------------------------------------------------------- /cli/uninstall/testdata/bin_hash/tarantool_fffffff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/bin_hash/tarantool_fffffff -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_basic/tarantool-ee_2.8.4-0-r510/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_basic/tarantool-ee_2.8.4-0-r510/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_basic/tarantool_2.10.8-entrypoint/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_basic/tarantool_2.10.8-entrypoint/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_basic/tarantool_2.8.4/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_basic/tarantool_2.8.4/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_basic/tarantool_3.0.0-entrypoint/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_basic/tarantool_3.0.0-entrypoint/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_basic/tarantool_3.0.1/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_basic/tarantool_3.0.1/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_hash/tarantool_aaaaaaa/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_hash/tarantool_aaaaaaa/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_hash/tarantool_bbbbbbb/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_hash/tarantool_bbbbbbb/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_hash/tarantool_fffffff/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_hash/tarantool_fffffff/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_invalid/tarantool-ee_2.8.4-0-r510/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_invalid/tarantool-ee_2.8.4-0-r510/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_invalid/tarantool_2.8.4/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_invalid/tarantool_2.8.4/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_invalid_hash/tarantool_bbbbbbb/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_invalid_hash/tarantool_bbbbbbb/.gitkeep -------------------------------------------------------------------------------- /cli/uninstall/testdata/inc_invalid_hash/tarantool_fffffff/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/uninstall/testdata/inc_invalid_hash/tarantool_fffffff/.gitkeep -------------------------------------------------------------------------------- /cli/util/color.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "github.com/mgutz/ansi" 4 | 5 | var ( 6 | bold = ansi.ColorFunc("default+b") 7 | ) 8 | 9 | // Bold makes the input string bold. 10 | func Bold(s string) string { 11 | return bold(s) 12 | } 13 | -------------------------------------------------------------------------------- /cli/util/errors.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "errors" 4 | 5 | var ( 6 | // ErrCmdAbort is reported when user aborts the program. 7 | ErrCmdAbort = errors.New("aborted by user") 8 | ) 9 | -------------------------------------------------------------------------------- /cli/util/testdata/arch.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/cli/util/testdata/arch.tgz -------------------------------------------------------------------------------- /cli/util/testdata/bad.yml: -------------------------------------------------------------------------------- 1 | ---!!! 2 | -------------------------------------------------------------------------------- /cli/util/testdata/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | path: filename 7 | -------------------------------------------------------------------------------- /doc/images/macOS_error.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/doc/images/macOS_error.jpeg -------------------------------------------------------------------------------- /doc/images/macOS_settings.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/doc/images/macOS_settings.jpeg -------------------------------------------------------------------------------- /lib/cluster/generate.go: -------------------------------------------------------------------------------- 1 | package cluster 2 | 3 | //go:generate ./paths_generate.lua 4 | //go:generate goimports -w paths.go 5 | -------------------------------------------------------------------------------- /lib/cluster/publisher.go: -------------------------------------------------------------------------------- 1 | package cluster 2 | 3 | // ConfigPublisher interface must be implemented by a config publisher. 4 | type ConfigPublisher interface { 5 | // Publish publisher the configuration or returns an error. 6 | Publish(config *Config) error 7 | } 8 | -------------------------------------------------------------------------------- /lib/cluster/testdata/init.lua: -------------------------------------------------------------------------------- 1 | fiber = require('fiber') 2 | 3 | while box.info.ro do 4 | fiber.sleep(1) 5 | end 6 | 7 | box.cfg{ listen = 3301 } -------------------------------------------------------------------------------- /lib/cluster/testdata/invalid.yaml: -------------------------------------------------------------------------------- 1 | foo: bar 2 | - zoo 3 | -------------------------------------------------------------------------------- /lib/cluster/testdata/test.yaml: -------------------------------------------------------------------------------- 1 | config: 2 | version: 3.0.0 3 | hooks: 4 | post_cfg: /foo 5 | on_state_change: /bar 6 | etcd: 7 | endpoints: 8 | - http://foo:4001 9 | - bar 10 | username: etcd 11 | password: not_a_secret 12 | -------------------------------------------------------------------------------- /lib/cluster/testdata/tls/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/lib/cluster/testdata/tls/empty -------------------------------------------------------------------------------- /lib/dial/ssl_disable.go: -------------------------------------------------------------------------------- 1 | //go:build tt_ssl_disable 2 | // +build tt_ssl_disable 3 | 4 | package dial 5 | 6 | import ( 7 | "errors" 8 | 9 | "github.com/tarantool/go-tarantool/v2" 10 | ) 11 | 12 | func ssl(opts Opts) (tarantool.Dialer, error) { 13 | return nil, errors.New("SSL support is disabled") 14 | } 15 | -------------------------------------------------------------------------------- /package/instances.available/replicaset_example_tarantool_2/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | 3 | replica: 4 | -------------------------------------------------------------------------------- /package/instances.available/replicaset_example_tarantool_3/example.lua: -------------------------------------------------------------------------------- 1 | box.once("schema", function() 2 | box.schema.space.create("example") 3 | box.space.example:create_index("primary") 4 | end) 5 | -------------------------------------------------------------------------------- /package/instances.available/replicaset_example_tarantool_3/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | 3 | replica: 4 | -------------------------------------------------------------------------------- /package/instances.available/replicaset_example_tarantool_3/secrets/replicator_password.txt: -------------------------------------------------------------------------------- 1 | password 2 | -------------------------------------------------------------------------------- /test/integration/aeon/app/init.lua: -------------------------------------------------------------------------------- 1 | return "does not matter" 2 | -------------------------------------------------------------------------------- /test/integration/aeon/app_ssl/init.lua: -------------------------------------------------------------------------------- 1 | return "does not matter" 2 | -------------------------------------------------------------------------------- /test/integration/aeon/server/.gitignore: -------------------------------------------------------------------------------- 1 | aeon 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_1.10.13 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tarantool_1.10.13: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/bin/tarantool_1.10.13 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tarantool_2.10.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/bin/tarantool_2.10.3 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tarantool_2.10.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/bin/tarantool_2.10.5 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tcm: -------------------------------------------------------------------------------- 1 | tcm_1.3.1-0-g074b5ffa -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tcm_1.2.0-11-g2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tcm_1.3.1-0-g074b5ffa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tt: -------------------------------------------------------------------------------- 1 | tt_v0.1.0 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/bin/tt_v0.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/bin/tt_v0.1.0 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | ./tarantool_1.10.13 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/inc/include/tarantool_1.10.13/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/inc/include/tarantool_1.10.13/.gitkeep -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/inc/include/tarantool_2.10.3/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/inc/include/tarantool_2.10.3/.gitkeep -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/inc/include/tarantool_2.10.5/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/active_links/inc/include/tarantool_2.10.5/.gitkeep -------------------------------------------------------------------------------- /test/integration/binaries/testdata/active_links/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "inc" 4 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.8.1 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tarantool_2.10.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/list/bin/tarantool_2.10.3 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tarantool_2.8.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/list/bin/tarantool_2.8.1 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tcm: -------------------------------------------------------------------------------- 1 | tcm_1.3.1-0-g074b5ffa -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tcm_1.2.0-11-g2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tcm_1.3.1-0-g074b5ffa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/bin/tt_v0.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/list/bin/tt_v0.1.0 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/list/tt.yaml: -------------------------------------------------------------------------------- 1 | tt: 2 | env: 3 | bin_dir: bin 4 | inc_dir: 5 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/bin/tarantool_1.10.13: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/no_active/bin/tarantool_1.10.13 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/bin/tarantool_2.10.3: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Tarantool 3.1.0-entrypoint-83-gcb0264c3c" 3 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/bin/tarantool_2.10.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/no_active/bin/tarantool_2.10.5 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/bin/tcm_1.2.0-11-g2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/bin/tcm_1.3.1-0-g074b5ffa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/bin/tt_v0.1.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/no_active/bin/tt_v0.1.0 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/inc/include/tarantool_1.10.13/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/no_active/inc/include/tarantool_1.10.13/.gitkeep -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/inc/include/tarantool_2.10.3/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/no_active/inc/include/tarantool_2.10.3/.gitkeep -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/inc/include/tarantool_2.10.5/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/no_active/inc/include/tarantool_2.10.5/.gitkeep -------------------------------------------------------------------------------- /test/integration/binaries/testdata/no_active/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/binaries/testdata/tarantool_dev/bin/tarantool: -------------------------------------------------------------------------------- 1 | ../tarantool -------------------------------------------------------------------------------- /test/integration/binaries/testdata/tarantool_dev/bin/tarantool_1.10.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/tarantool_dev/bin/tarantool_1.10.0 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/tarantool_dev/bin/tarantool_2.10.7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/tarantool_dev/bin/tarantool_2.10.7 -------------------------------------------------------------------------------- /test/integration/binaries/testdata/tarantool_dev/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/binaries/testdata/tarantool_dev/tarantool -------------------------------------------------------------------------------- /test/integration/binaries/testdata/tarantool_dev/tt.yaml: -------------------------------------------------------------------------------- 1 | tt: 2 | env: 3 | bin_dir: bin 4 | inc_dir: 5 | -------------------------------------------------------------------------------- /test/integration/cat/test_file/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/cat/test_file/test.snap -------------------------------------------------------------------------------- /test/integration/cat/test_file/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/cat/test_file/test.xlog -------------------------------------------------------------------------------- /test/integration/cat/test_file/timestamp.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/cat/test_file/timestamp.snap -------------------------------------------------------------------------------- /test/integration/cat/test_file/timestamp.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/cat/test_file/timestamp.xlog -------------------------------------------------------------------------------- /test/integration/cfg/tt_cfg.yaml: -------------------------------------------------------------------------------- 1 | modules: 2 | directory: new_modules 3 | app: 4 | run_dir: /var/run 5 | log_dir: ./var/log 6 | wal_dir: lib/wal 7 | vinyl_dir: lib/vinyl 8 | memtx_dir: lib/memtx 9 | env: 10 | bin_dir: /usr/bin 11 | -------------------------------------------------------------------------------- /test/integration/check/test_app/correct_syntax.lua: -------------------------------------------------------------------------------- 1 | do 2 | a = 2 + 2 3 | end 4 | -------------------------------------------------------------------------------- /test/integration/check/test_app/incorrect_syntax.lua: -------------------------------------------------------------------------------- 1 | do 2 | a = 2 + 2 3 | --end 4 | -------------------------------------------------------------------------------- /test/integration/clean/cluster_app: -------------------------------------------------------------------------------- 1 | ../running/cluster_app -------------------------------------------------------------------------------- /test/integration/clean/multi_inst_data_app: -------------------------------------------------------------------------------- 1 | ../running/multi_inst_data_app -------------------------------------------------------------------------------- /test/integration/cluster/test_error_app/init.lua: -------------------------------------------------------------------------------- 1 | return "does not matter" 2 | -------------------------------------------------------------------------------- /test/integration/cluster/test_error_app/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | 3 | -------------------------------------------------------------------------------- /test/integration/cluster/test_simple_app/init.lua: -------------------------------------------------------------------------------- 1 | return "does not matter" 2 | -------------------------------------------------------------------------------- /test/integration/cluster/test_simple_app/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | 3 | storage: 4 | 5 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/key_specified/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: 8 | mode: ro 9 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/key_specified/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: {} 8 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/key_specified/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: 8 | mode: rw 9 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/manual_priority_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | replication: 9 | failover: manual 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/manual_priority_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-001 9 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/manual_priority_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-002 9 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/no_instance/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/no_instance/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-003: {} 7 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/no_instance/c.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-004: {} 7 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_lexi_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_lexi_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: 7 | database: 8 | mode: rw # Does not affect the choice. 9 | instance-002: {} 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_lexi_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_priority_order/a.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_priority_order/b.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: {} 8 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_priority_order/c.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: 8 | mode: ro 9 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/many_keys/off_priority_order/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-002: 7 | database: 8 | mode: rw 9 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/election/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | replication: 9 | failover: election 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/manual/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-002 9 | replication: 10 | failover: manual 11 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/manual/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-001 9 | replication: 10 | failover: manual 11 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/manual_no_leader/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-002 9 | replication: 10 | failover: manual 11 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/manual_no_leader/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | leader: instance-002 9 | replication: 10 | failover: manual 11 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/no_instance/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-003: {} 8 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_default/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_default/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_explicit/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | replication: 11 | failover: "off" 12 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_explicit/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | replication: 9 | failover: "off" 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_multi/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: 7 | database: 8 | mode: rw 9 | instance-002: {} 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_no_diff/expected.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/off_no_diff/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: 8 | database: 9 | mode: rw 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testdata/promote/single_key/unknown/init.yml: -------------------------------------------------------------------------------- 1 | groups: 2 | group-001: 3 | replicasets: 4 | replicaset-001: 5 | instances: 6 | instance-001: {} 7 | instance-002: {} 8 | replication: 9 | failover: strange 10 | -------------------------------------------------------------------------------- /test/integration/cluster/testsimpleapp/init.lua: -------------------------------------------------------------------------------- 1 | return "does not matter" 2 | -------------------------------------------------------------------------------- /test/integration/cluster/testsimpleapp/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | 3 | storage: 4 | 5 | -------------------------------------------------------------------------------- /test/integration/completion/__init__.py: -------------------------------------------------------------------------------- 1 | from .conftest import HELPERS_DIR, SUPPORTED_SHELLS, Completion # noqa: F401 2 | -------------------------------------------------------------------------------- /test/integration/connect/test_file/empty.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/connect/test_file/empty.lua -------------------------------------------------------------------------------- /test/integration/connect/test_file/hello.lua: -------------------------------------------------------------------------------- 1 | return "Hello, world!" 2 | -------------------------------------------------------------------------------- /test/integration/connect/test_file/hello.sql: -------------------------------------------------------------------------------- 1 | VALUES ('hello'); 2 | -------------------------------------------------------------------------------- /test/integration/connect/test_multi_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | master: 3 | replica: 4 | -------------------------------------------------------------------------------- /test/integration/connect/test_simple_cluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | -------------------------------------------------------------------------------- /test/integration/create/templates/basic/config.lua.tt.template: -------------------------------------------------------------------------------- 1 | #! /usr/bin/env tarantool 2 | 3 | cluster_cookie = {{.cluster_cookie}} 4 | user_name = {{.user_name}} 5 | conf_path = '/etc/{{.user_name}}/conf.lua' 6 | password={{.password}} 7 | attempts={{.retry_count}} 8 | -------------------------------------------------------------------------------- /test/integration/create/templates/basic/hooks/post-gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | touch "$1/post-script-invoked" 4 | -------------------------------------------------------------------------------- /test/integration/create/templates/basic/hooks/pre-gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | touch "$1/pre-script-invoked" 4 | -------------------------------------------------------------------------------- /test/integration/create/templates/basic/tmp_config.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/create/templates/basic/tmp_config.cfg -------------------------------------------------------------------------------- /test/integration/create/templates/basic/{{.name}}.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/create/templates/basic/{{.name}}.cfg -------------------------------------------------------------------------------- /test/integration/create/templates/basic/{{.user_name}}.txt: -------------------------------------------------------------------------------- 1 | text 2 | -------------------------------------------------------------------------------- /test/integration/daemon/test_app/test_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | 3 | while true do 4 | fiber.sleep(5) 5 | end 6 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool-ee_gc64-2.11.6-0-r683 -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/bin/tarantool-ee_gc64-2.11.6-0-r683: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/bin/tarantool-ee_gc64-3.4.0-0-r60: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/include/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool-ee_gc64-2.11.6-0-r683 -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-2.11.6-0-r683/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/2vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-2.11.6-0-r683/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-3.4.0-0-r60/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/2vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-3.4.0-0-r60/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tarantool-ee/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "include" 4 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tcm/bin/tcm: -------------------------------------------------------------------------------- 1 | tcm_1.3.1-0-g074b5ffa -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tcm/bin/tcm_1.2.0-11-g2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tcm/bin/tcm_1.3.1-0-g074b5ffa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed/tcm/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "include" 4 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/bin/tarantool-ee_gc64-2.11.6-0-r683: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/bin/tarantool-ee_gc64-3.4.0-0-r60: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/include/include/tarantool-ee_gc64-2.11.6-0-r683/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/include/include/tarantool-ee_gc64-2.11.6-0-r683/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/include/include/tarantool-ee_gc64-3.4.0-0-r60/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/include/include/tarantool-ee_gc64-3.4.0-0-r60/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tarantool-ee/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "include" 4 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tcm/bin/tcm_1.2.0-11-g2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tcm/bin/tcm_1.3.1-0-g074b5ffa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/2vers_installed_no_active/tcm/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "include" 4 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool-ee_gc64-2.11.6-0-r683 -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/bin/tarantool-ee_gc64-2.11.6-0-r683: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/bin/tarantool-ee_gc64-3.4.0-0-r60: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/bin/tarantool_3.5.0: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool-ee_gc64-2.11.6-0-r683 -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-2.11.6-0-r683/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-2.11.6-0-r683/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-3.4.0-0-r60/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool-ee_gc64-3.4.0-0-r60/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool_3.5.0/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/ee/testdata/3vers_installed/tarantool-ee/include/include/tarantool_3.5.0/.gitkeep -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tarantool-ee/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "include" 4 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tcm/bin/tcm: -------------------------------------------------------------------------------- 1 | tcm_1.3.1-0-g074b5ffa -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tcm/bin/tcm_1.2.0-11-g2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tcm/bin/tcm_1.3.1-0-g074b5ffa: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tcm/bin/tcm_2d0a0f495: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | -------------------------------------------------------------------------------- /test/integration/ee/testdata/3vers_installed/tcm/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "bin" 3 | inc_dir: "include" 4 | -------------------------------------------------------------------------------- /test/integration/init/apps/multi_inst_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | -------------------------------------------------------------------------------- /test/integration/init/configs/tarantoolctl.lua: -------------------------------------------------------------------------------- 1 | default_cfg = { 2 | pid_file = "/opt/run", 3 | wal_dir = "/opt/wal", 4 | snap_dir = "/opt/snap", 5 | vinyl_dir = "/opt/vinyl", 6 | logger = "/opt/log", 7 | } 8 | -------------------------------------------------------------------------------- /test/integration/init/configs/valid_cartridge.yml: -------------------------------------------------------------------------------- 1 | log-dir: my_log_dir 2 | run-dir: my_run_dir 3 | data-dir: my_data_dir 4 | 5 | stateboard: true 6 | -------------------------------------------------------------------------------- /test/integration/install/testdata/build_ce/src/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_ce/src/tarantool -------------------------------------------------------------------------------- /test/integration/install/testdata/build_ce/tarantool-prefix/include/tarantool/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_ce/tarantool-prefix/include/tarantool/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/build_ee/custom_include/tarantool/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_ee/custom_include/tarantool/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/build_ee/tarantool/src/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_ee/tarantool/src/tarantool -------------------------------------------------------------------------------- /test/integration/install/testdata/build_invalid/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_invalid/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/build_invalid2/src/tarantool/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_invalid2/src/tarantool/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/build_static/tarantool-prefix/bin/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_static/tarantool-prefix/bin/tarantool -------------------------------------------------------------------------------- /test/integration/install/testdata/build_static/tarantool-prefix/include/tarantool/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/build_static/tarantool-prefix/include/tarantool/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.10.5 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool_1.10.13: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool_1.10.13 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool_2.10.3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool_2.10.3 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool_2.10.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tarantool_already_exists/tt/bin/tarantool_2.10.5 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.10.5 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool_1.10.13/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool_1.10.13/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool_2.10.3/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool_2.10.3/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool_2.10.5/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tarantool_already_exists/tt/inc/include/tarantool_2.10.5/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tarantool_already_exists/tt/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.1 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.2 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.4 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/test_install_tt_already_exists/tt/bin/tt_v1.1.5 -------------------------------------------------------------------------------- /test/integration/install/testdata/test_install_tt_already_exists/tt/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.10.8 -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/bin/tarantool_1.10.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_basic/bin/tarantool_1.10.0 -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/bin/tarantool_2.10.8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_basic/bin/tarantool_2.10.8 -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.10.8/ -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/inc/include/tarantool_1.10.0/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_basic/inc/include/tarantool_1.10.0/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/inc/include/tarantool_2.10.8/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_basic/inc/include/tarantool_2.10.8/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_basic/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_empty/bin/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_empty/bin/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_empty/inc/include/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_empty/inc/include/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_empty/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_invalid/bin/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_invalid/bin/tarantool -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_invalid/inc/include/tarantool/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/install/testdata/tt_invalid/inc/include/tarantool/.gitkeep -------------------------------------------------------------------------------- /test/integration/install/testdata/tt_invalid/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/instances/multi_app/app1/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | -------------------------------------------------------------------------------- /test/integration/instances/multi_app/app2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/instances/multi_app/app2.lua -------------------------------------------------------------------------------- /test/integration/instances/multi_app/instances_enabled/app1: -------------------------------------------------------------------------------- 1 | ../app1 -------------------------------------------------------------------------------- /test/integration/instances/multi_app/instances_enabled/app2.lua: -------------------------------------------------------------------------------- 1 | ../app2.lua -------------------------------------------------------------------------------- /test/integration/instances/multi_app/tarantool.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances_enabled 3 | -------------------------------------------------------------------------------- /test/integration/kill/cluster_app: -------------------------------------------------------------------------------- 1 | ../running/cluster_app -------------------------------------------------------------------------------- /test/integration/kill/multi_inst_app: -------------------------------------------------------------------------------- 1 | ../running/multi_inst_app -------------------------------------------------------------------------------- /test/integration/logrotate/cluster_app: -------------------------------------------------------------------------------- 1 | ../running/cluster_app -------------------------------------------------------------------------------- /test/integration/logrotate/multi_inst_app: -------------------------------------------------------------------------------- 1 | ../running/multi_inst_app -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/app2-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'app2' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here 7 | dependencies = { 8 | 'tarantool', 9 | 'lua >= 5.1', 10 | } 11 | build = { 12 | type = 'none'; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/instances.yaml: -------------------------------------------------------------------------------- 1 | inst1: 2 | 3 | inst2: 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/lib/inst1/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/lib/inst1/test.snap -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/lib/inst1/test.vylog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/lib/inst1/test.vylog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/lib/inst1/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/lib/inst1/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/lib/inst2/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/lib/inst2/test.snap -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/lib/inst2/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/lib/inst2/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/log/inst1/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/log/inst1/test.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/log/inst2/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/log/inst2/test.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/run/inst1/app.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/run/inst1/app.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/app2/var/run/inst2/app2.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/app2/var/run/inst2/app2.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/instances_enabled/app1.lua: -------------------------------------------------------------------------------- 1 | ../app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/instances_enabled/app1/var/lib/app1/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/instances_enabled/app1/var/lib/app1/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/instances_enabled/app1/var/log/app1/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/instances_enabled/app1/var/log/app1/test.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/instances_enabled/app1/var/run/app1/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle1/instances_enabled/app1/var/run/app1/tt.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/instances_enabled/app2: -------------------------------------------------------------------------------- 1 | ../app2 -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/modules/ext_mod/command.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Hello from external module" 3 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle1/modules/ext_mod/manifest.yml: -------------------------------------------------------------------------------- 1 | version: 1.2.3 2 | main: command.sh 3 | help: Help for the ext_mod module 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/bin/tarantool_bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/bin/tarantool_bin -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/bin/tt_bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/bin/tt_bin -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/empty_app/dummy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/empty_app/dummy.txt -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/instances_enabled/empty_app: -------------------------------------------------------------------------------- 1 | ../empty_app -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | restart_on_failure: true 3 | instances_enabled: instances_enabled 4 | bin_dir: bin 5 | app: 6 | run_dir: var/run 7 | log_dir: var/log 8 | wal_dir: var/lib 9 | vinyl_dir: var/lib 10 | memtx_dir: var/lib 11 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/lib/app1/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/lib/app1/test.snap -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/lib/app1/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/lib/app1/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/lib/app2/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/lib/app2/test.snap -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/lib/app2/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/lib/app2/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/log/app1/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/log/app1/test.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/log/app2/test.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/log/app2/test.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/run/app1/app.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/run/app1/app.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle2/var/run/app2/app2.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle2/var/run/app2/app2.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle3/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: generated_dir 3 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle4/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/bin/tarantool_bin: -------------------------------------------------------------------------------- 1 | ../tarantool_src -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/bin/tcm_bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle4/bin/tcm_bin -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/bin/tt_bin: -------------------------------------------------------------------------------- 1 | ../tt_src -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/instances_enabled/app.lua: -------------------------------------------------------------------------------- 1 | ../app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/tarantool_src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle4/tarantool_src -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: bin 3 | instances_enabled: instances_enabled 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle4/tt_src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle4/tt_src -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle5/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle5/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle5/tt.yaml: -------------------------------------------------------------------------------- 1 | tt: 2 | modules: 3 | directory: modules 4 | app: 5 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle6/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle6/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle6/instances.enabled/app.lua: -------------------------------------------------------------------------------- 1 | ../app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle6/instances.enabled/app/var/lib/memtx_custom/app/artifact_memtx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle6/instances.enabled/app/var/lib/memtx_custom/app/artifact_memtx -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle6/instances.enabled/app/var/lib/vinyl_custom/app/artifact_vinyl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle6/instances.enabled/app/var/lib/vinyl_custom/app/artifact_vinyl -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle6/instances.enabled/app/var/lib/wal_custom/app/artifact_wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle6/instances.enabled/app/var/lib/wal_custom/app/artifact_wal -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle6/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances.enabled 3 | app: 4 | wal_dir: var/lib/wal_custom 5 | memtx_dir: var/lib/memtx_custom 6 | vinyl_dir: var/lib/vinyl_custom 7 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle7/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle7/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle7/instances.enabled/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle7/instances.enabled/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle7/instances.enabled/app/var/lib/app/artifact_vinyl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle7/instances.enabled/app/var/lib/app/artifact_vinyl -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle7/instances.enabled/app/var/lib/app/artifact_wal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle7/instances.enabled/app/var/lib/app/artifact_wal -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle7/instances.enabled/app/var/lib/memtx_custom/app/artifact_memtx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle7/instances.enabled/app/var/lib/memtx_custom/app/artifact_memtx -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle7/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances.enabled 3 | app: 4 | wal_dir: var/lib 5 | vinyl_dir: var/lib 6 | memtx_dir: var/lib/memtx_custom 7 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle8/app_name/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle8/app_name/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle8/instances_enabled/app_name: -------------------------------------------------------------------------------- 1 | ../app_name -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle8/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances_enabled 3 | restart_on_failure: true 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle9/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle9/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle9/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: . 3 | restart_on_failure: true 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/lib/memtx/app2/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/lib/memtx/app2/test.snap -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/lib/vinyl/app2/test.vylog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/lib/vinyl/app2/test.vylog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/lib/wal/app2/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/lib/wal/app2/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/log/app2/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/log/app2/tt.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/run/app2/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/app2/var/run/app2/tt.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1.lua: -------------------------------------------------------------------------------- 1 | ../app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/lib/memtx/app1/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/lib/memtx/app1/test.snap -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/lib/vinyl/app1/test.vylog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/lib/vinyl/app1/test.vylog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/lib/wal/app1/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/lib/wal/app1/test.xlog -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/log/app1/tt.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/log/app1/tt.log -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/run/app1/tt.pid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app1/var/run/app1/tt.pid -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/instances_enabled/app2: -------------------------------------------------------------------------------- 1 | ../app2 -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_different_data_dirs/modules/test_module.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_different_data_dirs/modules/test_module.txt -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/app.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/app.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/app2/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app1.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app1.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/.github: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/.github -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/.gitignore -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/.gitmodules -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/instances_enabled/app2/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/modules/test_module.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/bundle_with_git_files/modules/test_module.txt -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/bundle_with_git_files/tt.yaml: -------------------------------------------------------------------------------- 1 | modules: 2 | directory: modules 3 | env: 4 | instances_enabled: instances_enabled 5 | restart_on_failure: true 6 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/app/roles/custom.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/cartridge_app/app/roles/custom.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/bin/tarantool_bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/cartridge_app/bin/tarantool_bin -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/bin/tt_bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/cartridge_app/bin/tt_bin -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/failover.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/cartridge_app/failover.yml -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/cartridge_app/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/myapp-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'myapp' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here 7 | dependencies = { 8 | 'tarantool', 9 | 'lua >= 5.1', 10 | } 11 | build = { 12 | type = 'none'; 13 | } 14 | 15 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/replicasets.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/cartridge_app/replicasets.yml -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/cartridge_app/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: . 3 | bin_dir: bin 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/ext_modules/ext_mod2/command.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "Hello from external module" 3 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/ext_modules/ext_mod2/manifest.yml: -------------------------------------------------------------------------------- 1 | version: 1.2.3 2 | main: command.sh 3 | help: Help for the ext_mod module 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/single_app/config.yaml: -------------------------------------------------------------------------------- 1 | groups: 2 | group001: 3 | replicasets: 4 | replicaset001: 5 | instances: 6 | instance001: 7 | iproto: 8 | listen: 9 | - uri: '127.0.0.1:3301' 10 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/single_app/instances.yml: -------------------------------------------------------------------------------- 1 | instance001: 2 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/single_app/tt.yml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: . 3 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/app1/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/systemd_params/app1/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/app1/instances.yaml: -------------------------------------------------------------------------------- 1 | inst1: 2 | 3 | inst2: 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/app2/init.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/pack/test_bundles/systemd_params/app2/init.lua -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/app2/instances.yaml: -------------------------------------------------------------------------------- 1 | inst1: 2 | 3 | inst2: 4 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/app2/systemd-unit-params.yml: -------------------------------------------------------------------------------- 1 | FdLimit: 100 2 | instance-env: 3 | INSTANCE: "inst" 4 | TARANTOOL_WORKDIR: "/tmp/workdir" 5 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/instances_enabled/app1: -------------------------------------------------------------------------------- 1 | ../app1 -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/instances_enabled/app2: -------------------------------------------------------------------------------- 1 | ../app2 -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/params.yml: -------------------------------------------------------------------------------- 1 | FdLimit: 200 2 | instance-env: 3 | INSTANCE: "inst:%i" 4 | TARANTOOL_WORKDIR: "/tmp" 5 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/systemd_params/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances_enabled 3 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/vshard_app/instances.enabled/test_app: -------------------------------------------------------------------------------- 1 | ../test_app -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/vshard_app/test_app/instances.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | storage-001-a: 3 | 4 | storage-001-b: 5 | 6 | storage-002-a: 7 | 8 | storage-002-b: 9 | 10 | router-001-a: 11 | 12 | -------------------------------------------------------------------------------- /test/integration/pack/test_bundles/vshard_app/test_app/test_app-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'test_app' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | dependencies = { 7 | 'vshard == 0.1.25' 8 | } 9 | build = { 10 | type = 'none'; 11 | } 12 | -------------------------------------------------------------------------------- /test/integration/play/test_file/config.yml: -------------------------------------------------------------------------------- 1 | app: 2 | file: 'test_app.lua' 3 | 4 | groups: 5 | group001: 6 | replicasets: 7 | replicaset001: 8 | instances: 9 | instance001: 10 | iproto: 11 | listen: 12 | - uri: '127.0.0.1:3301' 13 | -------------------------------------------------------------------------------- /test/integration/play/test_file/create_space.lua: -------------------------------------------------------------------------------- 1 | box.schema.space.create('test', { id = 512 }) 2 | 3 | return box.space.test:create_index('0') 4 | -------------------------------------------------------------------------------- /test/integration/play/test_file/empty.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/play/test_file/empty.lua -------------------------------------------------------------------------------- /test/integration/play/test_file/get_data.lua: -------------------------------------------------------------------------------- 1 | return box.space.test:select() 2 | -------------------------------------------------------------------------------- /test/integration/play/test_file/instances.yml: -------------------------------------------------------------------------------- 1 | instance001: 2 | -------------------------------------------------------------------------------- /test/integration/play/test_file/test.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/play/test_file/test.snap -------------------------------------------------------------------------------- /test/integration/play/test_file/test.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/play/test_file/test.xlog -------------------------------------------------------------------------------- /test/integration/play/test_file/timestamp/timestamp.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/play/test_file/timestamp/timestamp.snap -------------------------------------------------------------------------------- /test/integration/play/test_file/timestamp/timestamp.xlog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/play/test_file/timestamp/timestamp.xlog -------------------------------------------------------------------------------- /test/integration/play/test_simple_cluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | -------------------------------------------------------------------------------- /test/integration/replicaset/cluster_app_failovers/instances.yml: -------------------------------------------------------------------------------- 1 | off-failover-1: 2 | 3 | off-failover-2: 4 | 5 | manual-failover-1: 6 | 7 | manual-failover-2: 8 | 9 | election-failover-1: 10 | 11 | election-failover-2: 12 | -------------------------------------------------------------------------------- /test/integration/replicaset/single-t2-app/init.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | box.cfg({}) 5 | 6 | fh = fio.open('ready', {'O_WRONLY', 'O_CREAT'}, tonumber('644',8)) 7 | fh:close() 8 | 9 | while true do 10 | fiber.sleep(5) 11 | end 12 | -------------------------------------------------------------------------------- /test/integration/replicaset/single-t2-app/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: . 3 | 4 | default: 5 | app: 6 | dir: . 7 | file: init.lua 8 | memtx_dir: ./ 9 | wal_dir: ./ 10 | -------------------------------------------------------------------------------- /test/integration/replicaset/small_cluster_app/init.lua: -------------------------------------------------------------------------------- 1 | local fio = require('fio') 2 | 3 | fh = fio.open('ready-' .. box.info.name, {'O_WRONLY', 'O_CREAT'}, tonumber('644',8)) 4 | fh:close() 5 | -------------------------------------------------------------------------------- /test/integration/replicaset/small_cluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | storage-master: 2 | 3 | storage-replica: 4 | 5 | -------------------------------------------------------------------------------- /test/integration/replicaset/test_ccluster_app/greeter.lua: -------------------------------------------------------------------------------- 1 | -- greeter.lua -- 2 | return { 3 | validate = function() end, 4 | apply = function() require('log').info("Hi from the 'greeter' role!") end, 5 | stop = function() end, 6 | } 7 | -------------------------------------------------------------------------------- /test/integration/replicaset/test_ccluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | instance-001: 2 | 3 | instance-002: 4 | 5 | instance-003: 6 | 7 | instance-004: 8 | 9 | instance-005: 10 | 11 | -------------------------------------------------------------------------------- /test/integration/replicaset/test_custom_app/init.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | box.cfg({}) 5 | 6 | fh = fio.open('ready', {'O_WRONLY', 'O_CREAT'}, tonumber('644',8)) 7 | fh:close() 8 | 9 | while true do 10 | fiber.sleep(5) 11 | end 12 | -------------------------------------------------------------------------------- /test/integration/replicaset/test_vshard_app/instances.yaml: -------------------------------------------------------------------------------- 1 | storage-001-a: 2 | 3 | storage-001-b: 4 | 5 | storage-002-a: 6 | 7 | storage-002-b: 8 | 9 | router-001-a: 10 | -------------------------------------------------------------------------------- /test/integration/replicaset/test_vshard_app_timeout/instances.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | storage-001-a: 3 | 4 | storage-001-b: 5 | 6 | storage-002-a: 7 | 8 | storage-002-b: 9 | 10 | router-001-a: 11 | 12 | -------------------------------------------------------------------------------- /test/integration/replicaset/test_vshard_app_timeout/vshard_app-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'vshard_app' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | dependencies = { 7 | 'vshard == 0.1.25' 8 | } 9 | build = { 10 | type = 'none'; 11 | } 12 | -------------------------------------------------------------------------------- /test/integration/restart/cluster_app: -------------------------------------------------------------------------------- 1 | ../running/cluster_app -------------------------------------------------------------------------------- /test/integration/restart/multi_app/app1/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | -------------------------------------------------------------------------------- /test/integration/restart/multi_app/app2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/restart/multi_app/app2.lua -------------------------------------------------------------------------------- /test/integration/restart/multi_app/instances_enabled/app1/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | -------------------------------------------------------------------------------- /test/integration/restart/multi_app/instances_enabled/app2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/restart/multi_app/instances_enabled/app2.lua -------------------------------------------------------------------------------- /test/integration/restart/multi_app/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances_enabled 3 | -------------------------------------------------------------------------------- /test/integration/restart/multi_inst_app: -------------------------------------------------------------------------------- 1 | ../running/multi_inst_app -------------------------------------------------------------------------------- /test/integration/restart/test_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | 3 | box.cfg({}) 4 | 5 | while true do 6 | fiber.sleep(5) 7 | end 8 | -------------------------------------------------------------------------------- /test/integration/rocks/files/testapp-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'testapp' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | 7 | dependencies = { 8 | 'tarantool', 9 | 'http', 10 | } 11 | build = { 12 | type = 'none'; 13 | } 14 | -------------------------------------------------------------------------------- /test/integration/rocks/repo/manifest: -------------------------------------------------------------------------------- 1 | commands = {} 2 | modules = {} 3 | repository = { 4 | stat = { 5 | ["0.3.1-1"] = { 6 | { 7 | arch = "all" 8 | } 9 | }, 10 | ["0.3.2-1"] = { 11 | { 12 | arch = "all" 13 | } 14 | } 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /test/integration/rocks/repo/stat-0.3.1-1.all.rock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/rocks/repo/stat-0.3.1-1.all.rock -------------------------------------------------------------------------------- /test/integration/rocks/repo/stat-0.3.2-1.all.rock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/rocks/repo/stat-0.3.2-1.all.rock -------------------------------------------------------------------------------- /test/integration/run/test_app/test_app.lua: -------------------------------------------------------------------------------- 1 | print('Instance running!') 2 | -------------------------------------------------------------------------------- /test/integration/run/test_app/test_app_arg.lua: -------------------------------------------------------------------------------- 1 | print(arg[1]) 2 | -------------------------------------------------------------------------------- /test/integration/running/cluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | storage-master: 2 | 3 | storage-replica: 4 | 5 | -------------------------------------------------------------------------------- /test/integration/running/cluster_app_changed_defaults/instances.yml: -------------------------------------------------------------------------------- 1 | master: 2 | -------------------------------------------------------------------------------- /test/integration/running/cluster_crud_app/crud_app-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'crud_app' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | 7 | dependencies = { 8 | 'tarantool', 9 | 'lua >= 5.1', 10 | 'crud == 1.2.0-1' 11 | } 12 | build = { 13 | type = 'none'; 14 | } 15 | -------------------------------------------------------------------------------- /test/integration/running/cluster_crud_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | storage1: 4 | 5 | storage2: 6 | -------------------------------------------------------------------------------- /test/integration/running/multi_app/app1/instances.yml: -------------------------------------------------------------------------------- 1 | app1: 2 | cluster-cookie: cookie 3 | 4 | router: 5 | 6 | master: 7 | 8 | replica: 9 | -------------------------------------------------------------------------------- /test/integration/running/multi_app/app2.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/running/multi_app/app2.lua -------------------------------------------------------------------------------- /test/integration/running/multi_app/instances_enabled/app1: -------------------------------------------------------------------------------- 1 | ../app1 -------------------------------------------------------------------------------- /test/integration/running/multi_app/instances_enabled/app2.lua: -------------------------------------------------------------------------------- 1 | ../app2.lua -------------------------------------------------------------------------------- /test/integration/running/multi_app/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances_enabled 3 | -------------------------------------------------------------------------------- /test/integration/running/multi_inst_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | 7 | app-stateboard: 8 | -------------------------------------------------------------------------------- /test/integration/running/multi_inst_app/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: . 3 | -------------------------------------------------------------------------------- /test/integration/running/multi_inst_app_no_init/instances.enabled/mi_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | storage: 4 | 5 | -------------------------------------------------------------------------------- /test/integration/running/multi_inst_app_no_init/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: instances.enabled 3 | -------------------------------------------------------------------------------- /test/integration/running/multi_inst_data_app/instances.yml: -------------------------------------------------------------------------------- 1 | router: 2 | 3 | master: 4 | 5 | replica: 6 | 7 | app-stateboard: 8 | -------------------------------------------------------------------------------- /test/integration/running/multi_inst_data_app/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | instances_enabled: . 3 | -------------------------------------------------------------------------------- /test/integration/running/small_cluster_app/instances.yml: -------------------------------------------------------------------------------- 1 | storage-master: 2 | 3 | storage-replica: 4 | 5 | -------------------------------------------------------------------------------- /test/integration/running/test_app/test_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | fh = fio.open('flag', {'O_WRONLY', 'O_CREAT'}) 5 | if fh ~= nil then 6 | fh:close() 7 | end 8 | 9 | while true do 10 | fiber.sleep(5) 11 | end 12 | -------------------------------------------------------------------------------- /test/integration/running/test_data_app/test_data_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | box.cfg{} 5 | 6 | -- Create something to generate xlogs. 7 | box.schema.space.create('customers') 8 | 9 | while true do 10 | fiber.sleep(5) 11 | end 12 | -------------------------------------------------------------------------------- /test/integration/running/test_env_app/test_env_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | 3 | box.cfg() 4 | 5 | while true do 6 | fiber.sleep(5) 7 | end 8 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tarantool-enterprise-sdk-gc64-3.2.0-0-r40.linux.x86_64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tarantool-enterprise-sdk-gc64-3.3.1-0-r55.linux.x86_64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tarantool-enterprise-sdk-gc64-3.3.2-0-r58.linux.x86_64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tarantool-enterprise-sdk-gc64-3.3.2-0-r59.linux.x86_64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.2.0-11-g2d0a0f495.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.2.0-4-g59faf8b74.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.2.0-6-g0a82e719.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.2.1-0-gc2199e13e.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.2.3-0-geae7e7d49.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.3.0-0-g3857712a.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/distfiles.test/tcm-1.3.1-0-g074b5ffa.linux.amd64.tar.gz: -------------------------------------------------------------------------------- 1 | . 2 | -------------------------------------------------------------------------------- /test/integration/search/testdata/tt.yaml: -------------------------------------------------------------------------------- 1 | repo: 2 | # The directory where the installation files are stored has been changed 3 | # to not match the default `distfiles` of the config. 4 | distfiles: distfiles.test 5 | -------------------------------------------------------------------------------- /test/integration/start/cluster_app: -------------------------------------------------------------------------------- 1 | ../running/cluster_app -------------------------------------------------------------------------------- /test/integration/start/multi_inst_app: -------------------------------------------------------------------------------- 1 | ../running/multi_inst_app -------------------------------------------------------------------------------- /test/integration/status/single_app/init.lua: -------------------------------------------------------------------------------- 1 | local log = require('log') 2 | 3 | box.cfg{listen=3303} 4 | box.schema.user.grant('guest', 'super') 5 | 6 | box.session.on_connect(function() 7 | log.error("Connected") 8 | end) 9 | box.session.on_disconnect(function() 10 | log.error("Disconnected") 11 | end) 12 | -------------------------------------------------------------------------------- /test/integration/status/test_custom_app/init.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | local fio = require('fio') 3 | 4 | box.cfg({}) 5 | 6 | fh = fio.open('ready', {'O_WRONLY', 'O_CREAT'}, tonumber('644',8)) 7 | fh:close() 8 | 9 | while true do 10 | fiber.sleep(5) 11 | end 12 | -------------------------------------------------------------------------------- /test/integration/stop/cluster_app: -------------------------------------------------------------------------------- 1 | ../running/cluster_app -------------------------------------------------------------------------------- /test/integration/stop/multi_app: -------------------------------------------------------------------------------- 1 | ../running/multi_app -------------------------------------------------------------------------------- /test/integration/stop/multi_inst_app: -------------------------------------------------------------------------------- 1 | ../running/multi_inst_app -------------------------------------------------------------------------------- /test/integration/stop/test_app.lua: -------------------------------------------------------------------------------- 1 | local fiber = require('fiber') 2 | 3 | box.cfg({}) 4 | 5 | while true do 6 | fiber.sleep(5) 7 | end 8 | -------------------------------------------------------------------------------- /test/integration/ttbuild/apps/app1/app1-scm-1.rockspec: -------------------------------------------------------------------------------- 1 | package = 'app1' 2 | version = 'scm-1' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here. 7 | dependencies = { 8 | 'metrics == 0.13.0-1', 9 | } 10 | build = { 11 | type = 'none'; 12 | } 13 | -------------------------------------------------------------------------------- /test/integration/ttbuild/apps/app1/app1-scm-2.rockspec: -------------------------------------------------------------------------------- 1 | package = 'app1' 2 | version = 'scm-2' 3 | source = { 4 | url = '/dev/null', 5 | } 6 | -- Put any modules your app depends on here. 7 | dependencies = { 8 | 'checks == 3.1.0-1', 9 | } 10 | build = { 11 | type = 'none'; 12 | } 13 | -------------------------------------------------------------------------------- /test/integration/ttbuild/apps/cartridge_hooks/cartridge.post-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./cartridge-post-build-invoked" 3 | -------------------------------------------------------------------------------- /test/integration/ttbuild/apps/cartridge_hooks/cartridge.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./cartridge-pre-build-invoked" 3 | -------------------------------------------------------------------------------- /test/integration/ttbuild/apps/tt_hooks/tt.post-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./tt-post-build-invoked" 3 | -------------------------------------------------------------------------------- /test/integration/ttbuild/apps/tt_hooks/tt.pre-build: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | touch "./tt-pre-build-invoked" 3 | -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/bin/tarantool: -------------------------------------------------------------------------------- 1 | ../tarantool -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/bin/tarantool_2.10.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/installed/bin/tarantool_2.10.4 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | ../../tarantool_inc/ -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/inc/include/tarantool_2.10.4/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/installed/inc/include/tarantool_2.10.4/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/tarantool: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/installed/tarantool -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/tarantool_inc/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/installed/tarantool_inc/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/installed/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.10.8 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/bin/tarantool_1.10.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/not_installed/bin/tarantool_1.10.0 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/bin/tarantool_2.10.8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/not_installed/bin/tarantool_2.10.8 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_2.10.8/ -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/inc/include/tarantool_1.10.0/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/not_installed/inc/include/tarantool_1.10.0/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/inc/include/tarantool_2.10.8/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tarantool_dev/not_installed/inc/include/tarantool_2.10.8/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tarantool_dev/not_installed/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/tt_nosymlink/bin/tt_94ba971: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/tt_nosymlink/bin/tt_94ba971 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_1.10.15 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/bin/tarantool_1.10.15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch/bin/tarantool_1.10.15 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/bin/tarantool_2.10.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch/bin/tarantool_2.10.4 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/bin/tarantool_2.10.7-entrypoint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch/bin/tarantool_2.10.7-entrypoint -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_1.10.15 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool_1.10.15/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool_1.10.15/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool_2.10.4/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool_2.10.4/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool_2.10.7-entrypoint/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch/inc/include/tarantool_2.10.7-entrypoint/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/bin/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_1.10.15 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/bin/tarantool_1.10.15: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch_hash/bin/tarantool_1.10.15 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/bin/tarantool_aaaaaaa: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch_hash/bin/tarantool_aaaaaaa -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/inc/include/tarantool: -------------------------------------------------------------------------------- 1 | tarantool_1.10.15 -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/inc/include/tarantool_1.10.15/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch_hash/inc/include/tarantool_1.10.15/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/inc/include/tarantool_aaaaaaa/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tarantool/tt/4d96391361760b155c6ed58ec0f8250e070789cb/test/integration/uninstall/testdata/uninstall_switch_hash/inc/include/tarantool_aaaaaaa/.gitkeep -------------------------------------------------------------------------------- /test/integration/uninstall/testdata/uninstall_switch_hash/tt.yaml: -------------------------------------------------------------------------------- 1 | env: 2 | bin_dir: "./bin" 3 | inc_dir: "./inc" 4 | --------------------------------------------------------------------------------