Commit Graph

108 Commits

Author SHA1 Message Date
Mikhail f. Shiryaev
e60983f5ae
Do not fail if label-to-remove does not exists in PR 2023-10-13 13:32:56 +02:00
vdimir
7c471be846
Fix link in table in status comment 2023-09-29 12:00:07 +02:00
vdimir
37bd5dd7be
Add links to check reports in status comment 2023-09-29 08:46:23 +00:00
Mikhail f. Shiryaev
2d1dba372e
Get rid of the most of os.path stuff 2023-09-28 01:20:05 +02:00
vdimir
65baf129bf
Do not set PR status label 2023-09-20 09:21:58 +00:00
vdimir
acb559ce8b
Update tests/ci/commit_status_helper.py
Co-authored-by: Mikhail f. Shiryaev <felixoid@clickhouse.com>
2023-09-12 17:34:52 +02:00
vdimir
8bb0fbfd2c
fix 2023-09-11 17:03:28 +00:00
vdimir
4a80a0f1c0
upd 2023-09-11 16:13:52 +00:00
vdimir
960ca5ebde
Show PR status in label 2023-09-11 16:13:33 +00:00
vdimir
a1ee226969
Update PR status icons 2023-09-11 16:13:11 +00:00
vdimir
61fdb63aad
fix 2023-09-11 13:53:20 +00:00
vdimir
297306b4b9
status emoji in the beginning of title 2023-09-11 13:36:02 +00:00
vdimir
6a51d9fd7d
do not merge this commit 2023-09-08 17:04:44 +00:00
vdimir
a46d1974ac
fix 2023-09-08 15:49:13 +00:00
vdimir
465d84aba7
Set raw_logs in create_ci_report 2023-09-08 15:39:07 +00:00
vdimir
b0b8255c6f
Set PR status into title 2023-09-08 15:36:32 +00:00
vdimir
5e0caa669e
Move sucessull checks in commit status under a spoiler 2023-09-08 09:56:53 +00:00
Mikhail f. Shiryaev
88664bef3f
Create report status constants 2023-09-06 12:43:25 +02:00
Mikhail f. Shiryaev
8499956321
Refactor CI_CONFIG from dict to dataclasses 2023-08-03 14:37:19 +02:00
Yatsishin Ilya
5230503651 remove unused type: ignore 2023-07-04 12:59:25 +00:00
Alexey Milovidov
b6e7f4cf6c Require more checks 2023-06-22 23:24:27 +02:00
Mikhail f. Shiryaev
242a210358
Create "CI running" report always 2023-05-02 14:13:23 +02:00
Mikhail f. Shiryaev
ca19f20aff
Do not fail the run on error updating status comment 2023-05-02 12:34:40 +02:00
Mikhail f. Shiryaev
20c8f0f1b4
Use only one comment for all statuses in the PR 2023-04-28 23:52:34 +02:00
Mikhail f. Shiryaev
61c6c61638
Rework the status comment to be a digest with the full report available
by link
2023-04-28 23:52:33 +02:00
Mikhail f. Shiryaev
e8cf417350
Use NotSet in post_commit_status for optional arguments 2023-04-28 23:52:33 +02:00
Mikhail f. Shiryaev
f411be8c37
Rename Run Check to CI running 2023-04-28 23:52:31 +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
d58abd3c37
Add a function get_repo with global state 2023-04-28 23:52:30 +02:00
Mikhail f. Shiryaev
4405459925
Refactor RerunHelper to reduce API calls 2023-04-28 23:52:30 +02:00
Mikhail f. Shiryaev
222176639d
Update pr_info.labels in commit_helper lebel helpers 2023-04-24 11:03:25 +02:00
Alexey Milovidov
3f55782d5f
Merge pull request #46781 from ClickHouse/lazy-mergeable
Reduce updates of Mergeable Check
2023-02-27 09:14:33 +03:00
Mikhail f. Shiryaev
900fe7ec9a
Reduce returns for update_mergeable_check 2023-02-23 16:06:29 +01:00
Mikhail f. Shiryaev
19bea6a9e8
Add more cases when we don't need Mergeable Check 2023-02-23 15:57:10 +01:00
Mikhail f. Shiryaev
067e656ff3
Reuse code, do not update Mergeable Check unnecessary 2023-02-23 15:25:29 +01:00
Mikhail f. Shiryaev
0ab9d6787e
Add format_description for commit status descriptions 2023-02-23 15:21:19 +01:00
Mikhail f. Shiryaev
e290ceec52
Reorder imports 2023-02-23 10:38:21 +01:00
Mikhail f. Shiryaev
9dff6a80ab
Fix run_check.py and dependencies 2022-11-29 14:12:16 +01:00
Mikhail f. Shiryaev
eec74e46e4
Move get_commit_filtered_statuses to commit_status_helper 2022-11-10 13:12:22 +01:00
Mikhail f. Shiryaev
e2de809532
Add typing to commit_status_helper.py 2022-11-10 13:12:20 +01:00
Yakov Olkhovskiy
1a52fa183d rename Simple Check to Mergeable Check, refactor processing 2022-08-05 10:39:58 -04:00
Mikhail f. Shiryaev
db0653758e Add typing to rerun and commit_status helpers 2022-07-26 14:22:11 +02:00
Yakov Olkhovskiy
baff8327b9 do not recreate Simple Check if already exists 2022-07-21 01:41:55 -04:00
Yakov Olkhovskiy
f30b54a392 fail_simple_check is added 2022-07-21 01:36:13 -04:00
alesapin
1a8b2c9637 Remove submodule changed 2022-03-29 19:50:06 +02:00
alesapin
9220bedb7d Add submodule changed 2022-03-29 19:28:18 +02:00
alesapin
d59941e4f6 Style 2022-03-29 19:15:25 +02:00
alesapin
d0f01516db Resurrect automatic labelling 2022-03-29 15:48:57 +02:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo 2022-03-22 17:39:58 +01:00
vdimir
2551adc416
Bugfix validate meta check 2022-03-18 16:31:19 +01:00
vdimir
cf70b79f74
Revert "Bugfix check requires either functional _or_ stateless test"
This reverts commit b8b64b1d15.
2022-03-14 15:43:15 +00:00
vdimir
b8b64b1d15
Bugfix check requires either functional _or_ stateless test 2022-03-14 13:09:53 +00:00
vdimir
6614d6eaaf
bugfix validate integration test 2022-03-11 12:50:33 +00:00
Mikhail f. Shiryaev
abd16ebf32
Force success aarch stateless tests 2022-01-12 17:07:59 +01:00
Mikhail f. Shiryaev
0e536d5ab0
Apply black to status_helper.py 2022-01-12 17:07:58 +01:00
alesapin
948fde52a7 Add retries for github api 2021-12-28 13:13:51 +03:00
Constantine Peresypkin
7c90d4f8e3 refactor CI tests 2021-12-03 12:22:50 +02:00
alesapin
373fda6eb8 More fixes 2021-11-12 15:36:25 +03:00