Skip to content
Success

Changes

Summary

  1. refactor(tekton/v1/triggers): move linux builds from prod2 to gcp env (commit: 76a2c8d) (details)
Commit 76a2c8dd3d0d8f03d9cf265e5e959ccfc68ddd72 by noreply
refactor(tekton/v1/triggers): move linux builds from prod2 to gcp env (#4035)

This pull request updates the Tekton trigger configurations for the GCP
environment, primarily by adding new triggers for several PingCAP
components, migrating some triggers from the `env-prod2` environment to
`env-gcp`, and adjusting resource allocations and build parameters. The
main goal is to ensure that the correct triggers and resource settings
are in place for the GCP environment, and to standardize build
parameters across components.

**Key changes:**

### New triggers and resource additions in `env-gcp`:

- Added new triggers for `pingcap/ticdc`, `pingcap/tidb`,
`pingcap/tiflow-operator`, and `pingcap/tiproxy` in the `env-gcp`
environment, including both tag creation and branch push triggers where
applicable.
[[1]](diffhunk://#diff-ccee52c4038a435be4aea12ecae9675465e8ff137ad75993de143ec1d2fc88b4R23-R30)
[[2]](diffhunk://#diff-7b9890227e73f73e64beaca4c686471145260a9066f5dfcf0c4da908cb9f0610R1-R29)
[[3]](diffhunk://#diff-8bb48177b2457fe7acde29d8390fcb304306b640373a6f7a29436d99067911faR1-R29)
[[4]](diffhunk://#diff-c7cf3c2cb8da5fb052215208fff5b7689b60cbce4e7d1a8eb9fc59809f6da086R1-R29)

### Migration and removal of triggers from `env-prod2`:

- Removed `pingcap/tidb/git-push-branch-build.yaml`,
`pingcap/tiflow-operator/git-create-tag.yaml`, and
`pingcap/tiflow-operator/git-push.yaml` from the `env-prod2`
kustomization, reflecting their migration to `env-gcp`.

### Resource and parameter updates:

- Updated resource allocation and build parameters for `pingcap/tidb`,
`pingcap/tiflow-operator` triggers in `env-gcp`, including switching
from `ksy-classic-build-params` to `gcp-classic-build-params`, and
adjusting CPU, memory, and workspace size values.
[[1]](diffhunk://#diff-423fe0c453fdd847511690cf7a0786ecd5d84097390514273280b83bc6efc6d5L25-R32)
[[2]](diffhunk://#diff-5c355b279863a4634e2bcb671eba68d86ff7b0a2c543911becabdf5302dfa256L22-R27)
[[3]](diffhunk://#diff-c0d51bad79885ba07f19d1827e923ddc16f5f23e0b16ce7863bf0990ccb8622fL22-R27)

### Build template adjustments in `env-prod2`:

- Changed the build template for `pingcap/ticdc` and `pingcap/tiproxy`
triggers in `env-prod2` from `build-component-all-platforms` to
`build-component-darwin`.
[[1]](diffhunk://#diff-b4b57832295f0e95cd2f8ea5762a8a24a7cd5f54866930bcca440e4535c6ff37L29-R29)
[[2]](diffhunk://#diff-645994630f857de2a83345fa312da005101c0ab2627ce73674703bac00859c70L29-R29)
[[3]](diffhunk://#diff-8f4e72355b84e160042e4988c93e4f581f4019e2156b2ede39aea3fe1c422c1cL29-R29)
(commit: 76a2c8d)
The file was addedtekton/v1/triggers/triggers/env-gcp/pingcap/ticdc/git-create-tag.yaml
The file was addedtekton/v1/triggers/triggers/env-gcp/pingcap/tidb/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/triggers/env-gcp/pingcap/tiflow-operator/git-create-tag.yaml
The file was modifiedtekton/v1/triggers/triggers/env-prod2/_/harbor/cronjobs/fetch-sync-pre-ver-image-tags-to-hub.yaml (diff)
The file was removedtekton/v1/triggers/triggers/env-prod2/pingcap/tiflow-operator/git-push.yaml
The file was addedtekton/v1/triggers/triggers/env-gcp/pingcap/tiproxy/git-create-tag.yaml
The file was modifiedtekton/v1/triggers/triggers/env-prod2/pingcap/tiproxy/git-push.yaml (diff)
The file was modifiedtekton/v1/triggers/triggers/env-prod2/pingcap/ticdc/git-create-tag.yaml (diff)
The file was modifiedtekton/v1/triggers/triggers/env-prod2/pingcap/tiproxy/git-create-tag.yaml (diff)
The file was removedtekton/v1/triggers/triggers/env-prod2/pingcap/tidb/git-push-branch-build.yaml
The file was addedtekton/v1/triggers/triggers/env-gcp/pingcap/tiproxy/git-push.yaml
The file was addedtekton/v1/triggers/triggers/env-gcp/pingcap/tiflow-operator/git-push.yaml
The file was modifiedtekton/v1/triggers/triggers/env-prod2/kustomization.yaml (diff)
The file was removedtekton/v1/triggers/triggers/env-prod2/pingcap/tiflow-operator/git-create-tag.yaml
The file was modifiedtekton/v1/triggers/triggers/env-gcp/kustomization.yaml (diff)