<freeStyleBuild _class='hudson.model.FreeStyleBuild'><action _class='hudson.model.CauseAction'><cause _class='com.cloudbees.jenkins.GitHubPushCause'><shortDescription>Started by GitHub push by wuhuizuo</shortDescription></cause></action><action></action><action _class='jenkins.metrics.impl.TimeInQueueAction'><blockedDurationMillis>0</blockedDurationMillis><blockedTimeMillis>0</blockedTimeMillis><buildableDurationMillis>19100</buildableDurationMillis><buildableTimeMillis>19100</buildableTimeMillis><buildingDurationMillis>54063</buildingDurationMillis><executingTimeMillis>54063</executingTimeMillis><executorUtilization>1.0</executorUtilization><subTaskCount>0</subTaskCount><waitingDurationMillis>9715</waitingDurationMillis><waitingTimeMillis>9715</waitingTimeMillis></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><originmain _class='hudson.plugins.git.util.Build'><buildNumber>1458</buildNumber><marked><SHA1>5af2ded9bd3613eb1978dcaf1a19fe268487368b</SHA1><branch><SHA1>5af2ded9bd3613eb1978dcaf1a19fe268487368b</SHA1><name>origin/main</name></branch></marked><revision><SHA1>5af2ded9bd3613eb1978dcaf1a19fe268487368b</SHA1><branch><SHA1>5af2ded9bd3613eb1978dcaf1a19fe268487368b</SHA1><name>origin/main</name></branch></revision></originmain></buildsByBranchName><lastBuiltRevision><SHA1>5af2ded9bd3613eb1978dcaf1a19fe268487368b</SHA1><branch><SHA1>5af2ded9bd3613eb1978dcaf1a19fe268487368b</SHA1><name>origin/main</name></branch></lastBuiltRevision><remoteUrl>https://github.com/PingCAP-QE/ci.git</remoteUrl><scmName></scmName></action><action></action><action></action><action></action><action></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><displayName>#1458</displayName><duration>54063</duration><estimatedDuration>50732</estimatedDuration><fullDisplayName>seed #1458</fullDisplayName><id>1458</id><inProgress>false</inProgress><keepLog>false</keepLog><number>1458</number><queueId>3362428</queueId><result>SUCCESS</result><timestamp>1772605178216</timestamp><url>https://do.pingcap.net/jenkins/job/seed/1458/</url><builtOn>default-v9f6t</builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tekton/v1/triggers/triggers/env-gcp/pingcap-inc/tidb/git-create-tag.yaml</affectedPath><affectedPath>prow-jobs/pingcap-inc/tidb/release-presubmits.yaml</affectedPath><affectedPath>tekton/v1/triggers/triggers/env-gcp/pingcap-inc/ticdc/git-create-tag.yaml</affectedPath><affectedPath>tekton/v1/triggers/bindings/gcp-internal-build-params.yaml</affectedPath><affectedPath>tekton/v1/triggers/bindings/kustomization.yaml</affectedPath><affectedPath>prow-jobs/pingcap-inc/ticdc/release-presubmits.yaml</affectedPath><affectedPath>prow-jobs/kustomization.yaml</affectedPath><affectedPath>tekton/v1/triggers/triggers/env-gcp/kustomization.yaml</affectedPath><commitId>5af2ded9bd3613eb1978dcaf1a19fe268487368b</commitId><timestamp>1772595275000</timestamp><author><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>feat(prow,tekton): support CI/CD for active-active repos pingcap-inc/tidb and pingcap-inc/ticdc (#4282)

- [x] Explore repo structure and understand existing patterns
- [x] Create CI (prow jobs) for `pingcap-inc/tidb` with `release-*`
branches
- [x] Create CI (prow jobs) for `pingcap-inc/ticdc` with `release-*`
branches
- [x] Update `prow-jobs/kustomization.yaml` via
`.ci/update-prow-job-kustomization.sh`
- [x] Create new Tekton trigger binding `gcp-internal-build-params`
(internal registry without org)
- [x] Create Tekton CD trigger for `pingcap-inc/tidb` git tag create
(linux only, GCP env)
- [x] Create Tekton CD trigger for `pingcap-inc/ticdc` git tag create
(linux only, GCP env)
- [x] Update `tekton/v1/triggers/bindings/kustomization.yaml`
- [x] Update `tekton/v1/triggers/triggers/env-gcp/kustomization.yaml`
- [x] Address review feedback:
- Relaxed branch patterns to `^release-.*$` for both tidb and ticdc prow
jobs
- Changed prow job names to use `pingcap/*` prefix to reuse existing
Jenkins jobs
  - Moved Tekton triggers from `env-prod2` to `env-gcp`
- Fixed registry binding:
`us-docker.pkg.dev/pingcap-testing-account/internal` (no org)
- [x] Change ticdc prow job label `master` from `"0"` to `"1"`

&lt;!-- START COPILOT ORIGINAL PROMPT --&gt;



&lt;details&gt;

&lt;summary&gt;Original prompt&lt;/summary&gt;

&gt; 
&gt; ----
&gt; 
&gt; *This section details on the original issue you should resolve*
&gt; 
&gt; &lt;issue_title&gt;Support CI/CD jobs for active-active project
repos&lt;/issue_title&gt;
&gt; &lt;issue_description&gt;## repos and branches
&gt; - repos: `pingcap-inc/tidb`, `pingcap-inc/ticdc`
&gt;   &gt; it's hard forked from `pingcap/tidb` and `pingcap/ticdc`
&gt; - branches: `release-*`
&gt; 
&gt; ## CI support
&gt; - support for branch `release-*` like we did for `pingcap/tidb` and
`pingcap/ticdc` repo's release-8.5 branches.
&gt; - do not create new Jenkins jobs, reuse the jobs as the `pingcap/tidb`
repo and `pingcap/ticdc` repo, only need to create new prow jobs to
support the new 2 repos.
&gt; 
&gt; ## CD support
&gt; &gt; here the CD flows and config defined in `tekton/v1`, we need to add
triggers and trigger template for them.
&gt; 
&gt; - only need to build with release profile and linux platforms for
these two repositories.
&gt; - should use different image repositories form the new git
repositories, let's set the image repo as `*/internal/&lt;org&gt;/&lt;repo&gt;/*`
rather than `*/hub/&lt;org&gt;/&lt;repo&gt;/*`, define a trigger binding and use it
in the triggers.
&gt; - support build for git tag create events.&lt;/issue_description&gt;
&gt; 
&gt; ## Comments on the Issue (you are @copilot in this section)
&gt; 
&gt; &lt;comments&gt;
&gt; &lt;/comments&gt;
&gt; 


&lt;/details&gt;



&lt;!-- START COPILOT CODING AGENT SUFFIX --&gt;

- Fixes PingCAP-QE/ci#4281

&lt;!-- START COPILOT CODING AGENT TIPS --&gt;
---

💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.

---------

Co-authored-by: copilot-swe-agent[bot] &lt;198982749+Copilot@users.noreply.github.com&gt;
Co-authored-by: ti-chi-bot &lt;71242396+ti-chi-bot@users.noreply.github.com&gt;
Co-authored-by: wuhuizuo &lt;2574558+wuhuizuo@users.noreply.github.com&gt;
</comment><date>2026-03-04 03:34:35 +0000</date><id>5af2ded9bd3613eb1978dcaf1a19fe268487368b</id><msg>feat(prow,tekton): support CI/CD for active-active repos</msg><path><editType>edit</editType><file>prow-jobs/kustomization.yaml</file></path><path><editType>add</editType><file>tekton/v1/triggers/bindings/gcp-internal-build-params.yaml</file></path><path><editType>add</editType><file>tekton/v1/triggers/triggers/env-gcp/pingcap-inc/ticdc/git-create-tag.yaml</file></path><path><editType>add</editType><file>prow-jobs/pingcap-inc/ticdc/release-presubmits.yaml</file></path><path><editType>add</editType><file>tekton/v1/triggers/triggers/env-gcp/pingcap-inc/tidb/git-create-tag.yaml</file></path><path><editType>edit</editType><file>tekton/v1/triggers/bindings/kustomization.yaml</file></path><path><editType>add</editType><file>prow-jobs/pingcap-inc/tidb/release-presubmits.yaml</file></path><path><editType>edit</editType><file>tekton/v1/triggers/triggers/env-gcp/kustomization.yaml</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://do.pingcap.net/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></culprit></freeStyleBuild>