Commit
8c855149c6caba8208f3208ca0053492305ccbda
by noreply feat(tekton/v0): add Tekton triggers and templates for CI/CD workflows (#3768) This pull request introduces Tekton CI/CD resource definitions to the repository, expanding the documentation and adding several reusable Tekton TriggerTemplates for building components across multiple platforms. The changes improve support for modern CI/CD workflows and clarify the organization of pipeline resources. **Tekton CI/CD Integration:** * Added `/tekton` as a top-level directory for Tekton static resource definitions in the documentation, and documented naming conventions and resource organization for pipelines, tasks, and triggers. [[1]](diffhunk://#diff-322a2f3bc03329a02dadac1553ae905c9e2fecda474c8dce01701d2d9ccaf1a2R9) [[2]](diffhunk://#diff-322a2f3bc03329a02dadac1553ae905c9e2fecda474c8dce01701d2d9ccaf1a2R65-R74) **New TriggerTemplates for Component Builds:** * Added `build-component-all-platforms.yaml`, a TriggerTemplate to launch builds for a component across Linux (amd64/arm64) and Darwin (amd64/arm64) platforms, with parameterization for git source, build profile, registry, resources, and credentials. * Added `build-component-single-platform.yaml`, a TriggerTemplate to launch a build for a single specified platform, supporting Linux and Darwin, with flexible parameters and workspace configuration. * Added `build-component.yaml`, a TriggerTemplate for building a component on Linux (amd64/arm64), parameterized for git source, profile, registry, and resource requirements. **CI Helper Task Integration:** * Added `ci-helper-for-pr.yaml`, a TriggerTemplate for running a helper CI task on pull requests, passing PR metadata and GitHub credentials. **Documentation Updates:** * Added a README to clarify the purpose of the new public trigger template folder in Tekton resources. --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> (commit: 8c85514 ) The file was added tekton/v0/triggers/triggers/PingCAP-QE/artifacts/git-push.yaml The file was added tekton/v0/triggers/triggers/pingcap-inc/tici/git-push.yaml The file was added tekton/v0/triggers/templates/_/README.md The file was added tekton/v0/triggers/triggers/_/harbor/artifact-push-on-harbor.yaml The file was added tekton/v0/triggers/triggers/pingcap/_/git-create-branch.yaml The file was added tekton/v0/triggers/templates/_/push-oci-artifact-to-tiup.yaml The file was added tekton/v0/triggers/templates/kustomization.yaml The file was modified docs/designs/README.md (diff) The file was added tekton/v0/triggers/triggers/tikv/tikv/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/pingcap/_/git-push-branch-build-failpoint.yaml The file was added tekton/v0/triggers/triggers/tikv/_/git-push-branch-build-failpoint.yaml The file was added tekton/v0/triggers/triggers/pingcap/_/git-push-branch-build-enterprise.yaml The file was added tekton/v0/triggers/triggers/_/fake-github/fake-github-pr.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-ctl/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-operator/git-push.yaml The file was added tekton/v0/triggers/triggers/pingcap/advanced-statefulset/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/pingcap/tiflow-operator/git-push.yaml The file was added tekton/v0/triggers/triggers/tikv/_/git-push-branch-build-community.yaml The file was added tekton/v0/triggers/templates/tikv/tikv/bump-tikv-cargo-pkg-version.yaml The file was added tekton/v0/triggers/triggers/_/git-push-on-fips-branches.yaml The file was added tekton/v0/triggers/triggers/_/fake-github/fake-github-pr-single-platform.yaml The file was added tekton/v0/triggers/templates/_/build-component-single-platform.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-tools/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/README.md The file was added tekton/v0/triggers/triggers/kustomization.yaml The file was added tekton/v0/triggers/triggers/tidbcloud/cloud-storage-engine/git-push-branch-build.yaml The file was added tekton/v0/triggers/triggers/tikv/pd/git-push-branch-build.yaml The file was added tekton/v0/triggers/templates/pingcap/sync-owners-for-hotfix-branch.yaml The file was added tekton/v0/triggers/triggers/_/fake-github/fake-github-tag-create.yaml The file was added tekton/v0/triggers/templates/_/image-push.yaml The file was added tekton/v0/triggers/triggers/_/fake-github/fake-github-tag-create-single-platform.yaml The file was added tekton/v0/triggers/triggers/_/github-pr-labeled-with-needs-ok-to-test.yaml The file was added tekton/v0/triggers/triggers/pingcap/_/git-push-branch-build-community.yaml The file was modified .gitignore (diff) The file was added tekton/v0/triggers/triggers/tikv/tikv/git-create-branch.yaml The file was added tekton/v0/triggers/triggers/pingcap/_/git-create-branch-gomod-update.yaml The file was added tekton/v0/triggers/triggers/pingcap/tiflow-operator/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/tikv/_/git-push-branch-build-enterprise.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-binlog/git-push.yaml The file was added tekton/v0/triggers/triggers/pingcap/_/git-create-tag.yaml The file was added tekton/v0/triggers/templates/pingcap/tidb/update-gomod-fix-ladp-for-hotfix-branch.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-ctl/git-push.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-tools/git-push.yaml The file was added tekton/v0/triggers/templates/_/build-component-all-platforms.yaml The file was added tekton/v0/triggers/triggers/pingcap/ticdc/git-push-branch-build.yaml The file was added tekton/v0/triggers/triggers/_/github-pr-labeled-with-lgtm.yaml The file was added tekton/v0/triggers/templates/_/build-component.yaml The file was added tekton/v0/triggers/templates/_/ctl/build-component-single-platform.yaml The file was added tekton/v0/triggers/triggers/pingcap/tidb-operator/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/pingcap/tiflash/git-push-branch-build.yaml The file was added tekton/v0/triggers/templates/pingcap/bump-placeholder-version-in-readme.yaml The file was added tekton/v0/triggers/triggers/_/ctl/artifact-push-on-harbor.yaml The file was modified tekton/v1/triggers/triggers/_/github-pr-labeled-with-lgtm.yaml (diff) The file was added tekton/v0/triggers/triggers/pingcap/tidb/git-push-branch-build.yaml The file was added tekton/v0/triggers/triggers/_/fake-github/fake-github-branch-push.yaml The file was added tekton/v0/triggers/triggers/pingcap/advanced-statefulset/git-push.yaml The file was added tekton/v0/triggers/triggers/_/fake-github/fake-github-branch-push-single-platform.yaml The file was added tekton/v0/triggers/triggers/_/harbor/image-push-on-harbor.yaml The file was added tekton/v0/triggers/templates/_/ci-helper-for-pr.yaml The file was added tekton/v0/triggers/triggers/pingcap-inc/tici/git-create-tag.yaml The file was added tekton/v0/triggers/triggers/pingcap/tiproxy/git-push.yaml The file was added tekton/v0/triggers/triggers/pingcap/tiproxy/git-create-tag.yaml The file was added tekton/v0/triggers/templates/_/push-oci-artifact-to-fileserver.yaml