Commit Graph

113 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
d6a16b81ed
Files without shebang have mime 'text/plain' or 'inode/x-empty' 2024-05-17 19:30:18 +02:00
robot-clickhouse
19dbc8d2e2 Automatic style fix 2024-04-22 10:39:56 +00:00
Mikhail f. Shiryaev
0811124d7d
Add description to the commit status on failed autofix 2024-04-22 12:29:30 +02:00
Mikhail f. Shiryaev
a39baf84cf
Get rid of merge_commit in style check autofix 2024-04-22 12:03:51 +02:00
Mikhail f. Shiryaev
5c4c2c16dd
Convert PRInfo.is_* to properties 2024-04-17 22:23:41 +02:00
Max Kainov
f3dc77ee00 disable autofix for merge queue 2024-04-08 14:28:48 +00:00
Mikhail f. Shiryaev
771c549606
Process removed files, decouple _check_mime 2024-03-22 09:14:30 +01:00
Max Kainov
389566f895 quick fix for style check 2024-03-21 20:24:22 +00:00
Mikhail f. Shiryaev
15a61a998a
Fix logic for run_cpp_check, it had a bug 2024-03-21 14:34:31 +01:00
Mikhail f. Shiryaev
77e947c44f
Avoid IsADirectoryError: Is a directory contrib/azure 2024-03-21 14:09:01 +01:00
Mikhail f. Shiryaev
41432c56a8
Enable shellcheck conditionally 2024-03-18 15:04:44 +01:00
Mikhail f. Shiryaev
c3f386d06a
Fix the autofixer 2024-03-18 15:04:43 +01:00
Mikhail f. Shiryaev
49017fc163
Run the style-check on top of the merge-commit of PRs 2024-03-18 15:04:41 +01:00
Mikhail f. Shiryaev
8f2ff2ccd8
Enable black back 2024-03-11 13:22:18 +01:00
Max Kainov
49b78e0a0c CI: check cpp and py files style on changes only
#do_not_test
2024-03-11 09:30:26 +00:00
Alexey Milovidov
8c08fc1f57
Revert "CI: make style check faster" 2024-03-11 04:09:26 +03:00
Max Kainov
f429f54af8 CI: make style check fast
#do_not_test
2024-03-10 17:25:51 +00:00
Max Kainov
681bd28c87 CI: make style check fast
#do_not_test
2024-03-09 20:57:23 +00:00
Mikhail f. Shiryaev
e31078e204
Fix some issues detected by new pylint 2024-03-05 16:02:36 +01:00
Mikhail f. Shiryaev
13948cbb20
Use constants from report instead of string literals 2024-02-06 15:02:09 +01:00
Mikhail f. Shiryaev
bfa722bf62
Use JobNames.STYLE_CHECK for consistency 2024-01-31 13:58:25 +01:00
Max Kainov
3247ae81e4 move out ci specific functions to ci.py
#no_merge_commit
2024-01-21 16:36:37 +00:00
Max K
cb53ee63be
Add GH status for PR formatting (#58050)
* add GH status for PR formatting
 #no-merge-commit
2023-12-21 11:53:01 +01:00
Mikhail f. Shiryaev
9a2ee55b5e
Fix style-check checkout head-ref 2023-12-18 13:21:13 +01:00
Max K
84e5870b71
Reapply "improve CI with digest for docker, build and test jobs" (#57904)
* Revert "Revert "improve CI with digest for docker, build and test jobs""

* fix: docker manifest merge for missing images only
2023-12-18 09:07:22 +01:00
Max K
8c7add0334 Revert "improve CI with digest for docker, build and test jobs (#56317)"
This reverts commit 7844fcc196.
2023-12-15 15:48:01 +01:00
Max K
7844fcc196
improve CI with digest for docker, build and test jobs (#56317)
* CI with digests to tag docker images, reuse builds, reuse tests and others
2023-12-15 15:21:20 +01:00
Mikhail f. Shiryaev
6f8baf3def
Rewrite style checks to reusable workflow 2023-11-13 12:49:32 +01:00
Mikhail f. Shiryaev
59a1947653
Fix broken style check get_images 2023-10-04 14:29:01 +02:00
Mikhail f. Shiryaev
2d1dba372e
Get rid of the most of os.path stuff 2023-09-28 01:20:05 +02:00
Alexey Milovidov
20b77e946a There is no point in detecting flaky tests 2023-07-15 23:00:23 +02:00
Mikhail f. Shiryaev
df33b99907
Rework post_commit_status, add set_status_comment there 2023-04-28 23:52:31 +02:00
Mikhail f. Shiryaev
4405459925
Refactor RerunHelper to reduce API calls 2023-04-28 23:52:30 +02:00
Mikhail f. Shiryaev
33a2e2b3d8
Set default per_page=100 for GitHub 2023-02-23 10:38:09 +01:00
Mikhail f. Shiryaev
db96f9e3db
Rework test_results list/tuple/whatever into class 2023-01-09 12:09:47 +01:00
Mikhail f. Shiryaev
fe44b514b7
Create GitHub cache directory optionally by default 2022-12-09 21:33:06 +01:00
Mikhail f. Shiryaev
8897aa7fe8
Merge pull request #43132 from ClickHouse/strict-typing-ci
Enable strict typing check in tests/ci
2022-12-01 14:37:25 +01:00
Mikhail f. Shiryaev
5d7cb6b85a
Change email for robot-clickhouse to immutable one 2022-12-01 13:01:35 +01:00
Mikhail f. Shiryaev
6e00bb2e74
Add and fix typing for docker_pull_helper, github_helper and style_check 2022-11-29 14:12:20 +01:00
Mikhail f. Shiryaev
372481e770
Rework S3Helper a little bit 2022-08-11 15:01:32 +02:00
Mikhail f. Shiryaev
2fb68078e8
Replace S3 URLs by parameter 2022-08-10 15:22:04 +02:00
Yakov Olkhovskiy
1a52fa183d rename Simple Check to Mergeable Check, refactor processing 2022-08-05 10:39:58 -04:00
Mikhail f. Shiryaev
d9baa0b1f7 Finish following runs with the same exit code as the first 2022-07-26 14:22:11 +02:00
Alexey Milovidov
b6b217d2a3
Merge branch 'master' into status-names 2022-07-24 00:34:00 +03:00
robot-clickhouse
0d34814629 Automatic style fix 2022-07-21 16:39:14 +00:00
Mikhail f. Shiryaev
685a8f3949
Intentionally break black formatting 2022-07-21 17:01:45 +02:00
Mikhail f. Shiryaev
f60dcc30fb
Push automatic fix for black format for PRs 2022-07-21 17:01:42 +02:00
Mikhail f. Shiryaev
dacfc7886c
Improve style_check scripts style a little bit 2022-07-21 16:59:44 +02:00
Mikhail f. Shiryaev
d42018a2dc
Cleanup the rest of (actions) status names 2022-07-21 13:10:22 +02:00
Yakov Olkhovskiy
baff8327b9 do not recreate Simple Check if already exists 2022-07-21 01:41:55 -04:00