ClickHouse/tests/ci
Azat Khuzhin 0b258dda4e Reproducible builds for Rust
From now on cargo will not download anything from the internet during
builds. This step had been moved for docker image builds (via cargo
vendor).

And now cargo inside docker.io/clickhouse/binary-builder will not use
any crates from the internet, so we don't need to add --offline for
cargo commands in cmake (corrosion_import_crate()).

Also the docker build command had been adjusted to allow following
symlinks inside build context, by using tar, this is required for Rust
packages.

Note, that to make proper Cargo.lock that could be vendored I did the
following:
- per-project locks had been removed (since there is no automatic way to
  sync the workspace Cargo.lock with per-project Cargo.lock, since cargo
  update/generate-lockfile will use only per-project Cargo.toml files
  apparently, -Z minimal-versions does not helps either)
- and to generate Cargo.lock with less changes I've pinned version in
  the Cargo.toml strictly, i.e. not 'foo = "0.1"' but 'foo = "=0.1"'
  then the Cargo.lock for workspace had been generated and afterwards
  I've reverted this part.

Plus I have to update the dependencies afterwards, since otherwise there
are conflicts with dependencies for std library. Non trivial.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-22 22:46:22 +02:00
..
autoscale_runners_lambda Experiment with decreasing scale_up for style-checkers 2023-06-20 15:17:33 +02:00
cancel_and_rerun_workflow_lambda Delete __init__.py in lambda directories to break subpackage 2023-06-01 21:03:56 +02:00
ci_runners_metrics_lambda Decouple cleaning part from metrics lambda to a new one 2023-06-19 15:40:26 +02:00
clean_lost_instances_lambda Continue LCH for terminated instances, add logging 2023-06-19 15:40:31 +02:00
lambda_shared_package Do not "update" the token and the instances infinitely 2023-06-19 15:40:27 +02:00
runner_token_rotation_lambda Delete __init__.py in lambda directories to break subpackage 2023-06-01 21:03:56 +02:00
team_keys_lambda Move lambda package building to public.ecr.aws/lambda/python for compatibility 2023-06-02 12:27:26 +02:00
terminate_runner_lambda Do not "update" the token and the instances infinitely 2023-06-19 15:40:27 +02:00
tests introduce sqllogic runner 2023-04-16 13:57:24 +02:00
worker Check and proceed spot termination on runner setup 2023-06-19 15:40:32 +02:00
workflow_approve_rerun_lambda Improve logging a little bit, avoid double labeling 2023-06-26 13:25:49 +02:00
workflow_jobs_lambda Move insert part for ClickHouseHelper to shared 2023-06-01 21:03:57 +02:00
.gitignore Deploy workflow_approve_rerun_lambda as zip package 2022-07-28 14:23:59 +02:00
.mypy.ini Add mypy config, fix git_helper.py 2022-11-29 12:51:45 +01:00
ast_fuzzer_check.py Rework post_commit_status, add set_status_comment there 2023-04-28 23:52:31 +02:00
attach_gdb.lib Wait with retries 2023-06-30 14:52:21 +00:00
bugfix_validate_check.py Rework post_commit_status, add set_status_comment there 2023-04-28 23:52:31 +02:00
build_check.py Revert "Add documentation for building in docker" 2023-07-04 14:07:10 +03:00
build_download_helper.py Fix the global ROBOT_TOKEN, do not retry unnecessary 2023-05-02 12:37:05 +02:00
build_report_check.py Revert "Add documentation for building in docker" 2023-07-04 14:07:10 +03:00
ccache_utils.py Fix the downloading of the recent ccache archives 2023-02-16 18:26:06 +01:00
cherry_pick.py Fix KeyError in cherry-pick 2023-06-02 13:02:18 -04:00
ci_config.py Merge remote-tracking branch 'origin/master' into analyzer-integration-tests 2023-07-11 08:55:31 +00:00
clickhouse_helper.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
codebrowser_check.py Add reset to Stopwatch, improve codebrowser report 2023-06-16 12:51:31 +02:00
commit_status_helper.py remove unused type: ignore 2023-07-04 12:59:25 +00:00
compatibility_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
compress_files.py Replace format with f-strings 2023-02-15 22:51:42 +01:00
docker_images_check.py Reproducible builds for Rust 2023-07-22 22:46:22 +02:00
docker_manifests_merge.py Rework post_commit_status, add set_status_comment there 2023-04-28 23:52:31 +02:00
docker_pull_helper.py Add and fix typing for docker_pull_helper, github_helper and style_check 2022-11-29 14:12:20 +01:00
docker_server.py Rework post_commit_status, add set_status_comment there 2023-04-28 23:52:31 +02:00
docker_test.py Reproducible builds for Rust 2023-07-22 22:46:22 +02:00
docs_check.py Use NotSet in post_commit_status for optional arguments 2023-04-28 23:52:33 +02:00
download_binary.py Use Path in download helper, do not redownload exist files 2023-02-03 12:16:17 +01:00
download_release_packages.py Automatic style fix 2022-12-31 13:51:42 +00:00
env_helper.py The best effor to get the current job ID and URL 2023-05-12 19:22:52 +02:00
fast_test_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
finish_check.py Use NotSet in post_commit_status for optional arguments 2023-04-28 23:52:33 +02:00
functional_test_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
get_previous_release_tag.py Update black version, run it for the repository 2023-03-24 11:54:38 +01:00
get_robot_token.py Receive the best robot token only once 2023-04-28 16:01:53 +02:00
git_helper.py Do not mock git_helper.Git, suppress git describe error for ignore_no_tags 2023-06-15 15:35:03 +02:00
git_test.py Adjust git_helper and version_helper for shallow clone 2022-04-21 20:08:55 +02:00
github_helper.py remove unused type: ignore 2023-07-04 12:59:25 +00:00
install_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
integration_test_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
jepsen_check.py Fix jepsen runs in PRs 2023-06-06 07:17:30 +00:00
mark_release_ready.py Use NotSet in post_commit_status for optional arguments 2023-04-28 23:52:33 +02:00
merge_pr.py Add logging about all found workflows for merge_pr.py 2023-07-19 15:12:58 +02:00
performance_comparison_check.py fix 2023-06-03 00:08:47 +02:00
pr_info.py Add a fallback to authenticated requests to GH API 2023-04-28 18:46:33 +02:00
release.py Preset description on the tweak reset 2023-02-27 14:20:34 +01:00
report.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
run_check.py Unify and put GH access token to the lambda_shared 2023-06-01 21:03:56 +02:00
s3_helper.py Fix typing in S3Helper.fast_parallel_upload_dir 2023-05-12 19:22:52 +02:00
sqlancer_check.py Make SQLancer check not "always green" 2023-06-23 18:55:04 +02:00
sqllogic_test.py Rework post_commit_status, add set_status_comment there 2023-04-28 23:52:31 +02:00
ssh.py Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
stopwatch.py Add reset to Stopwatch, improve codebrowser report 2023-06-16 12:51:31 +02:00
stress_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
stress_tests.lib Correctly grep archives 2023-07-05 11:19:15 +00:00
stress.py debug 2023-06-26 20:43:19 +08:00
style_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
tee_popen.py Fix typo 2023-06-25 06:14:31 +02:00
unit_tests_check.py There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
upgrade_check.py Split stress test and backward compatibility check 2023-01-03 19:22:31 +00:00
upload_result_helper.py Add way to define additional urls in test reports 2023-06-28 22:19:00 +02:00
utils.lib Make scripts backwards compatible 2023-07-02 09:57:06 +00:00
version_helper.py Fix a versions' tweak for tagged commits, improve version_helper 2023-06-15 14:48:09 +02:00
version_test.py Adjust version_helper test cases to proper tags 2023-06-15 14:48:10 +02:00