|
61 | 61 | unzip \ |
62 | 62 | wget |
63 | 63 |
|
64 | | - - name: Prepare integration test third-party binaries (community) |
| 64 | + - name: Install OCI download tools |
65 | 65 | run: | |
66 | | - make prepare_test_binaries community=true ver=v8.5.5 os=linux arch=amd64 |
| 66 | + set -euo pipefail |
| 67 | + ORAS_VERSION="1.2.0" |
| 68 | + YQ_VERSION="4.44.3" |
| 69 | + curl -fsSL "https://github.com/oras-project/oras/releases/download/v${ORAS_VERSION}/oras_${ORAS_VERSION}_linux_amd64.tar.gz" -o /tmp/oras.tar.gz |
| 70 | + sudo tar -xzf /tmp/oras.tar.gz -C /usr/local/bin oras |
| 71 | + sudo chmod +x /usr/local/bin/oras |
| 72 | + curl -fsSL "https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_amd64" -o /usr/local/bin/yq |
| 73 | + sudo chmod +x /usr/local/bin/yq |
| 74 | +
|
| 75 | + - name: Prepare integration test third-party binaries (OCI) |
| 76 | + env: |
| 77 | + OCI_TAG_PD: v8.5.5 |
| 78 | + OCI_TAG_TIDB: v8.5.5 |
| 79 | + OCI_TAG_TIKV: v8.5.5 |
| 80 | + OCI_TAG_TIFLASH: v8.5.5 |
| 81 | + OCI_TAG_SYNC_DIFF_INSPECTOR: master |
| 82 | + OCI_TAG_MINIO: RELEASE.2025-07-23T15-54-02Z |
| 83 | + OCI_TAG_ETCD: v3.5.15 |
| 84 | + OCI_TAG_YCSB: v1.0.3 |
| 85 | + OCI_TAG_SCHEMA_REGISTRY: latest |
| 86 | + run: | |
| 87 | + set -euo pipefail |
| 88 | + script="${RUNNER_TEMP}/download_pingcap_oci_artifact.sh" |
| 89 | + curl -fsSL "https://raw.githubusercontent.com/PingCAP-QE/ci/main/scripts/artifacts/download_pingcap_oci_artifact.sh" -o "$script" |
| 90 | + chmod +x "$script" |
| 91 | + mkdir -p bin |
| 92 | + pushd bin |
| 93 | + "$script" \ |
| 94 | + --pd="${OCI_TAG_PD}" \ |
| 95 | + --pd-ctl="${OCI_TAG_PD}" \ |
| 96 | + --tikv="${OCI_TAG_TIKV}" \ |
| 97 | + --tidb="${OCI_TAG_TIDB}" \ |
| 98 | + --tiflash="${OCI_TAG_TIFLASH}" \ |
| 99 | + --sync-diff-inspector="${OCI_TAG_SYNC_DIFF_INSPECTOR}" \ |
| 100 | + --minio="${OCI_TAG_MINIO}" \ |
| 101 | + --etcdctl="${OCI_TAG_ETCD}" \ |
| 102 | + --ycsb="${OCI_TAG_YCSB}" \ |
| 103 | + --schema-registry="${OCI_TAG_SCHEMA_REGISTRY}" |
| 104 | + ls -d tiflash |
| 105 | + mv tiflash tiflash-dir |
| 106 | + mv tiflash-dir/* . |
| 107 | + rm -rf tiflash-dir |
| 108 | + popd |
67 | 109 | make check_third_party_binary |
68 | 110 |
|
69 | 111 | - name: Build TiCDC binaries for integration tests |
|
0 commit comments