Skip to content

Commit 3e019e7

Browse files
committed
[Chore][Zeta] Resolve PR 10551 merge conflicts
2 parents 62b84bb + 6ee8f8d commit 3e019e7

1,284 files changed

Lines changed: 89696 additions & 14489 deletions

File tree

Some content is hidden

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

.asf.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ github:
4848
squash: true
4949
merge: false
5050
rebase: false
51+
pull_requests:
52+
allow_update_branch: true
5153
protected_branches:
5254
dev:
5355
required_status_checks:

.github/workflows/backend.yml

Lines changed: 43 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ jobs:
134134
api: ${{ steps.filter.outputs.api }}
135135
engine: ${{ steps.filter.outputs.engine }}
136136
engine-e2e: ${{ steps.filter.outputs.engine-e2e }}
137+
edge-agent: ${{ steps.filter.outputs.edge-agent }}
138+
edge-agent-e2e: ${{ steps.filter.outputs.edge-agent-e2e }}
137139
docs: ${{ steps.filter.outputs.docs }}
138140
ut-modules: ${{ steps.ut-modules.outputs.modules }}
139141
it-modules: ${{ steps.it-modules.outputs.modules }}
@@ -195,6 +197,18 @@ jobs:
195197
echo "engine-e2e=$true_or_false" >> $GITHUB_OUTPUT
196198
echo "engine-e2e_files=$file_list" >> $GITHUB_OUTPUT
197199
200+
edge_agent_e2e_files=`python tools/update_modules_check/check_file_updates.py ua $workspace apache/dev origin/$current_branch "seatunnel-e2e/seatunnel-edge-agent-e2e/**"`
201+
true_or_false=${edge_agent_e2e_files%%$'\n'*}
202+
file_list=${edge_agent_e2e_files#*$'\n'}
203+
echo "edge-agent-e2e=$true_or_false" >> $GITHUB_OUTPUT
204+
echo "edge-agent-e2e_files=$file_list" >> $GITHUB_OUTPUT
205+
206+
edge_agent_files=`python tools/update_modules_check/check_file_updates.py ua $workspace apache/dev origin/$current_branch "seatunnel-edge-agent/**"`
207+
true_or_false=${edge_agent_files%%$'\n'*}
208+
file_list=${edge_agent_files#*$'\n'}
209+
echo "edge-agent=$true_or_false" >> $GITHUB_OUTPUT
210+
echo "edge-agent_files=$file_list" >> $GITHUB_OUTPUT
211+
198212
api_files=`python tools/update_modules_check/check_file_updates.py ua $workspace apache/dev origin/$current_branch "seatunnel-api/**" "seatunnel-common/**" "seatunnel-config/**" "seatunnel-core/**" "seatunnel-e2e/seatunnel-e2e-common/**" "seatunnel-formats/**" "seatunnel-plugin-discovery/**" "seatunnel-transforms-v2/**" "seatunnel-translation/**" "seatunnel-e2e/seatunnel-transforms-v2-e2e/**" "pom.xml" "**/workflows/**" "tools/**" "seatunnel-dist/**"`
199213
true_or_false=${api_files%%$'\n'*}
200214
file_list=${api_files#*$'\n'}
@@ -433,7 +447,7 @@ jobs:
433447
run: |
434448
./mvnw -B -T 1 clean verify -DskipUT=false -DskipIT=true -D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates
435449
env:
436-
MAVEN_OPTS: -Xmx4096m
450+
MAVEN_OPTS: -Xmx4096m -Dfile.encoding=UTF-8
437451

438452
updated-modules-integration-test-part-1:
439453
needs: [ changes, sanity-check ]
@@ -505,7 +519,7 @@ jobs:
505519
matrix:
506520
java: [ '8', '11' ]
507521
os: [ 'ubuntu-latest' ]
508-
timeout-minutes: 210
522+
timeout-minutes: 300
509523
steps:
510524
- uses: actions/checkout@v4
511525
- name: Set up JDK ${{ matrix.java }}
@@ -626,7 +640,7 @@ jobs:
626640
matrix:
627641
java: [ '8', '11' ]
628642
os: [ 'ubuntu-latest' ]
629-
timeout-minutes: 120
643+
timeout-minutes: 210
630644
steps:
631645
- uses: actions/checkout@v4
632646
- name: Set up JDK ${{ matrix.java }}
@@ -657,7 +671,7 @@ jobs:
657671
matrix:
658672
java: [ '8', '11' ]
659673
os: [ 'ubuntu-latest' ]
660-
timeout-minutes: 120
674+
timeout-minutes: 210
661675
steps:
662676
- uses: actions/checkout@v4
663677
- name: Set up JDK ${{ matrix.java }}
@@ -705,6 +719,31 @@ jobs:
705719
env:
706720
MAVEN_OPTS: -Xmx4096m
707721

722+
edge-agent-it:
723+
needs: [ changes, sanity-check ]
724+
if: needs.changes.outputs.edge-agent == 'true' || needs.changes.outputs.edge-agent-e2e == 'true'
725+
runs-on: ${{ matrix.os }}
726+
strategy:
727+
matrix:
728+
java: [ '8', '11' ]
729+
os: [ 'ubuntu-latest' ]
730+
timeout-minutes: 120
731+
steps:
732+
- uses: actions/checkout@v4
733+
- name: Set up JDK ${{ matrix.java }}
734+
uses: actions/setup-java@v4
735+
with:
736+
java-version: ${{ matrix.java }}
737+
distribution: 'temurin'
738+
cache: 'maven'
739+
- name: free disk space
740+
run: tools/github/free_disk_space.sh
741+
- name: run seatunnel edge agent integration test
742+
run: |
743+
./mvnw -T 1 -B verify -DskipUT=false -DskipIT=false -D"license.skipAddThirdParty"=true -D"skip.ui"=true --no-snapshot-updates -pl :seatunnel-edge-agent-e2e -am -Pci
744+
env:
745+
MAVEN_OPTS: -Xmx4096m
746+
708747
engine-k8s-it:
709748
needs: [ changes, sanity-check ]
710749
if: needs.changes.outputs.api == 'true' || contains(needs.changes.outputs.it-modules, 'seatunnel-engine-k8s-e2e')
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
#
2+
# Licensed to the Apache Software Foundation (ASF) under one or more
3+
# contributor license agreements. See the NOTICE file distributed with
4+
# this work for additional information regarding copyright ownership.
5+
# The ASF licenses this file to You under the Apache License, Version 2.0
6+
# (the "License"); you may not use this file except in compliance with
7+
# the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
18+
name: Upgrade Compatibility
19+
20+
on:
21+
workflow_dispatch:
22+
inputs:
23+
old_version:
24+
description: "SeaTunnel release used to create the savepoint"
25+
required: false
26+
default: "2.3.13"
27+
scenario:
28+
description: "Restore scenario under tools/upgrade_compatibility/scenarios"
29+
required: false
30+
default: "all"
31+
schedule:
32+
- cron: "0 18 * * *"
33+
34+
concurrency:
35+
group: upgrade-compatibility-${{ github.ref }}
36+
cancel-in-progress: false
37+
38+
permissions:
39+
contents: read
40+
41+
jobs:
42+
cross-version-restore:
43+
name: Cross-version restore
44+
runs-on: ubuntu-latest
45+
timeout-minutes: 90
46+
env:
47+
OLD_SEATUNNEL_VERSION: ${{ github.event.inputs.old_version || '2.3.13' }}
48+
SCENARIO: ${{ github.event.inputs.scenario || 'all' }}
49+
steps:
50+
- uses: actions/checkout@v4
51+
52+
- uses: actions/setup-java@v4
53+
with:
54+
distribution: temurin
55+
java-version: "8"
56+
57+
- name: Free disk space
58+
run: bash tools/github/free_disk_space.sh
59+
60+
- name: Build current dev distribution
61+
run: >
62+
./mvnw -B -T 1 package
63+
-DskipTests
64+
-DskipIT=true
65+
-Dlicense.skipAddThirdParty=true
66+
-Dskip.ui=true
67+
-pl seatunnel-dist -am
68+
69+
- name: Run upgrade compatibility scenarios
70+
run: |
71+
if [ "${SCENARIO}" = "all" ]; then
72+
for scenario in generic-fake-localfile mysql-cdc-multitable-localfile; do
73+
SCENARIO="${scenario}" bash tools/upgrade_compatibility/run_upgrade_compatibility.sh
74+
done
75+
else
76+
bash tools/upgrade_compatibility/run_upgrade_compatibility.sh
77+
fi
78+
79+
- name: Upload compatibility logs
80+
if: failure()
81+
uses: actions/upload-artifact@v4
82+
with:
83+
name: upgrade-compatibility-logs
84+
path: target/upgrade-compatibility/runs/**/logs/*.log
85+
if-no-files-found: ignore

.gitignore

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ logs.zip
2323
*.iml
2424
.idea/*
2525

26+
# Eclipse / M2E files
27+
.classpath
28+
.factorypath
29+
.project
30+
.settings/
31+
2632
.DS_Store
2733

2834
metastore_db/
@@ -60,4 +66,7 @@ node/
6066

6167
dist/
6268

63-
seatunnel-engine/seatunnel-engine-server/**/ui/*
69+
seatunnel-engine/seatunnel-engine-server/**/ui/*
70+
71+
seatunnel-edge-agent/**/edge-agent.id
72+
seatunnel-edge-agent/**/tmp/

0 commit comments

Comments
 (0)