Skip to content
Success

Changes

Summary

  1. feat(tekton/v1/triggers): add Tekton triggers and templates for CI (commit: abc1fe1) (details)
Commit abc1fe166543e76df764ee1c93f6b976099c66f8 by noreply
feat(tekton/v1/triggers): add Tekton triggers and templates for CI automation (#3766)

This pull request introduces several new Tekton TriggerTemplates and a
Kustomize manifest to streamline CI/CD workflows for building
components, handling PRs, and automating repository maintenance tasks.
The changes provide flexible templates for multi-platform and
single-platform builds, helper tasks for PRs, and automation for
updating documentation and syncing owner files.

**Build and CI Pipeline Templates:**

* Added `build-component-all-platforms.yaml`,
`build-component-single-platform.yaml`, and `build-component.yaml`
templates to support building components across multiple platforms
(Linux and Darwin, amd64 and arm64) with configurable parameters for
resources, workspace size, and build profiles. These templates
standardize pipeline runs and resource allocation for various build
scenarios.
[[1]](diffhunk://#diff-f9bca15fc3e8dcd48ed51fe3c64d652666be6952ee8ef6b7e2670effe22478c3R1-R299)
[[2]](diffhunk://#diff-d017170fd58f6b5f5bcf39e5a4c09fd4704cd6bc300f71dec7388e604f59b2faR1-R118)
[[3]](diffhunk://#diff-dcd409d8cbdbb7016725a94e441b41b3469ab3788e5757c8376ae17c8f0b2a02R1-R180)

* Introduced `ci-helper-for-pr.yaml` TriggerTemplate to facilitate CI
tasks related to pull requests, including parameterized execution and
secure access to GitHub credentials.

**Repository Maintenance Automation:**

* Added `bump-placeholder-version-in-readme.yaml` and
`sync-owners-for-hotfix-branch.yaml` templates to automate documentation
updates and synchronize owner files for hotfix branches, improving
consistency and reducing manual intervention.
[[1]](diffhunk://#diff-23e99587153e95470104cf025ed9352d6307d11aa694d3fcf2214c8ac657fd8eR1-R29)
[[2]](diffhunk://#diff-5504c262d1928bdf0f299d0fe49585e5aee91673944a66b4c8cf9bb0be05899bR1-R33)

**Manifest Management:**

* Created `kustomization.yaml` to aggregate the new templates and
related resources, enabling easier deployment and management of Tekton
pipelines using Kustomize.
(commit: abc1fe1)
The file was addedtekton/v1/triggers/triggers/_/git-create-branch.yaml
The file was addedtekton/v1/triggers/triggers/tikv/tikv/git-create-branch.yaml
The file was addedtekton/v1/triggers/triggers/_/git-create-branch-gomod-update.yaml
The file was addedtekton/v1/triggers/triggers/kustomization.yaml
The file was addedtekton/v1/triggers/triggers/tidbcloud/cloud-storage-engine/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/templates/kustomization.yaml
The file was addedtekton/v1/triggers/templates/pingcap/bump-placeholder-version-in-readme.yaml
The file was addedtekton/v1/triggers/templates/pingcap/tidb/update-gomod-fix-ladp-for-hotfix-branch.yaml
The file was addedtekton/v1/triggers/triggers/_/git-create-tag.yaml
The file was addedtekton/v1/triggers/triggers/_/github-pr-labeled-with-lgtm.yaml
The file was addedtekton/v1/triggers/triggers/pingcap/tidb/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/triggers/_/github-pr-labeled-with-needs-ok-to-test.yaml
The file was addedtekton/v1/triggers/templates/pingcap/sync-owners-for-hotfix-branch.yaml
The file was addedtekton/v1/triggers/templates/_/build-component.yaml
The file was addedtekton/v1/triggers/templates/_/ci-helper-for-pr.yaml
The file was addedtekton/v1/triggers/triggers/tikv/tikv/git-create-tag.yaml
The file was addedtekton/v1/triggers/templates/_/build-component-all-platforms.yaml
The file was addedtekton/v1/triggers/templates/_/build-component-single-platform.yaml
The file was addedtekton/v1/triggers/triggers/pingcap/ticdc/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/triggers/pingcap/tiflash/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/triggers/tikv/pd/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/templates/tikv/tikv/bump-tikv-cargo-pkg-version.yaml