Skip to content

Conversation

@elhimov
Copy link
Contributor

@elhimov elhimov commented Dec 9, 2025

Adjust API of integrity library which is common for CE/EE. It doesn't affect functionality of CE at all, but is needed to implement lack of functionality in EE.

I didn't forget about:

  • Well-written commit messages (see documentation how to write a commit message)

Related issues:

Part of TNTP-5214
Closes #1220
Closes #1221
Closes #1222
Related to tarantool/tarantool#12167

@elhimov elhimov force-pushed the elhimov/tntp-5214-failed-pack-tdb-with-integrity branch 11 times, most recently from 5a178ba to b23236e Compare December 9, 2025 17:02
// InitializeIntegrityCheck is a noop setup of integrity checking.
func InitializeIntegrityCheck(publicKeyPath, configDir string) (IntegrityCtx, error) {
func InitializeIntegrityCheck(
publicKeyPath, configDir, instancesEnabledDir string,
Copy link
Contributor

@patapenka-alexey patapenka-alexey Dec 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed with @elhimov.

@elhimov elhimov force-pushed the elhimov/tntp-5214-failed-pack-tdb-with-integrity branch 2 times, most recently from dc0f4fb to 029b780 Compare December 16, 2025 19:58
@elhimov elhimov added the full-ci Enables full ci tests label Dec 16, 2025
@elhimov elhimov force-pushed the elhimov/tntp-5214-failed-pack-tdb-with-integrity branch 7 times, most recently from 39f58b2 to 502f012 Compare December 22, 2025 14:08
Adjust API of integrity library which is common for CE/EE. It doesn't
affect functionality of CE at all, but is needed to implement lack of
functionality in EE.

Needed for TNTP-5214
@elhimov elhimov force-pushed the elhimov/tntp-5214-failed-pack-tdb-with-integrity branch 3 times, most recently from 5a53d26 to 0bea542 Compare December 22, 2025 21:07
follow-up 331436c applying the approach introduced in 97f88ec

`lib/dial` is used instead of `tls-dialer` because the latter depends on
OpenSSL c-library and thus tt-executable requires `libssl.so`.

Certain version of the SSL library `tt` will require depends on the
build environment and if a target system don't have it, executable will
fail to launch. This exact problem is reproduced for example when one
tries to install `tarantool` using docker like:

$ tt install tarantool --use-docker

Docker image used internally by `tt` based on Ubuntu 18.04 and have SSL
of version 1 onboard while modern environment use SSL of version 3, so
the mentioned command fails in any modern environment.

Closes #1220
Prior to this patch integration test `test_install_tarantool_in_docker`
checked doesn't specify tarantool version explicitly, so it was always
checked against the latest one. Which means that it might fail due to
some problem introduced in tarantool and thus broke `tt` release cycle
with non-tt problem.

To avoid such an unpredictable behavior this test is adjusted to check
only against predefined `tarantool` versions (each of them is obtained
from the corresponding test environment).
Original test that checks against the latest `tarantool` version is to
be moved to separate workflow that is not involved into release cycle
and is performed periodically (by cron) to monitor consistency.

Closes #1221
@elhimov elhimov force-pushed the elhimov/tntp-5214-failed-pack-tdb-with-integrity branch from 0bea542 to 346d022 Compare December 23, 2025 01:16
@elhimov elhimov force-pushed the elhimov/tntp-5214-failed-pack-tdb-with-integrity branch from 346d022 to 0123212 Compare December 23, 2025 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Enables full ci tests

Projects

None yet

3 participants