Skip to content
Success

Changes

Summary

  1. opt(pipelines/pingcap/ticdc/latest): save the main flow pod for classic (commit: 43a77d4) (details)
Commit 43a77d4e4d57b6c6c33192d719eef0053d889db1 by noreply
opt(pipelines/pingcap/ticdc/latest): save the main flow pod for classic CI jobs (#4106)

This pull request refactors several TiCDC integration test pipelines to
streamline the build and preparation stages. The main improvements
include merging the checkout and preparation steps into a single stage,
introducing per-stage agents, and improving caching for downstream test
stages. These changes make the pipelines more efficient and easier to
maintain.

**Pipeline structure improvements:**

* Merged the "Checkout" and "Prepare" stages into a single `Checkout &
Prepare` stage in all affected pipelines, reducing redundancy and
improving clarity.
[[1]](diffhunk://#diff-c73fd0d85ab95a1dbdcb5cabc92969d7274aed9a02bf590762f8b54210add373L41-R54)
[[2]](diffhunk://#diff-735ec4a4296b8e7f5ed8a2044e3f06fd5d14a9d49e8c6bf1dbb4a4f8cf33cd92L41-R54)
[[3]](diffhunk://#diff-b21919d36b64c128f60d8f347fa28341be804b4605a82b35f60b194201d0fc1dL38-R51)
[[4]](diffhunk://#diff-23ba138e4d98d3427be704ca62ad3bd5fe864f937f9d678b7940678c09ebcde3L41-R54)
[[5]](diffhunk://#diff-1fcfbc438d4fe398d709a843a87ea07348406dfac4e5459380b42963df34401bL42-R55)
* Changed the pipeline-level `agent` from a Kubernetes agent to `agent
none`, and moved the Kubernetes agent definition to the new `Checkout &
Prepare` stage, allowing for more flexible agent assignment in other
stages.
[[1]](diffhunk://#diff-c73fd0d85ab95a1dbdcb5cabc92969d7274aed9a02bf590762f8b54210add373L25-R25)
[[2]](diffhunk://#diff-735ec4a4296b8e7f5ed8a2044e3f06fd5d14a9d49e8c6bf1dbb4a4f8cf33cd92L25-R25)
[[3]](diffhunk://#diff-b21919d36b64c128f60d8f347fa28341be804b4605a82b35f60b194201d0fc1dL22-R22)
[[4]](diffhunk://#diff-23ba138e4d98d3427be704ca62ad3bd5fe864f937f9d678b7940678c09ebcde3L25-R25)
[[5]](diffhunk://#diff-1fcfbc438d4fe398d709a843a87ea07348406dfac4e5459380b42963df34401bL26-R26)

**Build and caching enhancements:**

* Added comments and structure to clarify the steps for checking out
code, building binaries, and downloading additional required binaries.
[[1]](diffhunk://#diff-c73fd0d85ab95a1dbdcb5cabc92969d7274aed9a02bf590762f8b54210add373L41-R54)
[[2]](diffhunk://#diff-735ec4a4296b8e7f5ed8a2044e3f06fd5d14a9d49e8c6bf1dbb4a4f8cf33cd92L41-R54)
[[3]](diffhunk://#diff-b21919d36b64c128f60d8f347fa28341be804b4605a82b35f60b194201d0fc1dL38-R51)
[[4]](diffhunk://#diff-23ba138e4d98d3427be704ca62ad3bd5fe864f937f9d678b7940678c09ebcde3L41-R54)
[[5]](diffhunk://#diff-1fcfbc438d4fe398d709a843a87ea07348406dfac4e5459380b42963df34401bL42-R55)
* Improved binary caching by ensuring built artifacts are cached for use
in downstream test stages, reducing redundant builds and speeding up
pipeline execution.
[[1]](diffhunk://#diff-c73fd0d85ab95a1dbdcb5cabc92969d7274aed9a02bf590762f8b54210add373R96)
[[2]](diffhunk://#diff-735ec4a4296b8e7f5ed8a2044e3f06fd5d14a9d49e8c6bf1dbb4a4f8cf33cd92R94)
[[3]](diffhunk://#diff-b21919d36b64c128f60d8f347fa28341be804b4605a82b35f60b194201d0fc1dR92)
[[4]](diffhunk://#diff-23ba138e4d98d3427be704ca62ad3bd5fe864f937f9d678b7940678c09ebcde3R96)
[[5]](diffhunk://#diff-1fcfbc438d4fe398d709a843a87ea07348406dfac4e5459380b42963df34401bR97)
* Explicitly added a step for downloading other binaries needed for the
tests, improving clarity and reproducibility.
[[1]](diffhunk://#diff-c73fd0d85ab95a1dbdcb5cabc92969d7274aed9a02bf590762f8b54210add373R67)
[[2]](diffhunk://#diff-735ec4a4296b8e7f5ed8a2044e3f06fd5d14a9d49e8c6bf1dbb4a4f8cf33cd92R65)
[[3]](diffhunk://#diff-b21919d36b64c128f60d8f347fa28341be804b4605a82b35f60b194201d0fc1dR63)
[[4]](diffhunk://#diff-23ba138e4d98d3427be704ca62ad3bd5fe864f937f9d678b7940678c09ebcde3R67)
[[5]](diffhunk://#diff-1fcfbc438d4fe398d709a843a87ea07348406dfac4e5459380b42963df34401bR68)

These changes collectively improve pipeline maintainability, execution
speed, and clarity for future contributors.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
(commit: 43a77d4)
The file was modifiedpipelines/pingcap/ticdc/latest/pull_cdc_pulsar_integration_light/pipeline.groovy (diff)
The file was modifiedpipelines/pingcap/ticdc/latest/pull_cdc_kafka_integration_heavy/pipeline.groovy (diff)
The file was modifiedpipelines/pingcap/ticdc/latest/pull_cdc_mysql_integration_heavy/pipeline.groovy (diff)
The file was modifiedpipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_heavy/pipeline.groovy (diff)
The file was modifiedpipelines/pingcap/ticdc/latest/pull_cdc_storage_integration_light/pipeline.groovy (diff)