fileserver: migrate pingcap/tidb artifact downloads to OCI registry#4274
fileserver: migrate pingcap/tidb artifact downloads to OCI registry#4274
Conversation
|
Hi @Copilot. Thanks for your PR. I'm waiting for a PingCAP-QE member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Co-authored-by: wuhuizuo <2574558+wuhuizuo@users.noreply.github.com>
…public uploader Co-authored-by: wuhuizuo <2574558+wuhuizuo@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
pipelines/pingcap/tidb/release-9.0-beta/pull_integration_tidb_tools_test.groovy
Outdated
Show resolved
Hide resolved
…98-4454-8fe4-149cf7c496d8
|
@copilot you pr has conflicts |
The conflicts have been resolved — a merge commit ( |
#4293) ## Summary - split out `pipelines/pingcap/tidb/release-8.5/**` changes from #4274 into a standalone PR - migrate `release-8.5` pipelines away from `fileserver.pingcap.net` to OCI artifact pulls - keep implementation pattern aligned with migrated `latest` jobs (`OCI_TAG_*` + `download_pingcap_oci_artifact.sh` via `utils` container) ## Scope - 30 files under `pipelines/pingcap/tidb/release-8.5/` ## Validation - Jenkinsfile validation succeeded for all changed Groovy files via `.ci/verify-jenkins-pipeline-file.sh` Ref #4274 Fixes #4292
Removes all
fileserver.pingcap.netreferences frompingcap/tidbpipelines and jobs, replacing binary artifact fetching with OCI pulls viahub-zot.pingcap.net/mirrors/hub.Core pattern change
Before:
environment { FILE_SERVER_URL = 'http://fileserver.pingcap.net' } // ... component.fetchAndExtractArtifact(FILE_SERVER_URL, 'tikv', REFS.base_ref, ...) component.fetchAndExtractArtifact(FILE_SERVER_URL, 'pd', REFS.base_ref, ...)After:
environment { OCI_ARTIFACT_HOST = 'hub-zot.pingcap.net/mirrors/hub' } // ... final OCI_TAG_PD = component.computeArtifactOciTagFromPR('pd', REFS.base_ref, ...) final OCI_TAG_TIKV = component.computeArtifactOciTagFromPR('tikv', REFS.base_ref, ...) // ... container("utils") { dir("bin") { retry(3) { sh label: 'download tidb components', script: """ ${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh \ --pd=${OCI_TAG_PD} --tikv=${OCI_TAG_TIKV} """ } } }Changes by category
fetchAndExtractArtifactfor tikv/pd with OCI download; addedOCI_TAG_*declarations; addedutilssidecar container to pod templates where missingpull_build,ghpr_build): removed fileserver artifact upload steps and CI-flag curl uploads — builds no longer push to fileserverperiodics_integration_test.groovy: rewrote to use OCI download, removed sha1-based fileserver trackingOCI_TAG_TIFLASH; replaced tiflash binary and vector-search test data downloads (now pulled fromann-benchmarks.com)oras pullfrom OCI registry instead ofwgetfrom fileserverpull_br_integration_test_next_gen/download_tools.sh: localstack binary now fetched from GitHub Releases; removed deprecatedtikv-importerdownload helperrelease-6.x/ghpr_unit_test.groovy: codecov binary now downloaded fromuploader.codecov.io; fileserver-basedjunitUrlclearedprow-jobs/pingcap/tidb/latest-periodics.yaml: updated stale commented-out codecov URLOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.