Commit 293ba8c
committed
Switch TiDB tests back to Docker images with Buildx caching
Replace TiUP playground with Docker-based TiDB cluster using Buildx caching:
- Use tidb-test-cluster.sh script (Docker-based cluster)
- Add Docker Buildx caching for TiDB component images (tidb, pd, tikv)
- Create Dockerfile.tidb for pulling and caching TiDB images
- Remove TiUP-related steps from workflow
Benefits:
- Docker images cached across workflow runs via Buildx GHA cache
- More consistent with MySQL/Percona/MariaDB test approach
- Better layer-level caching efficiency
- Images persist across separate workflow runs
Each TiDB test now:
1. Caches tidb, pd, and tikv images for that version using Buildx
2. Uses tidb-test-cluster.sh to start Docker-based cluster
3. Runs tests against the cluster
4. Cleans up cluster after tests1 parent 06b2c8c commit 293ba8c
3 files changed
+12
-29
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 78 | + | |
| 79 | + | |
105 | 80 | | |
106 | 81 | | |
107 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
0 commit comments