Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion pipelines/pingcap/tiflow/latest/ghpr_verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,19 @@ pipeline {
}
}
}
sh label: "${TEST_CMD}", script: "make ${TEST_CMD}"
sh label: "${TEST_CMD}", script: """
set -euo pipefail
# TEMP: hard-code toolchain to avoid mixed go1.25.6/go1.25.8 compile errors in CI.
# TODO: remove after ghpr_verify golang image/env is fully upgraded to go1.25.8.
export GOTOOLCHAIN=go1.25.8
export GOCACHE=/tmp/go-build-${TEST_CMD}
go clean -cache

go version
go env GOTOOLCHAIN GOROOT GOCACHE

make ${TEST_CMD}
"""
}
}
post {
Expand Down
5 changes: 5 additions & 0 deletions prow-jobs/pingcap/ticdc/latest-presubmits-next-gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ presubmits:
command: [bash, -ce]
args:
- |
# TEMP: force Go patch toolchain to avoid mixed go1.25.5/go1.25.8 artifacts.
# TODO: remove after ticdc next-gen unit-test image/env is consistently on go1.25.8.
export GOTOOLCHAIN=go1.25.8
export GOCACHE=/tmp/go-build-pull-unit-test-next-gen
go clean -cache
make unit_test_in_verify_ci_next_gen
resources:
requests:
Expand Down
5 changes: 5 additions & 0 deletions prow-jobs/pingcap/ticdc/latest-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@ presubmits:
command: [bash, -ce]
args:
- |
# TEMP: force Go patch toolchain to avoid mixed go1.25.5/go1.25.8 artifacts.
# TODO: remove after ticdc unit-test image/env is consistently on go1.25.8.
export GOTOOLCHAIN=go1.25.8
export GOCACHE=/tmp/go-build-pull-unit-test
go clean -cache
make unit_test_in_verify_ci
resources:
requests:
Expand Down