Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

24.8.11 Altinity Stable Pre-release #582

Open
wants to merge 256 commits into
base: releases/24.8.11
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
256 commits
Select commit Hold shift + click to select a range
fe3ef6b
Fixed docker images names
Enmk Nov 7, 2024
2818298
Runner labels
Enmk Nov 7, 2024
fffe7f5
Update release_branches.yml
MyroTk Nov 7, 2024
a69517d
Update docker runner labels
MyroTk Nov 7, 2024
ed54227
Update docker_test_images.yml
MyroTk Nov 7, 2024
c4f6481
Add aws access secrets to docker job
MyroTk Nov 7, 2024
d6d501e
Merge pull request #519 from Altinity/24.8.5_pipeline_fix
Enmk Nov 7, 2024
f25a2ab
Using `ubuntu-latest` for `RunConfig`
Enmk Nov 7, 2024
beea951
Add secrets to docker env
MyroTk Nov 7, 2024
12cd34c
Update RunConfig runner labels
MyroTk Nov 7, 2024
7908b79
added missing `self-hosted` to DockerBuildAarch64
Enmk Nov 7, 2024
e960b64
Merge pull request #520 from Altinity/24.8.5_docker_secrets
Enmk Nov 8, 2024
a1c0b0d
Using clickhouse/cctools:0d6b90a7a490 in Dockerfiles
Enmk Nov 8, 2024
1d9803d
Less strict version dependencies for `pip install`
Enmk Nov 10, 2024
77ff91b
Not building docker image altinityinfra/kerberized-hadoop
Enmk Nov 11, 2024
0967db1
Removed altinityinfra/kerberized-hadoop from other places too
Enmk Nov 11, 2024
d6d24cd
Removed comments from JSON document
Enmk Nov 11, 2024
37eae3e
24.8 FinishCheck label
MyroTk Nov 13, 2024
f0e4f63
Merge pull request #522 from Altinity/24.8_finishcheck_label
Enmk Nov 14, 2024
87a2f5b
Fix Builds_Report
MyroTk Nov 14, 2024
3fbc514
Merge pull request #523 from Altinity/24.8_builds_report
Enmk Nov 15, 2024
e98d325
proper commit of Altinity/checkout action
Enmk Nov 15, 2024
9bcaa90
Merge pull request #518 from Altinity/24.8.5_altinity_infrastructure
Enmk Nov 18, 2024
8efc429
Attempt to fix some integration tests
Enmk Oct 8, 2024
b28f6c3
Using bottle 0.13
Enmk Nov 18, 2024
644e924
Update regression.yml
MyroTk Nov 19, 2024
ccc46b8
Increase regression timeout
MyroTk Nov 20, 2024
0cdd467
Merge pull request #525 from Altinity/24.8.5_regression_fix
Enmk Nov 20, 2024
15b2bc2
Merge pull request #521 from Altinity/24.8_fix_tests
Enmk Nov 21, 2024
f9bab7a
Merge remote-tracking branch 'altinity/customizations/24.8.5' into cu…
Enmk Nov 21, 2024
f892f0e
Always push builds report
Enmk Nov 22, 2024
6fa22aa
Merge pull request #530 from Altinity/24.8_always_post_builds_report
Enmk Nov 22, 2024
25ee99b
Using Altinity's README.md
Enmk Nov 22, 2024
168e254
Added missing logos
Enmk Nov 22, 2024
edddd08
Merge remote-tracking branch 'altinity/customizations/24.8.7' into cu…
Enmk Nov 27, 2024
1dad069
Disabled pushing to slack
Enmk Nov 28, 2024
934fbde
Merge pull request #538 from Altinity/24.8_ci_buddy-do-not-attempt-to…
Enmk Nov 28, 2024
745dd69
Disabled getting AZURE_CONNECTION_STRING from SSM
Enmk Nov 28, 2024
479c3a1
Also for stress test
Enmk Nov 28, 2024
2c31b57
Fixed CH startup
Enmk Nov 29, 2024
adec549
Revert "Merge pull request #62565 from ClickHouse/ci_add_azure_tests"
Enmk Dec 5, 2024
51522b8
Udpdated azurite version
Enmk Dec 7, 2024
9883f88
Pushing events to proper database
Enmk Dec 9, 2024
4373bb9
Enable zram
MyroTk Dec 9, 2024
cea8bed
Fix stress test
MyroTk Dec 9, 2024
070a352
Update reusable_build.yml
MyroTk Dec 9, 2024
bbfcd10
Merge pull request #539 from Altinity/24.8_fix_stateless_and_stateful…
Enmk Dec 9, 2024
4c205ec
Merge pull request #545 from Altinity/24.8_fix_stress
Enmk Dec 9, 2024
3e3b6d7
Merge pull request #546 from Altinity/24.8_fix_stateless_and_stateful…
Enmk Dec 9, 2024
b069bfb
Fix Build Report and move FinishCheck to standy runner
MyroTk Dec 10, 2024
3d29e79
Merge pull request #549 from Altinity/24.8_pipeline_patch
Enmk Dec 11, 2024
a8f5e7b
Attempt to make version management sane
Enmk Nov 27, 2024
1555ef7
Fixed minor hiccup
Enmk Nov 28, 2024
2499a02
Merge pull request #537 from Altinity/24.8_easier_versioning
Enmk Dec 11, 2024
e508f82
Testing if creating a tag actually sets the proper version
Enmk Dec 11, 2024
e365b2d
Fix unit tests for commits with no PRs
Enmk Dec 11, 2024
d4fb1be
Getting tweak and flavour from the tag
Enmk Dec 12, 2024
48fbf99
Update release_branches.yml
Enmk Dec 12, 2024
7f5173a
Updated tests to match new logic of generating version
Enmk Dec 12, 2024
6005d93
Merge pull request #551 from Altinity/24.8_easier_versioning
Enmk Dec 12, 2024
d45f9d7
Updating version tweak based on previous tag and number of commits si…
Enmk Dec 12, 2024
88e530a
wip, fix hashing
arthurpassos Apr 21, 2024
bbc4677
shitty serialize impl, missing arrays
arthurpassos Apr 24, 2024
6719364
wip
arthurpassos Apr 25, 2024
7e05934
undo something
arthurpassos Apr 25, 2024
2b6adf5
delete unnecessary stuff
arthurpassos Apr 25, 2024
4bbf242
fix tests
arthurpassos Apr 25, 2024
2c0badb
remove unused variable
arthurpassos Apr 25, 2024
0bbfa91
progress
arthurpassos Apr 25, 2024
547ae00
style
arthurpassos Apr 25, 2024
d9f3ccd
try to fix defines
arthurpassos Apr 25, 2024
1a33e5a
add if use parquet
arthurpassos Apr 25, 2024
ff37c19
more complex test
arthurpassos Apr 25, 2024
ad78591
update docs
arthurpassos Apr 25, 2024
7b7c4d6
add new setting to settingshistory
arthurpassos Apr 26, 2024
afb35cf
fix
arthurpassos Apr 26, 2024
9bb0ddc
add suport for in check
arthurpassos Apr 26, 2024
f3e02ef
add some tests for in cehck
arthurpassos Apr 26, 2024
1db4eda
try chassert
arthurpassos Apr 26, 2024
ae07174
fix dumb shit
arthurpassos Apr 26, 2024
af546f3
make test file reproducible, add bloom filter to the array column and…
arthurpassos Apr 27, 2024
0163ed5
fix existing tests
arthurpassos Apr 29, 2024
f0586e3
add hasall support
arthurpassos Apr 29, 2024
d56c666
update test files so array column has higher cardinality
arthurpassos Apr 30, 2024
e2da88c
simplify tests and add tests for has array operations
arthurpassos Apr 30, 2024
c6a5205
simplify code by reducing the scope for now. Also add test for equali…
arthurpassos May 1, 2024
f998987
add test for nested function
arthurpassos May 2, 2024
0a6ac88
optimize things a bit
arthurpassos May 2, 2024
d59f8b2
hash only once approach
arthurpassos May 10, 2024
8021318
minor update
arthurpassos May 22, 2024
eda321b
extract rpn build process into separate class
arthurpassos May 23, 2024
74a6b62
do not get parquet reader from arrow
arthurpassos May 27, 2024
87e902f
early return for no row groups
arthurpassos May 28, 2024
4dfa16d
remove a.ref
arthurpassos May 28, 2024
4a4e3b4
specify a few types instead of auto
arthurpassos Jun 10, 2024
f6911dd
add missing file
arthurpassos Jun 10, 2024
9bde5f4
settings history..
arthurpassos Jul 5, 2024
133249b
try to use keycondition instead
arthurpassos Jul 18, 2024
368d556
rmv debug var
arthurpassos Jul 18, 2024
7dc41da
extern bad arguments
arthurpassos Jul 19, 2024
8e8cc43
style check
arthurpassos Jul 23, 2024
6813b7c
minor typo
arthurpassos Jul 23, 2024
7c8f7e0
minor fix
arthurpassos Jul 23, 2024
52a77d1
drop support for array types
arthurpassos Jul 23, 2024
b11b87b
move parquet bf stuff out of keycondition
arthurpassos Jul 23, 2024
df0f81a
error codes
arthurpassos Jul 23, 2024
3847ff3
few fixes
arthurpassos Jul 24, 2024
a7f5cdf
remove unnecessary code
arthurpassos Jul 24, 2024
0d93b15
delete unused files
arthurpassos Jul 24, 2024
17d3ac2
progress on re-using keycondition and implementing in_set
arthurpassos Aug 2, 2024
1c67418
minor stuff
arthurpassos Aug 3, 2024
b8fdb1b
evaluate rpn only once
arthurpassos Aug 3, 2024
a487337
fix issue when in_set columns do not have bf
arthurpassos Aug 12, 2024
ea6118b
only get bloom filters for filtering columns
arthurpassos Aug 17, 2024
73e985e
get bf reader in non optimal way
arthurpassos Aug 17, 2024
a976f26
only calculate filtering columns if key_condition and bloom fliter is…
arthurpassos Aug 19, 2024
baf4386
get bf reader in optimal way
arthurpassos Aug 19, 2024
9d82991
Delete
arthurpassos Aug 19, 2024
7d4a169
some improvements, altho code looks odd
arthurpassos Aug 21, 2024
ac13d5d
Update SettingsChangesHistory.cpp
arthurpassos Aug 22, 2024
d6a64c8
function_unknown instead of function_true in some cases
arthurpassos Aug 22, 2024
7097e0c
put reader properties in a variable
arthurpassos Aug 22, 2024
450d34c
process in_set even if one of the columns do not have bf
arthurpassos Aug 22, 2024
bc76d06
simplify index mapping a bit
arthurpassos Aug 23, 2024
68315c7
vector instead of map.. need to remember order of insertion is important
arthurpassos Aug 28, 2024
ad21e64
safe guard around bf across row groups
arthurpassos Aug 28, 2024
3d5eeac
progress
arthurpassos Aug 29, 2024
bf09d39
simplify getfilteringcolumns
arthurpassos Aug 29, 2024
559057a
remove unused type alias
arthurpassos Aug 30, 2024
c411cbd
support only basic types with no special encodingwq
arthurpassos Sep 13, 2024
26d3d2c
small fixes, I need to improve testing
arthurpassos Sep 15, 2024
fb89ce6
tmp
arthurpassos Sep 17, 2024
a6b909b
handle nullable on tuple
arthurpassos Sep 18, 2024
0a9d143
progress
arthurpassos Sep 19, 2024
2488537
fix conflicts
arthurpassos Sep 20, 2024
2e2ccfa
fix steyle
arthurpassos Sep 20, 2024
385b9cf
tryconvertfieldtotype
arthurpassos Sep 20, 2024
9509c19
update tests to new dataset
arthurpassos Sep 23, 2024
fa0d11e
grab Field from ordered set columns and rely on convertfieldtotype
arthurpassos Sep 25, 2024
c86ad1d
tmp
arthurpassos Sep 25, 2024
27686aa
update tests
arthurpassos Sep 25, 2024
b91bf3b
add proper uint64 tests
arthurpassos Sep 26, 2024
96a8ed8
add uint8 and uuid tests
arthurpassos Sep 26, 2024
bc5c397
simplify logic to use vector of uint64 instead of columnptr. Fixes ms…
arthurpassos Sep 27, 2024
68132a8
undo hashstring modification
arthurpassos Sep 27, 2024
8442c0b
address some coments
arthurpassos Oct 1, 2024
a9ef415
simplify maybeTrueOnBloomFilter
arthurpassos Oct 1, 2024
bef2412
progress
arthurpassos Oct 4, 2024
6b7ee88
safe guards around index mapping
arthurpassos Oct 4, 2024
080fd53
some structural changes
arthurpassos Oct 4, 2024
0af5d54
progress
arthurpassos Oct 7, 2024
5a7c27b
move setting to 24.10
arthurpassos Oct 8, 2024
65a3a17
add test for ipv6
arthurpassos Oct 8, 2024
2ec54ed
rmv ssh key
arthurpassos Oct 8, 2024
45fb149
add new test file
arthurpassos Oct 8, 2024
a847b9b
minor improvements
arthurpassos Oct 9, 2024
0111428
few comments adressed
arthurpassos Oct 11, 2024
bc81f7d
assert parquet column size is 16 bytes when hashing ipv6
arthurpassos Oct 11, 2024
6bec838
simplify parquet bf rpn by removing function_equals
arthurpassos Oct 11, 2024
0f2eca4
fix in with invalid conversion
arthurpassos Oct 15, 2024
3446260
docs change
arthurpassos Oct 15, 2024
009ae77
f_unknown if monotonic_functions not empty
arthurpassos Oct 15, 2024
e76924c
updt
arthurpassos Dec 12, 2024
c153fdc
updt
arthurpassos Dec 12, 2024
65af160
updt
arthurpassos Dec 12, 2024
7240a19
updt
arthurpassos Dec 12, 2024
dfb68e2
updt
arthurpassos Dec 12, 2024
3d1b1ba
updt
arthurpassos Dec 12, 2024
8c7b87a
updt
arthurpassos Dec 12, 2024
0a66ca0
Update FormatFactory.cpp
arthurpassos Dec 12, 2024
d30eaeb
Update ParquetBlockInputFormat.cpp
arthurpassos Dec 12, 2024
42c5aa7
draft
arthurpassos Oct 24, 2024
17d95ba
tests
arthurpassos Oct 25, 2024
afbe322
progress
arthurpassos Oct 28, 2024
b2bccff
getbatch
arthurpassos Oct 29, 2024
0babc4f
fix msan issue
arthurpassos Oct 30, 2024
912373b
remove unrelated file
arthurpassos Oct 30, 2024
79d7ceb
remove unrelated file
arthurpassos Oct 30, 2024
59c896d
readPageV2
arthurpassos Oct 17, 2024
b04a4d8
add silly tests
arthurpassos Oct 17, 2024
850aa41
update test
arthurpassos Oct 17, 2024
d37c9b4
add some comments
arthurpassos Oct 17, 2024
ecf4e0f
address a few comments
arthurpassos Oct 18, 2024
bb82ae1
address some more comments
arthurpassos Oct 18, 2024
01b508b
remove unused rep level decoder
arthurpassos Oct 18, 2024
2198c54
Merge pull request #555 from Altinity/24.8_easier_versioning
Enmk Dec 13, 2024
6e48f8a
Merge pull request #63781 from ClickHouse/ft-chunked-protocol
yakov-olkhovskiy Aug 14, 2024
5b62afa
New metrics for ThreadPool
filimonov Jan 26, 2024
ca42ff6
add one more metric
filimonov Feb 9, 2024
5995004
Mark LocalThread metrics obsolete due to https://github.com/ClickHous…
filimonov Aug 20, 2024
943f059
make jobs queue in the ThreadPool stable (i.e. FIFO for the same prio…
filimonov Aug 20, 2024
01838c6
fix style
filimonov Aug 21, 2024
b48e249
Merge pull request #64448 from ClickHouse/pr-local-plan
devcrafter Sep 11, 2024
f1cf4fc
Merge pull request #69602 from ClickHouse/rm_explicit_initial_announc…
nickitat Sep 14, 2024
06a4050
Merge pull request #68424 from ClickHouse/adaptive_parallel_replicas
nickitat Sep 17, 2024
556c04a
Merge pull request #69744 from ClickHouse/fix_pr_protocol
nickitat Sep 19, 2024
bd014e1
Merge pull request #69706 from ClickHouse/pror_events_for_pr
nickitat Sep 19, 2024
19481de
Merge pull request #68355 from zvonand/tryfix-65762-again
Algunenano Sep 20, 2024
7e6b90c
Merge pull request #63151 from ClickHouse/parallel-replicas-beta
nikitamikhaylov Sep 25, 2024
162807b
Merge pull request #70900 from filimonov/linux_capabilities
antonio2368 Oct 28, 2024
611d1d4
Merge pull request #70332 from zvonand/ldap-remote-roles
pufit Nov 19, 2024
d2b3dc0
Merge pull request #72759 from zvonand/hotfix-72756
yariks5s Dec 6, 2024
3cf834b
fix build pt. 1
zvonand Dec 17, 2024
9d7b3d7
Merge pull request #65832 from CurtizJ/add-mutations-snapshot
CurtizJ Sep 5, 2024
1ec0a09
Merge branch 'customizations/24.8.8' into backports/24.8/remote-roles…
zvonand Dec 18, 2024
0c348a2
Small test fix
ianton-ru Dec 17, 2024
3d95afd
Add iptables in intergation-test image, some tests use it
ianton-ru Dec 18, 2024
ebb898b
Merge pull request #570 from Altinity/24.8-altinity-test-fix
Enmk Dec 18, 2024
237858a
Merge branch 'customizations/24.8.8' into backports/24.8/remote-roles…
zvonand Dec 18, 2024
b0cbccb
remove non existing settings from settingschanges
zvonand Dec 18, 2024
ca5b435
Merge branch 'backports/24.8/remote-roles-push' of github.com:Altinit…
zvonand Dec 18, 2024
170bf37
Merge pull request #567 from Altinity/backports/24.8.8/thread_pool_me…
Enmk Dec 19, 2024
98768e4
Merge pull request #556 from Altinity/backports/24.8.8/parquet_bloom_…
Enmk Dec 19, 2024
c73183a
Merge pull request #557 from Altinity/backports/24.8.8/parquet-native…
Enmk Dec 19, 2024
d8cceb3
Merge pull request #68694 from filimonov/thread_pool_thread_creation_…
serxa Oct 5, 2024
4bd65c0
Merge pull request #558 from Altinity/backports/24.8.8/parquet-page-h…
Enmk Dec 19, 2024
b2109be
Merge pull request #568 from Altinity/backports/24.8/70900_EPEM_numactl
Enmk Dec 20, 2024
1a6b755
Merge pull request #69582 from ClickHouse/keeper-better-ssl-support
antonio2368 Sep 17, 2024
15de750
Merge pull request #573 from Altinity/backports/24.8.8/thread_pool_th…
Enmk Dec 20, 2024
25c11de
Merge pull request #566 from Altinity/backports/24.8/69582_keeper_bet…
Enmk Dec 22, 2024
26b194b
Merge pull request #63781 from ClickHouse/ft-chunked-protocol
yakov-olkhovskiy Aug 14, 2024
14e8bd2
Merge pull request #64448 from ClickHouse/pr-local-plan
devcrafter Sep 11, 2024
049c2f6
Merge pull request #69602 from ClickHouse/rm_explicit_initial_announc…
nickitat Sep 14, 2024
cdc6380
Merge pull request #68424 from ClickHouse/adaptive_parallel_replicas
nickitat Sep 17, 2024
b5cf09b
Merge pull request #69744 from ClickHouse/fix_pr_protocol
nickitat Sep 19, 2024
95a19e9
Merge pull request #69706 from ClickHouse/pror_events_for_pr
nickitat Sep 19, 2024
2c94409
Merge pull request #68355 from zvonand/tryfix-65762-again
Algunenano Sep 20, 2024
72afb16
Merge pull request #63151 from ClickHouse/parallel-replicas-beta
nikitamikhaylov Sep 25, 2024
cc34cd2
Merge pull request #70332 from zvonand/ldap-remote-roles
pufit Nov 19, 2024
5103af7
Merge pull request #72759 from zvonand/hotfix-72756
yariks5s Dec 6, 2024
e283f07
fix build pt. 1
zvonand Dec 17, 2024
764d5bb
Merge pull request #65832 from CurtizJ/add-mutations-snapshot
CurtizJ Sep 5, 2024
a558b75
remove non existing settings from settingschanges
zvonand Dec 18, 2024
55248c6
Add missing configuration in ClientSettings Object
stamsekar Dec 24, 2024
7fff7ad
Merge pull request #72584 from ClickHouse/update-nuraft
antonio2368 Dec 2, 2024
b7d75ce
Merge pull request #72730 from ClickHouse/fix-keeper-internal-ssl
antonio2368 Dec 4, 2024
fafa0a4
Merge branch 'customizations/24.8.8' into customizations/24.8.11
Enmk Jan 9, 2025
6439fec
Update mongo_cert.pem
ianton-ru Jan 9, 2025
fc34cb3
Merge pull request #585 from Altinity/altinity_24.8.8-new_mongo_cert
Enmk Jan 14, 2025
6b58e78
Merge pull request #580 from Altinity/backport/24.8/73777
Enmk Jan 16, 2025
1a4645d
Merge branch 'customizations/24.8.11' into backports/24.8/remote-role…
zvonand Jan 16, 2025
331b418
impl
arthurpassos Jan 16, 2025
4a49154
Merge branch 'customizations/24.8.11' into backports/24.8.11/parquet_…
arthurpassos Jan 16, 2025
361c305
attempt to fix forrmat settings
arthurpassos Jan 17, 2025
7132c15
Merge pull request #579 from Altinity/backport/24.8/72730
Enmk Jan 20, 2025
c65cd3e
Merge branch 'backports/24.8/remote-roles-push' of github.com:Altinit…
zvonand Jan 20, 2025
2702361
fix typo
devcrafter Dec 24, 2024
821803e
Merge pull request #542 from Altinity/backports/24.8/remote-roles-push
Enmk Jan 21, 2025
2700034
Attempt to fix build
Enmk Jan 21, 2025
ddf159e
Merge pull request #593 from Altinity/backports/24.8.11/parquet_compr…
Enmk Jan 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions .github/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ self-hosted-runner:
- func-tester
- func-tester-aarch64
- fuzzer-unit-tester
- altinity-on-demand
- altinity-type-cpx51
- altinity-in-ash
- altinity-image-x86-system-ubuntu-22.04
- style-checker
- style-checker-aarch64
- release-maker
10 changes: 10 additions & 0 deletions .github/actions/common_setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ runs:
run: |
# to remove every leftovers
sudo rm -fr "$TEMP_PATH" && mkdir -p "$TEMP_PATH"
- name: Setup zram
shell: bash
run: |
sudo modprobe zram
MemTotal=$(grep -Po "(?<=MemTotal:)\s+\d+" /proc/meminfo) # KiB
Percent=200
ZRAM_SIZE=$(($MemTotal / 1024 / 1024 * $Percent / 100)) # Convert to GiB
.github/retry.sh 30 2 sudo zramctl --size ${ZRAM_SIZE}GiB --algorithm zstd /dev/zram0
sudo mkswap /dev/zram0 && sudo swapon -p 100 /dev/zram0
sudo sysctl vm.swappiness=200
- name: Tune vm.mmap_rnd_bits for sanitizers
shell: bash
run: |
Expand Down
29 changes: 29 additions & 0 deletions .github/actions/docker_setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Docker setup
description: Setup docker
inputs:
nested_job:
description: the fuse for unintended use inside of the reusable callable jobs
default: true
type: boolean
runs:
using: "composite"
steps:
- name: Docker IPv6 configuration
shell: bash
run: |
# make sure docker uses proper IPv6 config
sudo touch /etc/docker/daemon.json
sudo chown ubuntu:ubuntu /etc/docker/daemon.json
sudo cat <<EOT > /etc/docker/daemon.json
{
"ipv6": true,
"fixed-cidr-v6": "2001:3984:3989::/64"
}
EOT
sudo chown root:root /etc/docker/daemon.json
sudo systemctl restart docker
sudo systemctl status docker
- name: Docker info
shell: bash
run: |
docker info
22 changes: 22 additions & 0 deletions .github/retry.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/bash
# Execute command until exitcode is 0 or
# maximum number of retries is reached
# Example:
# ./retry <retries> <delay> <command>
retries=$1
delay=$2
command="${@:3}"
exitcode=0
try=0
until [ "$try" -ge $retries ]
do
echo "$command"
eval "$command"
exitcode=$?
if [ $exitcode -eq 0 ]; then
break
fi
try=$((try+1))
sleep $2
done
exit $exitcode
14 changes: 7 additions & 7 deletions .github/workflows/backport_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
data: ${{ steps.runconfig.outputs.CI_DATA }}
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true # to ensure correct digests
fetch-depth: 0 # to get version
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
runs-on: [self-hosted, style-checker-aarch64]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
- name: Download reports
run: |
python3 "$GITHUB_WORKSPACE/tests/ci/ci.py" --infile ${{ toJson(needs.RunConfig.outputs.data) }} --pre --job-name Builds
Expand Down Expand Up @@ -194,7 +194,7 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: Install packages (aarch64)
runner_type: style-checker-aarch64
runner_type: altinity-on-demand, altinity-type-cax41, altinity-in-hel1, altinity-image-arm-app-docker-ce
data: ${{ needs.RunConfig.outputs.data }}
run_command: |
python3 install_check.py "$CHECK_NAME"
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: Stress test (tsan)
runner_type: func-tester
runner_type: altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-system-ubuntu-22.04
data: ${{ needs.RunConfig.outputs.data }}
#############################################################################################
############################# INTEGRATION TESTS #############################################
Expand All @@ -240,15 +240,15 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: Integration tests (asan, old analyzer)
runner_type: func-tester
runner_type: altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-system-ubuntu-22.04
data: ${{ needs.RunConfig.outputs.data }}
IntegrationTestsTsan:
needs: [RunConfig, BuilderDebTsan]
if: ${{ !failure() && !cancelled() }}
uses: ./.github/workflows/reusable_test.yml
with:
test_name: Integration tests (tsan)
runner_type: func-tester
runner_type: altinity-on-demand, altinity-type-cpx51, altinity-in-ash, altinity-image-x86-system-ubuntu-22.04
data: ${{ needs.RunConfig.outputs.data }}
FinishCheck:
if: ${{ !cancelled() }}
Expand All @@ -265,7 +265,7 @@ jobs:
runs-on: [self-hosted, style-checker]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true
- name: Finish label
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cherry_pick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
REPO_TEAM=core
EOF
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true
token: ${{secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: [self-hosted, release-maker]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
token: ${{secrets.ROBOT_CLICKHOUSE_COMMIT_TOKEN}}
fetch-depth: 0
Expand Down
29 changes: 22 additions & 7 deletions .github/workflows/docker_test_images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,31 @@ name: Build docker images
description: set latest tag for resulting multiarch manifest
required: false
type: boolean
default: false
default: false
secrets:
secret_envs:
description: if given, it's passed to the environments
required: false
AWS_SECRET_ACCESS_KEY:
description: the access key to the aws param store.
required: true
AWS_ACCESS_KEY_ID:
description: the access key id to the aws param store.
required: true

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

jobs:
DockerBuildAarch64:
runs-on: [self-hosted, style-checker-aarch64]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cax41, altinity-image-arm-snapshot-22.04-arm, altinity-startup-snapshot, altinity-setup-none]
if: |
!failure() && !cancelled() && toJson(fromJson(inputs.data).docker_data.missing_aarch64) != '[]'
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
ref: ${{ fromJson(inputs.data).git_ref }}
- name: Build images
Expand All @@ -29,12 +44,12 @@ jobs:
--image-tags '${{ toJson(fromJson(inputs.data).docker_data.images) }}' \
--missing-images '${{ toJson(fromJson(inputs.data).docker_data.missing_aarch64) }}'
DockerBuildAmd64:
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-image-x86-snapshot-22.04-amd, altinity-startup-snapshot, altinity-setup-none]
if: |
!failure() && !cancelled() && toJson(fromJson(inputs.data).docker_data.missing_amd64) != '[]'
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
ref: ${{ fromJson(inputs.data).git_ref }}
- name: Build images
Expand All @@ -45,12 +60,12 @@ jobs:
--missing-images '${{ toJson(fromJson(inputs.data).docker_data.missing_amd64) }}'
DockerMultiArchManifest:
needs: [DockerBuildAmd64, DockerBuildAarch64]
runs-on: [self-hosted, style-checker]
runs-on: [self-hosted, altinity-on-demand, altinity-type-cpx51, altinity-image-x86-snapshot-22.04-amd, altinity-startup-snapshot, altinity-setup-none]
if: |
!failure() && !cancelled() && (toJson(fromJson(inputs.data).docker_data.missing_multi) != '[]' || inputs.set_latest)
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f6
with:
ref: ${{ fromJson(inputs.data).git_ref }}
- name: Build images
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/jepsen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
data: ${{ steps.runconfig.outputs.CI_DATA }}
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true # to ensure correct digests
fetch-depth: 0 # to get version
Expand All @@ -43,7 +43,7 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: ClickHouse Keeper Jepsen
runner_type: style-checker-aarch64
runner_type: altinity-on-demand, altinity-type-cax41, altinity-in-hel1, altinity-image-arm-app-docker-ce
data: ${{ needs.RunConfig.outputs.data }}
run_command: |
python3 jepsen_check.py keeper
Expand All @@ -53,7 +53,7 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: ClickHouse Server Jepsen
runner_type: style-checker-aarch64
runner_type: altinity-on-demand, altinity-type-cax41, altinity-in-hel1, altinity-image-arm-app-docker-ce
data: ${{ needs.RunConfig.outputs.data }}
run_command: |
python3 jepsen_check.py server
Expand All @@ -63,7 +63,7 @@ jobs:
runs-on: [self-hosted, style-checker-aarch64]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
- name: Check Workflow results
if: ${{ !cancelled() }}
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
data: ${{ steps.runconfig.outputs.CI_DATA }}
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true # to ensure correct digests
fetch-depth: 0 # to get version
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: Builds
runner_type: style-checker-aarch64
runner_type: altinity-on-demand, altinity-type-cax41, altinity-in-hel1, altinity-image-arm-app-docker-ce
data: ${{ needs.RunConfig.outputs.data }}

FinishCheck:
Expand All @@ -127,7 +127,7 @@ jobs:
runs-on: [self-hosted, style-checker-aarch64]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
- name: Finish label
run: |
cd "$GITHUB_WORKSPACE/tests/ci"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/merge_queue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
data: ${{ steps.runconfig.outputs.CI_DATA }}
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true # to ensure correct digests
fetch-depth: 0 # to get a version
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
uses: ./.github/workflows/reusable_test.yml
with:
test_name: Style check
runner_type: style-checker-aarch64
runner_type: altinity-on-demand, altinity-type-cax41, altinity-in-hel1, altinity-image-arm-app-docker-ce
run_command: |
python3 style_check.py
data: ${{ needs.RunConfig.outputs.data }}
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
runs-on: [self-hosted, style-checker-aarch64]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
- name: Check and set merge status
if: ${{ needs.StyleCheck.result == 'success' }}
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
data: ${{ steps.runconfig.outputs.CI_DATA }}
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
with:
clear-repository: true # to ensure correct digests
fetch-depth: 0 # to get version
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
runs-on: [self-hosted, style-checker-aarch64]
steps:
- name: Check out repository code
uses: ClickHouse/checkout@v1
uses: Altinity/checkout@19599efdf36c4f3f30eb55d5bb388896faea69f
- name: Check Workflow results
if: ${{ !cancelled() }}
run: |
Expand Down
Loading
Loading