Skip to content

Migrate oceanbase-lite pipeline to gitlab-ci, add .gitlab-ci.yml and required script set: test/ci/*#875

Merged
hnwyllmm merged 1 commit into
masterfrom
task/2026052700116366654
Jul 1, 2026
Merged

Migrate oceanbase-lite pipeline to gitlab-ci, add .gitlab-ci.yml and required script set: test/ci/*#875
hnwyllmm merged 1 commit into
masterfrom
task/2026052700116366654

Conversation

@hnwyllmm

@hnwyllmm hnwyllmm commented Jun 10, 2026

Copy link
Copy Markdown
Member

Task Description

Migrate the oceanbase-lite pipeline to GitLab CI. Add the .gitlab-ci.yml configuration file and the required set of scripts located in test/ci/*.

Solution Description

Passed Regressions

Upgrade Compatibility

Other Information

Release Note

Pipeline for oceanbase-lite has been migrated to GitLab CI. The .gitlab-ci.yml file and supporting scripts in test/ci/ have been added.

@hnwyllmm

Copy link
Copy Markdown
Member Author

The mapping Dima issue is 【CI】Migrating oceanbase-lite pipeline to gitlab-ci

@hnwyllmm

Copy link
Copy Markdown
Member Author

test/bmsqltest/bmsqltest.farm.init.sql:22

Unnecessary changes, I'd say.

@hnwyllmm

Copy link
Copy Markdown
Member Author

test/bmsqltest/bmsqltest_obp.sh:1

This file isn't needed; we only use bmsqltest.sh.

@hnwyllmm

Copy link
Copy Markdown
Member Author

test/ci/templates/oceanbase_lite_src.yml:1

Let's take a look at the scheduling parameters and content from the master side. When initiating, we also need to include FARM2_TASK_ID and FARM2_TEMPLATE_NAME. The .gitlab-ci file acts merely as a trigger, which then schedules the subsequent specific YAML.

@hnwyllmm

Copy link
Copy Markdown
Member Author

.secignore:165

These are all unnecessary commits, please don't include them.

@hnwyllmm

Copy link
Copy Markdown
Member Author

tools/deploy/mysql_test/t/lower_case_2.test:33

These are the same—there shouldn't be any changes to the source code.

@hnwyllmm

Copy link
Copy Markdown
Member Author

test/sysbench_obp/sysbench_obp.sh:2

Without using _obp, just use sysbench.sh. The same goes for the other ones.

Consolidate the CI pipeline migration from farm2 into GitLab CI as a single clean commit for MR review.
@hnwyllmm hnwyllmm force-pushed the task/2026052700116366654 branch from 4e81bd6 to c2967dd Compare July 1, 2026 02:33
@hnwyllmm hnwyllmm merged commit 465a8ef into oceanbase:master Jul 1, 2026
3 of 4 checks passed
@hnwyllmm hnwyllmm deleted the task/2026052700116366654 branch July 1, 2026 02:33
@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/templates/oceanbase_lite_src.yml:882

They don't have ARM.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/templates/oceanbase_lite_src.yml:955

The task should follow the farm_for_standalone pipeline; currently, there are many extra steps they don't need to run.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/scripts/compat2_split_and_run.py:96

In the ob 4_3_5_release, there are some optimizations related to the slb_lock part.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/scripts/obtest_split_and_run.py:1

This file should be placed in the test/obtest directory, following the same directory structure as our main OB project. The same goes for other things like splits.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/scripts/obtest_split_and_run.py:1

The split files have been organized into their respective test job directories.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/scripts/compat2_split_and_run.py:96

test/ci/scripts/compat2_split_and_run.py was not referenced, so it has been removed.

@footka

footka commented Jul 1, 2026

Copy link
Copy Markdown
Member

test/ci/scripts/common/analyse_the_observer_log.py:340

seekdb.log

@footka

footka commented Jul 1, 2026

Copy link
Copy Markdown
Member

test/ci/scripts/common/bootstrap.sh:133

Things are a bit messy right now. It's actually seekdb, but some testing tools might have renamed it to 'observer' for compatibility reasons.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/scripts/common/analyse_the_observer_log.py:340

These follow-up tasks can be handled by the seekdb team. This also involves the location where output files are generated, which needs to be renamed.

@hnwyllmm

hnwyllmm commented Jul 1, 2026

Copy link
Copy Markdown
Member Author

test/ci/scripts/common/bootstrap.sh:133

We can make further adjustments later. For now, the main goal of this merge is to complete the migration first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants