Commit Graph

192 Commits

Author SHA1 Message Date
Pxl
feae3a57ef [Chore](workflow) change workflow's thirdparty prebuild to 3.0 (#53638)
change workflow's thirdparty prebuild to 3.0
2025-07-22 18:00:10 +08:00
1deb221f8c branch-2.1: [chore](ci)Replace local setup-maven with setup-java for more stable and simplified Maven setup #52229 (#52257)
Cherry-picked from #52229

Co-authored-by: Calvin Kirs <guoqiang@selectdb.com>
2025-06-28 11:13:19 +08:00
2c52a7044a [chore](GA)Create CODEOWNERS (#48871) 2025-03-10 18:04:35 +08:00
1668d9ddc6 [fix](ci) adjust thirdparth download url (#48552) 2025-03-03 15:58:55 +08:00
5d2930e783 [fix](shellcheck) fix hive-metastore and enable shellcheck in docker (#46496) (#46574)
cherry-pick (#46496)

Co-authored-by: Socrates <suyiteng@selectdb.com>
2025-01-08 11:10:34 +08:00
b4db543eaa [chore](ci) macOS-12 environment is deprecated, switch to macOS-13 (#45185) 2024-12-09 14:37:02 +08:00
2cbfa02a5f [chore](autopick)Delete Auto Pick Branch (#44225) 2024-11-19 10:44:19 +08:00
493b1d8469 [Fix](auto-pick)Allow doris-robot to trigger the workflow (#43190)
### What problem does this PR solve?
<!--
You need to clearly describe your PR in this part:

1. What problem was fixed (it's best to include specific error reporting
information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what
is it now, why was it modified, and what possible impacts might there
be.
3. What features were added. Why this function was added.
4. Which codes were refactored and why this part of the code was
refactored.
5. Which functions were optimized and what is the difference before and
after the optimization.

The description of the PR needs to enable reviewers to quickly and
clearly understand the logic of the code modification.
-->

<!--
If there are related issues, please fill in the issue number.
- If you want the issue to be closed after the PR is merged, please use
"close #12345". Otherwise, use "ref #12345"
-->
Issue Number: close #xxx

<!--
If this PR is followup a preivous PR, for example, fix the bug that
introduced by a related PR,
link the PR here
-->
Related PR: #xxx

Problem Summary:

### Check List (For Committer)

- Test <!-- At least one of them must be included. -->

    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No colde files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:

    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?

    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

- Release note

    <!-- bugfix, feat, behavior changed need a release note -->
    <!-- Add one line release note for this PR. -->
    None

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2024-11-04 12:10:24 +08:00
c0b7374020 [Fix](auto-pick)Allow doris-robot to trigger the workflow (#43166) (#43176)
### What problem does this PR solve?
 https://github.com/orgs/community/discussions/55906

Due to security restrictions, the GitHub Actions bot cannot trigger
workflows directly. Instead, we use doris-robot to initiate other CI
runs. Only automatically generated PRs will prompt doris-robot to
comment, and we verify the author and content to determine whether a
workflow should be triggered. This approach does not affect the original
CI process; it simply adds an additional trigger condition.

### Check List (For Committer)

- Test <!-- At least one of them must be included. -->

    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [x] No need to test or manual test. Explain why:
- [x] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change. - [ ] No colde files have
been changed. - [ ] Other reason <!-- Add your reason? -->

- Behavior changed:

    - [x] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?

    - [x] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

- Release note

    <!-- bugfix, feat, behavior changed need a release note -->
    <!-- Add one line release note for this PR. -->
    None

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->

(cherry picked from commit f04f0449268bd2f7251e32b867da223643bb7c4a)

### What problem does this PR solve?
<!--
You need to clearly describe your PR in this part:

1. What problem was fixed (it's best to include specific error reporting
information). How it was fixed.
2. Which behaviors were modified. What was the previous behavior, what
is it now, why was it modified, and what possible impacts might there
be.
3. What features were added. Why this function was added.
4. Which codes were refactored and why this part of the code was
refactored.
5. Which functions were optimized and what is the difference before and
after the optimization.

The description of the PR needs to enable reviewers to quickly and
clearly understand the logic of the code modification.
-->

<!--
If there are related issues, please fill in the issue number.
- If you want the issue to be closed after the PR is merged, please use
"close #12345". Otherwise, use "ref #12345"
-->
Issue Number: close #xxx

<!--
If this PR is followup a preivous PR, for example, fix the bug that
introduced by a related PR,
link the PR here
-->
Related PR: #xxx

Problem Summary:

### Check List (For Committer)

- Test <!-- At least one of them must be included. -->

    - [ ] Regression test
    - [ ] Unit Test
    - [ ] Manual test (add detailed scripts or steps below)
    - [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
        - [ ] Previous test can cover this change.
        - [ ] No colde files have been changed.
        - [ ] Other reason <!-- Add your reason?  -->

- Behavior changed:

    - [ ] No.
    - [ ] Yes. <!-- Explain the behavior change -->

- Does this need documentation?

    - [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->

- Release note

    <!-- bugfix, feat, behavior changed need a release note -->
    <!-- Add one line release note for this PR. -->
    None

### Check List (For Reviewer who merge this PR)

- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR
should merge into -->
2024-11-04 11:32:50 +08:00
736bb161b1 [ci](ga) skip scope-label (#41612) (#41848)
bp #41612
2024-10-15 14:02:21 +08:00
6f239ebcdd Branch 2.1 clang format error fix (#40609)
## Proposed changes

bp #40581
2024-09-10 16:29:20 +08:00
170e87a17a [branch-2.1](github) remove need 2 approval workflow (#35985)
branch-2.1 does not need this workflow
2024-06-06 17:06:49 +08:00
dc8d7fb6b4 [github](pr) simplify the PR template (#35551)
bp #35550
2024-05-28 19:52:28 +08:00
5053ac2b59 [improve](CI)Core modules require maintainer review (#32468) 2024-04-17 23:42:13 +08:00
e214eb1ea7 [chore](ci) fix ci check (#32992)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-04-10 11:34:30 +08:00
a4f9eec810 [chore](third-party) Link protobuf with zlib statically (#31173)
We should link protobuf with libz.a explicitly, otherwise protoc may not be executable due to the missing libz.1.dylib.
2024-02-21 13:53:39 +08:00
f0eeb45355 [chore](ci) trigger a must success pipeline (#30711)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-02-01 23:14:14 +08:00
8deeaef61b [Chore](workflow)delete auto-reply workflow (#30626)
auto-reply not working due to permission issue
Comments on the fork repository failed due to permission issues
We will instead use Github App to listen for events and then comment.
2024-01-31 23:53:39 +08:00
8c6e5202d4 [chore](ci) remove some unused code (#30253)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-01-24 09:58:31 +08:00
ec898f2677 Revert "[ci](perf) add required (#30155)" (#30165)
This reverts commit f9c274c338afbe14f97cc16d1327e9a548e524b3.
2024-01-23 10:07:51 +08:00
7cc85f893c [ci](perf) add required (#30155)
Co-authored-by: stephen <hello-stephen@qq.com>
2024-01-23 10:07:10 +08:00
542cfb37b0 [ci](perf) adjust performance pipeline (#29622)
remove old tpch trigger
branch-2.0 also run performance
2024-01-12 11:52:47 +08:00
9c57483aa3 [ci](trigger) only master run performance check (#29290)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-12-29 17:01:31 +08:00
02b27c1673 [ci](trigger) support "run performance" (#29259)
* [ci](trigger) support "run performance"
Co-authored-by: stephen <hello-stephen@qq.com>
2023-12-29 14:21:23 +08:00
d456515675 [fix](ci) fix bug when comment endwith \r (#27742)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-11-29 13:39:51 +08:00
3d0dc94b18 [fix](ci) fix bug that "run build\n" not trigger pipeline (#27617)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-11-27 16:23:42 +08:00
ab739a6cdc [Chore](workflow)Fix Pr comment not worker (#27400) 2023-11-23 18:17:31 +08:00
c332811721 [fix](ci) fix bug of new trigger (#27379)
* [fix](ci) fix bug of new trigger
Co-authored-by: stephen <hello-stephen@qq.com>
2023-11-22 10:35:39 +08:00
e7a2b7b862 [comm](github) add submodule create-or-update-comment (#27301) 2023-11-22 10:24:38 +08:00
34f500ac2a [github](action) optimize trigger teamcity pipeline (#27257)
optimize triiger teamcity pipeline
2023-11-22 09:34:47 +08:00
ab16d0f473 [com](github) add auto replay on new PR to show how to run pipeline (#27219) 2023-11-19 17:01:38 +08:00
0e0cd3b256 [fix](action) Update pr-approve-status.yml (#26577)
According to https://docs.github.com/en/rest/pulls/reviews?apiVersion=2022-11-28#list-reviews-for-a-pull-request,
the number of results per page default is 30 (max 100).
review of  APPROVED after 30 will not be listed,
change to 100 to fix it.
2023-11-10 17:01:37 +08:00
0af8223894 [chore](ci) support to run regression pipeline mutiple times (#26701)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-11-09 20:16:38 +08:00
1fc360df19 [ci](p0) support run p0 10 times (#26603)
* [ci](p0) support run mutiple time

Co-authored-by: stephen <hello-stephen@qq.com>
2023-11-08 21:25:55 +08:00
f4cbbe6429 [chore](workflow) Fix security issues with pull_request_target (#26525)
In the workflow Code Checks, we use the event pull_request_target which has write permission to enable the actions to comment on our PRs. We should be careful with the write permission and must forbid from running any user code. The previous PR #24761 tried its best to achieve this goal.
However, there is a scenario lacking of consideration (See #26494). #26494 attacks the workflow by git submodule way. This PR fixes this scenario by checkouting the external action explicitly in the workflow.
2023-11-08 11:23:13 +08:00
efd1aa3016 [Revert](code-style) revert FE code-format #25033 and #26488 (#26505) 2023-11-07 16:37:24 +08:00
d088cba2b1 [feature](code-style)add spotless plugin (#25033) 2023-11-06 14:01:39 +08:00
f3e6bcebd7 [github](action) re-add "Add Scope Labeler" and add new label "meta-change" (#25907)
---------

Co-authored-by: stephen <hello-stephen@qq.com>
2023-10-26 09:17:22 +08:00
5e5a331de4 [fix](trigger) fix pipeline bug that does not trigger Doris_Performance_Clickbench_ClickbenchNew (#25827)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-10-24 16:28:01 +08:00
17004c4a29 [ci](pipeline) add pipelinex_p0 (#25638)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-10-23 10:01:08 +08:00
387a9c7448 [build](extension) Update build-extension.yml (#25721) 2023-10-21 16:52:55 +08:00
08f305dd79 [chore](build) Fix compilation errors reported by GCC-13 (#25439)
1. Fix lots of compilation errors reported by GCC-13.
2. Fix the workflow BE UT (macOS).
2023-10-15 07:57:36 -05:00
0170a63c40 [fix](workflow) checkout the pr, not the base (#25310)
Co-authored-by: stephen <hello-stephen@qq.com>
checkout the pr, not the base
2023-10-11 16:50:25 +08:00
fbbaf929ee [chore](workflow) 2/2, auto trigger "License Check" and "BE Code Formatter" instead of after approval (#25101)
Co-authored-by: stephen <hello-stephen@qq.com>
2023-10-09 15:57:30 +08:00
e9ef6c7da7 [chore](workflow) Fix security issues in Code Checks (#24761)
The workflow `Code Checks` needs write permissions granted by the event `pull_request_target` to comment on pull requests. However, if the workflow ran users' code, the malicious code would do some dangerous actions on our repository.

The following changes are made in this PR:
1. Instead of applying patches, we use `sed` to modify the `entrypoint.sh` in action-sh-checker explicitly in the workflow.
2. Revoke the write permissions when generating `compile_commands.json` which is produced by executing the build script `build.sh`.
2023-09-22 10:39:39 +08:00
Pxl
bc0f5dfd8f [Chore](checks) move sonar config file to be(#24712)
move sonar config file to be
2023-09-21 15:16:26 +08:00
Pxl
7f7ec496cd [Chore](checks) fix sonarcloud properties have wrong path (#24517)
fix sonarcloud properties have wrong path
2023-09-18 11:11:53 +08:00
Pxl
dd2c455057 [Chore](checks) set sonar-project.properties (#24473)
set sonar-project.properties
2023-09-16 18:46:11 +08:00
Pxl
5286899a71 [Chore](workflow) remove be-ut-clang workflow (#24463)
remove be-ut-clang workflow
2023-09-15 19:09:54 +08:00
Pxl
5ba2a19cd2 [Chore](check) change sonarcloud github action to c/cpp action (#24433)
change sonarcloud github action to c/cpp action
2023-09-15 14:55:36 +08:00