Skip to content
Success

Changes

Summary

  1. feat(pipelines/tiflash): migrate fileserver.pingcap.net artifacts to OCI (commit: c981deb) (details)
Commit c981debbeabb1cfb2d8d540b5c8c123776485568 by noreply
feat(pipelines/tiflash): migrate fileserver.pingcap.net artifacts to OCI registry (#4268)

Removes all `fileserver.pingcap.net` references from `pingcap/tiflash`
Jenkins pipelines across all active branches, replacing with OCI-based
artifact access.

## Changes

- **Remove `FILE_SERVER_URL` env var** — was defined in 31 pipeline
files but never referenced via `$FILE_SERVER_URL`; removed entirely
along with the now-empty `environment {}` blocks
- **Add `OCI_ARTIFACT_HOST` env var** — added `OCI_ARTIFACT_HOST =
'us-docker.pkg.dev/pingcap-testing-account/hub'` to all 31 tiflash
pipeline files
- **Replace `license-eye` download** — 16 files used a hardcoded `wget`
from fileserver to fetch the binary; replaced with the standardized OCI
download script running in a dedicated `utils` container:

```groovy
// Before
wget -q -O license-eye http://fileserver.pingcap.net/download/cicd/ci-tools/license-eye_v0.4.0

// After (inside container('utils') { ... })
${WORKSPACE}/scripts/artifacts/download_pingcap_oci_artifact.sh --license-eye=v0.4.0
```

- **Pod YAML files** — added `utils` container
(`ghcr.io/pingcap-qe/cd/utils/release:v2025.10.12-7-gfdd779c`) to 14 pod
yaml files (`pod-pull_build.yaml` and `pod-merged_build.yaml` for all
affected branches), since the `tiflash-llvm-base` runner image does not
include `oras`; the license check stage now runs inside
`container('utils')`

> **Note:** The `scripts/artifacts` changes required to support
`--license-eye=VERSION` in the download script and the corresponding
upload script additions have been split into a separate PR targeting
`main`. This PR should be merged after that scripts PR lands.

## OCI Artifact Path

| Tool | OCI Reference |
|------|--------------|
| `license-eye` v0.4.0 (amd64) |
`us-docker.pkg.dev/pingcap-testing-account/hub/pingcap/third-party/license-eye:v0.4.0_linux_amd64`
|
| `license-eye` v0.4.0 (arm64) |
`us-docker.pkg.dev/pingcap-testing-account/hub/pingcap/third-party/license-eye:v0.4.0_linux_arm64`
|

Affects branches: `latest`, `release-6.1`, `release-6.5`, `release-7.1`,
`release-7.5`, `release-8.1`, `release-8.2`, `release-8.3`,
`release-8.4`, `release-8.5`, `release-9.0-beta`

<!-- START COPILOT ORIGINAL PROMPT -->



<details>

<summary>Original prompt</summary>

>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>fileserver: migrate artifacts for
pingcap/tiflash</issue_title>
> <issue_description>Replace fileserver.pingcap.net usage for
pingcap/tiflash with OCI artifacts in a standard registry.
>
> Acceptance criteria:
> - No fileserver.pingcap.net references in jobs/pipelines for
pingcap/tiflash
> - Artifacts pulled via OCI registry with documented paths
> </issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>


</details>



<!-- START COPILOT CODING AGENT SUFFIX -->

- Fixes PingCAP-QE/ci#4211

<!-- START COPILOT CODING AGENT TIPS -->
---

💡 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](https://gh.io/copilot-coding-agent-tips) in the docs.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wuhuizuo <2574558+wuhuizuo@users.noreply.github.com>
Co-authored-by: wuhuizuo <wuhuizuo@126.com>
(commit: c981deb)
The file was modifiedpipelines/pingcap/tiflash/release-9.0-beta/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.5/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/pod-pull_build.yaml (diff)
The file was modifiedscripts/artifacts/download_pingcap_oci_artifact.sh (diff)
The file was modifiedpipelines/pingcap/tiflash/release-7.5/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.3/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-9.0-beta/pod-merged_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.4/pull_integration_test.groovy (diff)
The file was modifiedscripts/artifacts/upload_pingcap_oci_artifact_from_github_release.sh (diff)
The file was modifiedpipelines/pingcap/tiflash/release-6.1/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.4/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.4/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.1/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-9.0-beta/merged_build.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-6.5/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.3/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.2/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-6.1/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.5/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-7.1/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-9.0-beta/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/merged_build.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/merged_build_next_gen.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-7.1/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-6.5/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.2/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.3/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.1/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.5/merged_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-7.5/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/pull_integration_next_gen.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-6.5/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-7.5/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-9.0-beta/merged_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/pod-merged_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-7.1/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.1/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.5/merged_build.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.5/pod-merged_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.2/pod-pull_build.yaml (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/merged_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/pull_unit_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-9.0-beta/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/latest/pull_unit_next_gen.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-6.1/pull_integration_test.groovy (diff)
The file was modifiedpipelines/pingcap/tiflash/release-8.5/pull_unit_test.groovy (diff)