Skip to content
Success

Changes

Summary

  1. refactor(pingcap/tidb): use oci download script in post-submit jobs (commit: 73231fb) (details)
Commit 73231fb4e8f412c276bae2fd99a9bcde5ea3b5ed by noreply
refactor(pingcap/tidb): use oci download script in post-submit jobs (#3655)

This pull request updates multiple CI pipeline scripts to streamline the
process of downloading and preparing binaries, replacing the older
artifact download script with a new OCI-based script. Additionally,
minor enhancements were made to the new script for better logging and
clarity.

### Pipeline updates to use the new OCI-based artifact download script:
* Replaced the `download_pingcap_artifact.sh` script with
`download_pingcap_oci_artifact.sh` across multiple pipeline scripts,
improving the binary download process. This includes changes to the
following files:
  - `merged_e2e_test.groovy`
  - `merged_integration_common_test.groovy`
  - `merged_integration_copr_test.groovy`
  - `merged_integration_jdbc_test.groovy`
  - `merged_integration_mysql_test.groovy`
  - `merged_integration_nodejs_test.groovy`
  - `merged_integration_python_orm_test.groovy`

* Introduced a `bin` directory context in each pipeline's `Prepare`
stage to better organize binary files during the download process.
[[1]](diffhunk://#diff-0acea16b0d32f2b9a8ed66e8a1bd75bb975d6457d5d4c958b1b7cd23b4d73bb6L55-R67)
[[2]](diffhunk://#diff-17c213e2b45a5e92c8997c08409a01fdbceaf40b80712b7b51db564b9ff533e8L68-L89)
[[3]](diffhunk://#diff-968b4ab90556db2a81de172cb4dc966a63137139794bdc10be81ed3238317b3eR72-R84)
[[4]](diffhunk://#diff-3ab4e2c6d3d7152407e91f4f116db51f4d9c6c696bd79d5f10af9588894830b8L67-R78)
[[5]](diffhunk://#diff-c8d2f5747cba9cf5f6db92b674f51cde530def7144b469d13efaca4bab35375dL68-R78)
[[6]](diffhunk://#diff-59b33aa494e6abfacd48e88f7ada1060eeb185ab027647c950255cd2f244551eL67-R81)
[[7]](diffhunk://#diff-06bad8ed948ff470e5b41a84f45d7da3d200cfc38d4144b51b3611404d0ca4feL65-R77)

### Enhancements to the OCI artifact download script
(`download_pingcap_oci_artifact.sh`):
* Added a log message to display the blob fetching URL for better
traceability during downloads.
* Improved the formatting of artifact information logs for clarity.
(commit: 73231fb)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_br_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_jdbc_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_lightning_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_integration_copr_test.yaml (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_mysql_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_integration_python_orm_test.yaml (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_e2e_test.yaml (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_copr_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_integration_jdbc_test.yaml (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_e2e_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_nodejs_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_integration_common_test.yaml (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_common_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_integration_nodejs_test.yaml (diff)
The file was modifiedscripts/artifacts/download_pingcap_oci_artifact.sh (diff)
The file was modifiedpipelines/pingcap/tidb/latest/pod-merged_integration_mysql_test.yaml (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_common_test.groovy (diff)
The file was modifiedpipelines/pingcap/tidb/latest/merged_integration_python_orm_test.groovy (diff)