Skip to content

Commit fde1808

Browse files
authored
Merge branch 'master' into enhance-medium-control
2 parents 3b935d8 + 170e293 commit fde1808

File tree

3,740 files changed

+280731
-45435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,740 files changed

+280731
-45435
lines changed

.asf.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ github:
5050
- Clang Formatter
5151
- CheckStyle
5252
- P0 Regression (Doris Regression)
53-
- NonConcurrent Regression (Doris Regression)
53+
- NonConcurrent Regression (nonConcurrent)
5454
- External Regression (Doris External Regression)
5555
- cloud_p0 (Doris Cloud Regression)
5656
- vault_p0 (Doris Cloud Regression)
@@ -77,13 +77,12 @@ github:
7777
- Clang Formatter
7878
- CheckStyle
7979
- Build Broker
80-
- Build Third Party Libraries (Linux)
8180
- FE UT (Doris FE UT)
8281
- BE UT (Doris BE UT)
8382
- Cloud UT (Doris Cloud UT)
8483
- COMPILE (DORIS_COMPILE)
8584
- P0 Regression (Doris Regression)
86-
- NonConcurrent Regression (Doris Regression)
85+
- NonConcurrent Regression (nonConcurrent)
8786
- External Regression (Doris External Regression)
8887
- cloud_p0 (Doris Cloud Regression)
8988
- vault_p0 (Doris Cloud Regression)
@@ -105,7 +104,7 @@ github:
105104
- Cloud UT (Doris Cloud UT)
106105
- COMPILE (DORIS_COMPILE)
107106
- P0 Regression (Doris Regression)
108-
- NonConcurrent Regression (Doris Regression)
107+
- NonConcurrent Regression (nonConcurrent)
109108
- External Regression (Doris External Regression)
110109
- cloud_p0 (Doris Cloud Regression)
111110
- vault_p0 (Doris Cloud Regression)
@@ -127,7 +126,7 @@ github:
127126
- Cloud UT (Doris Cloud UT)
128127
- COMPILE (DORIS_COMPILE)
129128
- P0 Regression (Doris Regression)
130-
- NonConcurrent Regression (Doris Regression)
129+
- NonConcurrent Regression (nonConcurrent)
131130
- External Regression (Doris External Regression)
132131
- cloud_p0 (Doris Cloud Regression)
133132
- vault_p0 (Doris Cloud Regression)
@@ -140,7 +139,6 @@ github:
140139
strict: false
141140
contexts:
142141
- License Check
143-
- Clang Formatter
144142
- CheckStyle
145143
- Build Broker
146144
- Build Third Party Libraries (Linux)
@@ -181,5 +179,7 @@ github:
181179
- yuanyuan8983
182180
- yz-jayhua
183181
- ixzc
182+
- deardeng
183+
- wyxxxcat
184184
notifications:
185185
pullrequests_status: commits@doris.apache.org

.github/workflows/auto-cherry-pick.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ permissions:
3131
jobs:
3232
auto_cherry_pick:
3333
runs-on: ubuntu-latest
34-
if: ${{(contains(github.event.pull_request.labels.*.name, 'dev/4.0.x') || contains(github.event.pull_request.labels.*.name, 'dev/3.1.x') || github.event.label.name == 'dev/4.0.x' || github.event.label.name == 'dev/3.1.x') && github.event.pull_request.merged == true }}
34+
if: ${{(contains(github.event.pull_request.labels.*.name, 'dev/4.0.x') || github.event.label.name == 'dev/4.0.x') && github.event.pull_request.merged == true }}
3535
steps:
3636
- name: Checkout repository
3737
uses: actions/checkout@v3
@@ -54,14 +54,7 @@ jobs:
5454
else
5555
echo "SHA matches: $calculated_sha"
5656
fi
57-
- name: Auto cherry-pick to branch-3.1
58-
if: ${{ ((github.event.action == 'labeled' && github.event.label.name == 'dev/3.1.x'))|| ((github.event_name == 'pull_request_target' && github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'dev/3.1.x')) }}
59-
env:
60-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61-
REPO_NAME: ${{ github.repository }}
62-
CONFLICT_LABEL: dev/3.1.x-conflict
63-
run: |
64-
python tools/auto-pick-script.py ${{ github.event.pull_request.number }} branch-3.1
57+
6558
- name: Auto cherry-pick to branch-4.0
6659
if: ${{ ((github.event.action == 'labeled' && github.event.label.name == 'dev/4.0.x'))|| ((github.event_name == 'pull_request_target' && github.event.action == 'closed') && contains(github.event.pull_request.labels.*.name, 'dev/4.0.x')) }}
6760
env:

.github/workflows/build-extension.yml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ jobs:
4040
outputs:
4141
broker_changes: ${{ steps.filter.outputs.broker_changes }}
4242
docs_changes: ${{ steps.filter.outputs.docs_changes }}
43+
cdc_client_changes: ${{ steps.filter.outputs.cdc_client_changes }}
4344
steps:
4445
- name: Checkout ${{ github.ref }}
4546
uses: actions/checkout@v3
@@ -53,9 +54,11 @@ jobs:
5354
with:
5455
filters: |
5556
broker_changes:
56-
- 'fs_brokers/**'
57+
- 'fs_brokers/apache_hdfs_broker/**'
5758
docs_changes:
5859
- 'docs/**'
60+
cdc_client_changes:
61+
- 'fs_brokers/cdc_client/**'
5962
build-broker:
6063
name: Build Broker
6164
needs: changes
@@ -92,6 +95,41 @@ jobs:
9295
- name: Build broker
9396
run: |
9497
cd fs_brokers/apache_hdfs_broker/ && /bin/bash build.sh
98+
build-cdc-client:
99+
name: Build Cdc Client
100+
needs: changes
101+
if: ${{ needs.changes.outputs.cdc_client_changes == 'true' }}
102+
runs-on: ubuntu-latest
103+
steps:
104+
- name: Checkout ${{ github.ref }}
105+
uses: actions/checkout@v3
106+
107+
- name: Setup java
108+
uses: actions/setup-java@v2
109+
with:
110+
distribution: adopt
111+
java-version: '17'
112+
113+
- name: Setup thrift
114+
run: |
115+
pushd thirdparty
116+
branch="${{ github.base_ref }}"
117+
if [[ -z "${branch}" ]] || [[ "${branch}" == 'master' || "${branch}" == 'branch-4.0' || "${branch}" == 'branch-3.0' || "${branch}" == 'branch-2.1' ]]; then
118+
curl -L https://github.com/apache/doris-thirdparty/releases/download/automation/doris-thirdparty-prebuilt-linux-x86_64.tar.xz \
119+
-o doris-thirdparty-prebuilt-linux-x86_64.tar.xz
120+
else
121+
curl -L "https://github.com/apache/doris-thirdparty/releases/download/automation-${branch/branch-/}/doris-thirdparty-prebuilt-linux-x86_64.tar.xz" \
122+
-o doris-thirdparty-prebuilt-linux-x86_64.tar.xz
123+
fi
124+
tar -xvf doris-thirdparty-prebuilt-linux-x86_64.tar.xz
125+
popd
126+
export PATH="${DEFAULT_DIR}/ldb-toolchain/bin/:$(pwd)/thirdparty/installed/bin/:${PATH}"
127+
128+
thrift --version
129+
130+
- name: Build cdc client
131+
run: |
132+
cd fs_brokers/cdc_client/ && /bin/bash build.sh
95133
# build-docs:
96134
# name: Build Documents
97135
# needs: changes

.github/workflows/build-thirdparty.yml

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,17 @@ jobs:
6565
run: |
6666
git clone -b v7 https://github.com/easimon/maximize-build-space
6767
68-
- name: Maximize build space
69-
uses: ./maximize-build-space
70-
with:
71-
root-reserve-mb: 4096
72-
swap-size-mb: 8192
73-
remove-dotnet: 'true'
74-
remove-android: 'true'
75-
remove-haskell: 'true'
76-
remove-codeql: 'true'
77-
remove-docker-images: 'true'
68+
#- name: Maximize build space
69+
# uses: ./maximize-build-space
70+
# with:
71+
# root-reserve-mb: 4096
72+
# temp-reserve-mb: 4096
73+
# swap-size-mb: 8192
74+
# remove-dotnet: 'true'
75+
# remove-android: 'true'
76+
# remove-haskell: 'true'
77+
# remove-codeql: 'true'
78+
# remove-docker-images: 'true'
7879

7980
- name: Checkout ${{ github.ref }}
8081
uses: actions/checkout@v4
@@ -135,8 +136,18 @@ jobs:
135136
export CMAKE_POLICY_VERSION_MINIMUM=3.10
136137
export CUSTOM_CMAKE="/usr/local/bin/cmake"
137138
139+
#export TMPDIR=/home/runner/work/doris/doris/.tmp
140+
#export TMP=$TMPDIR
141+
#export TEMP=$TMPDIR
142+
#mkdir -p $TMPDIR
143+
144+
df -h
145+
echo $TMPDIR
146+
echo $RUNNER_TEMP
147+
138148
cd thirdparty
139-
./build-thirdparty.sh -j "$(nproc)"
149+
#./build-thirdparty.sh -j "$(nproc)"
150+
./build-thirdparty.sh -j 2
140151
141152
build_macos:
142153
name: Build Third Party Libraries (macOS)
@@ -195,7 +206,12 @@ jobs:
195206
export CMAKE_POLICY_VERSION_MINIMUM=3.10
196207
export CUSTOM_CMAKE="/usr/local/bin/cmake"
197208
209+
df -h
210+
echo $TMPDIR
211+
echo $RUNNER_TEMP
212+
198213
cd thirdparty
214+
#./build-thirdparty.sh -j "$(nproc)"
199215
./build-thirdparty.sh -j "$(nproc)"
200216
201217
build_macos_arm64:
@@ -255,6 +271,11 @@ jobs:
255271
export CMAKE_POLICY_VERSION_MINIMUM=3.10
256272
export CUSTOM_CMAKE="/usr/local/bin/cmake"
257273
274+
df -h
275+
echo $TMPDIR
276+
echo $RUNNER_TEMP
277+
258278
cd thirdparty
259-
./build-thirdparty.sh -j "$(nproc)"
279+
#./build-thirdparty.sh -j "$(nproc)"
280+
./build-thirdparty.sh -j 2
260281

.github/workflows/sonarcloud.yml

Lines changed: 0 additions & 158 deletions
This file was deleted.

0 commit comments

Comments
 (0)