metadata: annotations: prow.k8s.io/context: pull-verify-tekton-yaml prow.k8s.io/job: pull-verify-tekton-yaml creationTimestamp: "2026-11-12T07:01:50Z" generation: 10 labels: component: jenkins created-by-prow: "true" env: cicd event-GUID: edc6df60-de66-11f1-8a9b-6bd6f04c564b owner: wei_zheng prow.k8s.io/build-id: "2120774053277995008" prow.k8s.io/context: pull-verify-tekton-yaml prow.k8s.io/id: 73324fff-f5c2-469e-b1eb-94b3c776a37d prow.k8s.io/is-optional: "false" prow.k8s.io/job: pull-verify-tekton-yaml prow.k8s.io/refs.author: wuhuizuo prow.k8s.io/refs.base_ref: main prow.k8s.io/refs.org: PingCAP-QE prow.k8s.io/refs.pull: "5551" prow.k8s.io/refs.repo: ci prow.k8s.io/type: presubmit team: qe name: 73324fff-f5c2-469e-b1eb-94b3c776a37d namespace: apps resourceVersion: "1794466930686511021" uid: 1a3841a0-f54c-4103-a7e2-ddceff777488 spec: agent: kubernetes cluster: default context: pull-verify-tekton-yaml decoration_config: gcs_configuration: bucket: gs://prow-tidb-logs path_strategy: explicit gcs_credentials_secret: gcs-credentials utility_images: clonerefs: gcr.io/k8s-prow/clonerefs:v20230601-43eb1068e4 entrypoint: gcr.io/k8s-prow/entrypoint:v20230601-43eb1068e4 initupload: gcr.io/k8s-prow/initupload:v20230601-43eb1068e4 sidecar: gcr.io/k8s-prow/sidecar:v20230601-43eb1068e4 job: pull-verify-tekton-yaml max_concurrency: 1 namespace: prow-test-pods pod_spec: containers: - args: - | apk add --no-cache kubectl yq-go git changed_files=$(git diff --name-only --diff-filter=d "${PULL_BASE_SHA:?}" -- 'tekton/v1/**/*.yaml' | LC_ALL=C sort) if [ -z "$changed_files" ]; then echo "No changed Tekton YAML files to verify." exit 0 fi failed=0 for f in $changed_files; do echo "Validating: $f" # Capture the output before formatting it: `kubectl ... | sed` # would report sed's status, and this image has no bash, so # `set -o pipefail` is not available either. rc=0 out=$(kubectl apply --dry-run=server -f "$f" 2>&1) || rc=$? printf '%s\n' "$out" | sed 's/^/ /' [ "$rc" -eq 0 ] || failed=1 done if [ "$failed" -eq 0 ]; then echo "All Tekton YAML files passed server dry-run validation." fi exit $failed command: - sh - -ce image: alpine:3.24 name: main resources: limits: cpu: 200m memory: 256Mi prowjob_defaults: tenant_id: GlobalDefaultID refs: base_link: https://github.com/PingCAP-QE/ci/commit/a39f5d18852f64c81e0b73e79ce38ffbc7c9381a base_ref: main base_sha: a39f5d18852f64c81e0b73e79ce38ffbc7c9381a org: PingCAP-QE pulls: - author: wuhuizuo author_link: https://github.com/wuhuizuo commit_link: https://github.com/PingCAP-QE/ci/pull/5551/commits/5bf3469f3b3ab136a685a25b4619a7cf73cbb4b4 head_ref: test/tekton-validator-canary link: https://github.com/PingCAP-QE/ci/pull/5551 number: 5551 sha: 5bf3469f3b3ab136a685a25b4619a7cf73cbb4b4 title: 'test(ci): canary for the Tekton validation presubmit' repo: ci repo_link: https://github.com/PingCAP-QE/ci report: true rerun_command: /test pull-verify-tekton-yaml type: presubmit status: build_id: "2120774053277995008" completionTime: "2026-11-12T07:02:08Z" description: Job failed. pendingTime: "2026-11-12T07:01:51Z" pod_name: 73324fff-f5c2-469e-b1eb-94b3c776a37d prev_report_states: gcsk8sreporter: failure gcsreporter: failure github-reporter: failure startTime: "2026-11-12T07:01:50Z" state: failure url: https://prow.tidb.net/view/gs/prow-tidb-logs/pr-logs/pull/PingCAP-QE_ci/5551/pull-verify-tekton-yaml/2120774053277995008