mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge pull request #33954 from ClickHouse/style-checker-aarch64
Add on-demand style-checker-aarch64 hosts
This commit is contained in:
commit
0eaeabd9d3
5
.github/actionlint.yml
vendored
5
.github/actionlint.yml
vendored
@ -1,8 +1,9 @@
|
|||||||
self-hosted-runner:
|
self-hosted-runner:
|
||||||
labels:
|
labels:
|
||||||
- builder
|
- builder
|
||||||
|
- func-tester
|
||||||
|
- func-tester-aarch64
|
||||||
- fuzzer-unit-tester
|
- fuzzer-unit-tester
|
||||||
- stress-tester
|
- stress-tester
|
||||||
- style-checker
|
- style-checker
|
||||||
- func-tester-aarch64
|
- style-checker-aarch64
|
||||||
- func-tester
|
|
||||||
|
2
.github/workflows/backport_branches.yml
vendored
2
.github/workflows/backport_branches.yml
vendored
@ -10,7 +10,7 @@ on: # yamllint disable-line rule:truthy
|
|||||||
- 'backport/**'
|
- 'backport/**'
|
||||||
jobs:
|
jobs:
|
||||||
DockerHubPushAarch64:
|
DockerHubPushAarch64:
|
||||||
runs-on: [self-hosted, func-tester-aarch64]
|
runs-on: [self-hosted, style-checker-aarch64]
|
||||||
steps:
|
steps:
|
||||||
- name: Clear repository
|
- name: Clear repository
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/docs_check.yml
vendored
2
.github/workflows/docs_check.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
python3 run_check.py
|
python3 run_check.py
|
||||||
DockerHubPushAarch64:
|
DockerHubPushAarch64:
|
||||||
needs: CheckLabels
|
needs: CheckLabels
|
||||||
runs-on: [self-hosted, func-tester-aarch64]
|
runs-on: [self-hosted, style-checker-aarch64]
|
||||||
steps:
|
steps:
|
||||||
- name: Clear repository
|
- name: Clear repository
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/docs_release.yml
vendored
2
.github/workflows/docs_release.yml
vendored
@ -20,7 +20,7 @@ on: # yamllint disable-line rule:truthy
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
jobs:
|
jobs:
|
||||||
DockerHubPushAarch64:
|
DockerHubPushAarch64:
|
||||||
runs-on: [self-hosted, func-tester-aarch64]
|
runs-on: [self-hosted, style-checker-aarch64]
|
||||||
steps:
|
steps:
|
||||||
- name: Clear repository
|
- name: Clear repository
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/master.yml
vendored
2
.github/workflows/master.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
cd "$GITHUB_WORKSPACE/tests/ci"
|
cd "$GITHUB_WORKSPACE/tests/ci"
|
||||||
python3 -m unittest discover -s . -p '*_test.py'
|
python3 -m unittest discover -s . -p '*_test.py'
|
||||||
DockerHubPushAarch64:
|
DockerHubPushAarch64:
|
||||||
runs-on: [self-hosted, func-tester-aarch64]
|
runs-on: [self-hosted, style-checker-aarch64]
|
||||||
steps:
|
steps:
|
||||||
- name: Clear repository
|
- name: Clear repository
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
python3 -m unittest discover -s . -p '*_test.py'
|
python3 -m unittest discover -s . -p '*_test.py'
|
||||||
DockerHubPushAarch64:
|
DockerHubPushAarch64:
|
||||||
needs: CheckLabels
|
needs: CheckLabels
|
||||||
runs-on: [self-hosted, func-tester-aarch64]
|
runs-on: [self-hosted, style-checker-aarch64]
|
||||||
steps:
|
steps:
|
||||||
- name: Clear repository
|
- name: Clear repository
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/release_branches.yml
vendored
2
.github/workflows/release_branches.yml
vendored
@ -13,7 +13,7 @@ on: # yamllint disable-line rule:truthy
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
DockerHubPushAarch64:
|
DockerHubPushAarch64:
|
||||||
runs-on: [self-hosted, func-tester-aarch64]
|
runs-on: [self-hosted, style-checker-aarch64]
|
||||||
steps:
|
steps:
|
||||||
- name: Clear repository
|
- name: Clear repository
|
||||||
run: |
|
run: |
|
||||||
|
@ -174,6 +174,7 @@ def group_runners_by_tag(listed_runners):
|
|||||||
"fuzzer-unit-tester",
|
"fuzzer-unit-tester",
|
||||||
"stress-tester",
|
"stress-tester",
|
||||||
"style-checker",
|
"style-checker",
|
||||||
|
"style-checker-aarch64",
|
||||||
]
|
]
|
||||||
for runner in listed_runners:
|
for runner in listed_runners:
|
||||||
for tag in runner.tags:
|
for tag in runner.tags:
|
||||||
|
@ -12,7 +12,7 @@ DIFF_IN_DOCUMENTATION_EXT = [".html", ".md", ".yml", ".txt", ".css", ".js", ".xm
|
|||||||
|
|
||||||
def get_pr_for_commit(sha, ref):
|
def get_pr_for_commit(sha, ref):
|
||||||
if not ref:
|
if not ref:
|
||||||
return
|
return None
|
||||||
try_get_pr_url = f"https://api.github.com/repos/{GITHUB_REPOSITORY}/commits/{sha}/pulls"
|
try_get_pr_url = f"https://api.github.com/repos/{GITHUB_REPOSITORY}/commits/{sha}/pulls"
|
||||||
try:
|
try:
|
||||||
response = requests.get(try_get_pr_url)
|
response = requests.get(try_get_pr_url)
|
||||||
|
Loading…
Reference in New Issue
Block a user